Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
April 29, 2017, 02:25:26 PM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.
Pages: [1]
Print
Author Topic: PureMVC use in Ajax/AMF Gateway  (Read 4951 times)
Justin
Full Member
***
Posts: 24


View Profile Email
« on: April 18, 2009, 08:47:29 AM »

Hi-
Just wanted to start by saying that I am a huge PureMVC fan.  I have used the AS3 port in large Flex projects for some high profile clients and it has convincingly reduced dev time by weeks on those projects. Also, I can't think of any other community that matches the density of talented devs than right here.

That said, I am working on a project that uses the PHP port in hopes of gaining the same velocity and traction that I saw by using it in Flex.  There are potentially 3 facets: HTML, Ajax and AMF.

My thought is that I can have a single gateway for each service that shares the same business logic and CRUD routines with data formatting in the proxy based on the type of call. For AMF and Ajax, the application could enter a 'command' mode that does not technically have/need a view.  Commands and proxies would remain the same but the mediators may change to steward the request directly without the involvement of a view.  To display HTML, it would closely follow the example given in the download.

Does this seem right?  Has anyone done this before or can offer some new direction? Could the request itself serve as an abstract view of sorts? Removing the 'V' from MVC seems touchy.

Justin
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2865



View Profile WWW
« Reply #1 on: April 19, 2009, 06:21:17 AM »

The 'V' in a server-side MVC implementation generally deals with templating the output and returning it to the caller. Otherwise everything else is pretty much the same.

-=Cliff>
Logged
Pages: [1]
Print
Jump to: