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 / Re: How to output amf as a viewcomponent? on: January 05, 2012, 11:18:37
AMF is an encoding protocol to get PHP objects serialized for AS3 and vice versa. Ideally, you should create your PHP model classes so they return plain PHP objects with the data you need. For AMF you can then use the model class to get the PHP data objects and return them via AMF so they're serialized, fo XML  you could do the same and take the PHP data and translate it to XML before returning the XML output. Does that make sense?
2  Announcements and General Discussion / Architecture / Re: Different cores or modules using a common data source on: December 07, 2009, 06:19:56
Are you doing something else beside trying an HTTP POST?

I have an application I'm developing that handles the POST in a similar set up.  That error you posted is the error that was added to some actions that are prevented if not directly from a mouse click, like going to full screen mode.  You can't just force someone into full screen anymore if it doesn't come from a mouse click event. 
3  Announcements and General Discussion / Architecture / Re: Change the depth of a view to keep ontop. on: December 07, 2009, 04:24:16
Another thing you can do would be to just add the nav again... so for example:

myNewView <-- Your "new" display object.
myNav <-- your nav which should always be on top
myContainer <-- This guy contains all your "views".

So when you add a new view:
myContainer.addChild( myNewView );

Right after that you can do:
myContainer.addChild( myNav );

Calling add child on your nav will move it to be on top of all the other children.
4  Announcements and General Discussion / Architecture / Re: Remoting with AMFPHP / ZENDAMF / WEBORB on: November 23, 2009, 12:26:25
Is that a challenge/request I'm hearing??  :o
5  Announcements and General Discussion / Architecture / Re: Remoting with AMFPHP / ZENDAMF / WEBORB on: November 23, 2009, 02:03:43
Some valid points, but not sure what you mean by 'Service Capture and Charles are nice, those debuggers require you write service implementation code'
Also there is a service browser for amfphp
http://5etdemi.com/amfphp2/browser/

What I meant by that is if you are developing a new backend, and you create some AMFPHP services.  You can debug those services with Charles or Service Capture and see the data going back and forth between the client and server.  However, to get to that point you have to write ActionScript 3 code to actually test the services from an AMF client.  With ZamfBrowser you can just point the browser to your gateway link and test the services with different values, without the need to write any test code.  Then you can generate your AS3 code with ZamfBrowser so you don't have to write all the code to communicate with all your services.  You can't do that with Charles or Service Capture.


6  Announcements and General Discussion / Architecture / Re: Remoting with AMFPHP / ZENDAMF / WEBORB on: November 21, 2009, 07:47:53
AMFPHP all the way. Finished a project recently using PureMVC and AMF
http://www.growersaunaturale.com/

Although Zend is officially supported by Adobe, I seem to recall AMFphp was written by the same developer ??and has some speed -performance advantages as well


As for debugging remoting projects, can't recommend the java based tool, Service Capture enough
http://www.kevinlangdon.com/serviceCapture/

AMFPHP is cool, but there are a few caveats everyone should now.

1.  Yes Wade Arnold manages both AMFPHP and ZendAMF.  However, AMFPHP has been in beta for over 2 years, and since Wade took over more than a year ago there have been 0 updates, while ZendAMF has received several.

2.  Yes ZendAMF is supported by Adobe, which is probably why it is getting updates while AMFPHP is not, ZendAMF is backed by Zend, it won't be going to the wayside.

3.  Debugging can now happen with my browser at http://www.zamfbrowser.org.  While things like Service Capture and Charles are nice, those debuggers require you write service implementation code, and they do not generate AS3 code for you.

4.  Upgrade to PHP 5.3 and see what happens to AMFPHP.  Unless you are either a.) willing to maintain AMFPHP beyond PHP 5.2 or b.) willing to not update your server from PHP 5.2, you are stuck with the current server setup and will not be able to upgrade unless you accept one of the two conditions.

So although AMFPHP might seem like the more attractive and comfortable option, ZendAMF does have its advantages.  Personally, I'd rather go with the solution that is actually getting updates and that is officially backed by both Zend and Adobe.  This is why I thought it was absolutely crucial that it have a Service browser, so I made one. 

In the end, its always the developer's choice what they go for, I'm just lettin' ya know why I chose the way I did.
7  Announcements and General Discussion / Public Demos, Tools and Applications / ZamfBrowser - ZendAMF Service Browser on: November 14, 2009, 01:19:21
Yesterday I posted an AIR application I made called ZamfBrowser.  ZamfBrowser is a ZendAMF service browser.  The AIR application was built using PureMVC Standard.  Source is available at http://svn.riaforge.org/zamfbrowser.  There is project docs at http://www.zamfbrowser.org.  Ill be adding code generation soon and a couple of other things I have in mind.
8  Announcements and General Discussion / Architecture / ZamfBrowser - ZendAMF Service Browser on: November 13, 2009, 08:41:44
For those still looking for a ZendAMF Service Browser, I just posted one of my newest projects named ZamfBrowser.  It is an AIR ZendAMF service browser, there's some documentation at http://www.zamfbrowser.org.  I put a walk through in the documentation page.  If you wanna leave me some questions you can post them here: http://www.almerblanklabs.com/2009/11/zamfbrowser-1-0-zendamf-service-browser/

Hope you like! :)
9  PureMVC Manifold / Standard Version / Re: 1.0 Released - PHP Standard reaches Production! on: November 13, 2008, 08:26:49
Its great to finally have this in production!  Hasan and I will be posting links to a working project we're about to launch in the next few days fully powered by PureMVC on the PHP and Flash ends.  Enjoy everyone!


-Omar
Pages: [1]