Zend AMF Service Browser for Flextrine

已查看 23 次
跳至第一个未读帖子

Tim

未读,
2010年12月2日 02:20:092010/12/2
收件人 flextrine
I recently tested the zamf service browser, and found it works
perfectly with Flextrine.
so i'd like to share here as it works mostly like the Flash Builder
service explorer.
:)

goto http://zamfbrowser.riaforge.org/ and download the AIR file.
then download demo 1.1 file (neither the download file nor the svn
source includes it)
u could find it in the introduction (or just this link
http://www.zamfbrowser.org/files/zamf_demo_1.1.zip)

then
i put this ZendAmfServiceBrowse.php to library folder under /lib/
Flextrine/Tools
and comment out this line
// $annotation = $this->_parseDocComment($functionReflection-
>getDocComment());

the last step is
put add those lines at the end of bootstrap.php (after Config::init())

// Set up for Service Browser
require_once 'Flextrine/Tools/ZendAmfServiceBrowser.php';

Config::$server->setClass("ZendAmfServiceBrowser");

ZendAmfServiceBrowser::setAmfServer( Config::$server );


then you could use the AIR file downloaded and connect through the
gateway.

Additional:
About the uncomment line, because i am still confused with PHP5.3's
namespace, get confused. i tried to add Zend/Reflection/ framework
folder into flextrine library Zend folder, but it didn't work. Any
clue?
Anyway it doesn't bother a lot for now, as that line just avoid to
take the private methods from server.

it's really hardy for me as the Service Explorer in Flash Builder
doesn't work with Flextrine well. hope it works too for you
回复全部
回复作者
转发
0 个新帖子