2009年5月11日星期一

[fw-mvc] Zend_Amf in Zend MVC stack

Hello all

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('Contact'); // the class containing methods
$server->setClassMap('ContactVO', 'Contacts');
$response = $server->handle();
echo $response;

However, the request object is nowhere mentioned. Can anybody tell what I am
missing?

Thanks and Regards
ShiVik
--
View this message in context: http://www.nabble.com/Zend_Amf-in-Zend-MVC-stack-tp23496325p23496325.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: