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

Show Posts

* | |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Re: Search accross multiple models MVC compliant on: May 27, 2008, 02:16:19
It won't be better to use a SearchProxy rather than a SearchCommand and to fill the Vo from the proxy with data from other Proxy (ContactProxy and AddressProxy) ?
2  Announcements and General Discussion / General Discussion / Search accross multiple models MVC compliant on: May 26, 2008, 11:00:33
Hello,

I'm new to Flex, AS3 and PureMVC but not to MVC architecture.

I try to use an autocomplete field to do a search accross multiple models (2 for the moment but could be much more soon) and I don't know how to build that respecting the pureMVC best practises.

What do you think about that :
  • fill a SearchVO from a command with data from my different models (let's say Contact and Address)
  • dispatch a notification so my search panel mediator update the dataprovider of the autocomplete with data from the proxy
  • dispatch a notification when user hit the enter button in the notification field and run a command which try to find what the user search
  • dispatch a notification depending on the result of the change (CONTACT_FOUND, ADDRESS_FOUND, NOTHING_FOUND) so Mediator can update accordingly

Regards
3  PureMVC Manifold / Demos and Utils / Re: Bookstore - A PureMVC AS3 / Flex / WebORB Demo 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
Pages: [1]