I am trying to build a web application using the following technologies..
1. Zend framework as the main framework
2. Adobe flex for view layer
3. Doctrine PHP ORM for developing database wrapper objects - model layer
I am having trouble in figuring out how to integrate Zend and Flex using
Zend_Amf. Here is what I have achieved:
1. I have developed a login form in adobe flex. The POST or GET request
generated can be sent to some URL like
http://www.domain.com/controller/action.
2. I have created the designated controller and instantiated the models
objects necessary.
Now I have to access the request being sent from flex. How should I do this?
In the examples that I have Zend_Amf is being used like this....
$server = new Zend_Amf_Server();
$server->setClass('User'); // the class containing methods
$server->setClassMap('Users', 'UsersFO'); // php class being mapped to
flex class
$response = $server->handle();
echo $response;
However, the request object is nowhere mentioned. Can anybody tell what I am
missing?
Thanks and Regards
Ships
--
View this message in context: http://www.nabble.com/Finding-the-place-for-Zend_Amf-in-MVC-tp23513958p23513958.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论