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  PureMVC Manifold / Standard Version / NAME property of Proxies on: November 02, 2009, 12:15:53
I've used PureMVC AS3 Multicore for sometime now and am playing around with C# port.

The Proxy pattern has a public static NAME property with a default value of "Proxy", however after creating an instance of the proxy class (or a subclass) this NAME property is left as its default value.

This means in a command when I want to retrieve a proxy, I must manage my proxy names, where as, if I'm not mistaken, in AS3, the NAME static variable is reassigned in the constructor to reflect a particular proxy instance's given name. In this way I can retrieve a proxy by Facade.RetrieveProxy( MyProxy.Name ).

Is it by design that the static NAME variable is not reassigned in the constructor?
2  Announcements and General Discussion / General Discussion / Benefits and Disadvantages of Un-typed Notification Bodies on: October 12, 2008, 08:54:52
I've been working on a PureMVC/AS3 port multi-core Flex application for about a year and the project has been winding down, so at a recent interview, I touted PureMVC as a great MVC framework.

The company I will possibly be hired to consult is still teetering between PureMVC and Cairngorm. I found myself having to defend and explain several of the architectural elements withing PureMVC. I wasn't completely satisfied with some of my answers...

Can someone explain what are the benefits of un-typed notification bodies and how to combat dis-advantages?

How do others deal with runtime related errors, for example, if a developer passes the wrong object in the body of a notification.

3  PureMVC Manifold / Standard Version / Question. Ideas. on: June 16, 2008, 12:24:53
Question:
How is the php port related or reliant upon the Zend framework?

Idea:
I have a use case where I am going to add/extend an open source content management system. I would consider using PureMVC as described below and would be interested to know thoughts/impressions from the readers out there.

Proxies
Some proxies connect to the CMS's database tables, others connect with another database altogether. Still other proxies might connect to remote web services.

Commands
Gets references to proxies, sends notifications.
Also might create/update delete mediators. Change the display/page.

I specifically need to intercept/override the CMS's entire user authentication. A command might get form data from a mediator's notification.

Mediators
Listen for AJAX requests. Calculate template logic.

Views
HTML/PHP Templates. Some views are invoked directly, while others are called via the CMS's custom theme that will interface the existing view of the CMS with those of the PureMVC-PHP extensions.






Pages: [1]