Flex Dataservices Deployment Problem
i´m using dataservices connect database via php. works fine far.
the problems begin when want deploy app, because had make changes model .fml file.
here excerpt:
<annotation name="serviceconfig">
<item name="php_relative_location">myapp/application/amf/navigation.php</item>
<item name="php_server_root">c:/xampp/htdocs</item>
<item name="default_entity_package">valueobjects</item>
<item name="php_services_folder">c:/xampp/htdocs/myapp/public/flash/services</item>
<item name="php_location">c:/xampp/htdocs/myapp/application/amf/navigation.php</item>
<item name="linked_file">navigation.php</item>
<item name="php_server_root_url">http://localhost/</item>
<item name="absolute_endpoint">http://localhost/myapp/public/amf</item>
<item name="php_class_name">amf_navigation</item>
</annotation>
as can see intergrated amf endpoint zend project, there´s no gateway.php, , furthermore
integrated php classes used "talk database". had do in order make whole thing run
with zend session , doctrine orm layer.
as have paths , values specific development environment next question is, can somehow
use .fml file release build run in production environment? of course edit .fml file
every time release build, pain... and can´t believe adobe didn´t
anticipate scenario , has kind of solution.
the problems begin when want deploy app, because had make changes model .fml file.
here excerpt:
<annotation name="serviceconfig">
<item name="php_relative_location">myapp/application/amf/navigation.php</item>
<item name="php_server_root">c:/xampp/htdocs</item>
<item name="default_entity_package">valueobjects</item>
<item name="php_services_folder">c:/xampp/htdocs/myapp/public/flash/services</item>
<item name="php_location">c:/xampp/htdocs/myapp/application/amf/navigation.php</item>
<item name="linked_file">navigation.php</item>
<item name="php_server_root_url">http://localhost/</item>
<item name="absolute_endpoint">http://localhost/myapp/public/amf</item>
<item name="php_class_name">amf_navigation</item>
</annotation>
as can see intergrated amf endpoint zend project, there´s no gateway.php, , furthermore
integrated php classes used "talk database". had do in order make whole thing run
with zend session , doctrine orm layer.
as have paths , values specific development environment next question is, can somehow
use .fml file release build run in production environment? of course edit .fml file
every time release build, pain... and can´t believe adobe didn´t
anticipate scenario , has kind of solution.
hi,
.fml file not required deployment. please refer thread,
-radhakrishna
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment