PureMVC Architects Lounge

PureMVC Manifold => Demos and Utils => Topic started by: puremvc on January 01, 2008, 01:54:09



Title: Bookstore - A PureMVC AS3 / Flex / WebORB Demo
Post by: puremvc 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.


Title: Re: Bookstore - A PureMVC AS3 / Flex / WebORB Demo
Post by: kilgore 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


Title: Re: Bookstore - A PureMVC AS3 / Flex / WebORB Demo
Post by: Peter on July 07, 2008, 07:20:38
Is there a sql script available to generate the database?


Title: Re: Bookstore - A PureMVC AS3 / Flex / WebORB Demo
Post by: erixtekila 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