Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Bookstore - A PureMVC AS3 / Flex / WebORB Demo  (Read 14451 times)
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« on: January 01, 2008, 01:54:09 »

This demo illustrates the use of WebORB with PureMVC to perform CRUD operations using a RemoteObject.

The demo has historically been located here: http://trac.puremvc.org/Demo_AS3_Flex_WebORB_Bookstore
The project has been moved here: https://github.com/PureMVC/puremvc-as3-demo-flex-weborb-bookstore/wiki

The author is David Deraedt.
« Last Edit: September 22, 2012, 05:38:19 by puremvc » Logged
kilgore
Newbie
*
Posts: 3


View Profile WWW Email
« Reply #1 on: May 20, 2008, 12:01:56 »

Hello,

The current release (1.2) seems to have many "small" problems which made it really unusable "as is".

I've tested on a Windows XP, Firefox, VertrigoServ (2.20) for the AMP server, and Flex builder 3 (with PureMVC 2.0.1).

Here are the bugs I've discovered (and how to fix them) :
  • the LibraryService.php must be rewritten to use object notation rather than array notation ($book->id rather than $book["id"])
  • the formHeading in the BookForm.mxml file make it crash when you free the currentBook object (on delete). You must manually reset the currentBook.title to empty string (''). It seems to be the same behaviour as the one described here : http://bugs.adobe.com/jira/browse/SDK-14600

Hope it helps fixing bugs in this good sample.

Regards,

kilgore
Logged
Peter
Full Member
***
Posts: 26


View Profile Email
« Reply #2 on: July 07, 2008, 07:20:38 »

Is there a sql script available to generate the database?
Logged
erixtekila
Newbie
*
Posts: 1


View Profile Email
« Reply #3 on: July 23, 2008, 09:59:08 »

Hi David,

One php file miss in the Services classes : Author.php
Shouldn't be to hard to create though…

HTH
Logged
Pages: [1]
Print