ZEND+FLEX认证+收藏
http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/ ZEND+FLEX收藏
http://www.keithcraigo.com/archives/66ZEND+FLEX认证
http://www.keithcraigo.com/archives/181ZEND+FLEX认证
http://ressources.mediabox.fr/tutoriaux:flashplatform:dynamique:remoting:zendlogin:zendlogin1ZEND+FLEX认证
Flex and PHP: remoting with Zend AMF
The latest PHP library to add support for AMF and remoting is Zend Framework. The preview prelease version 1.7
offers a new component Zend_AMF that lets you create Flex applications
that talk to PHP backends using remoting. Since I am a big fan of
remoting as a way to get data to your Flex/AIR clients, I wanted to add
a short post explaining how to use it. Here
is another post I wrote on remoting with AMFPHP. Actually this post is a part of a larger article
I did for Adobe Developer Connection. I want to keep it more focused, so I wrote this one.
You can download a Flex Builder project that contains the code I explain in this article from here
. Inside of the archive you will find a readme.txt file explaining what to do with it.
Installing the Zend Framework
After downloading
the Zend Framework 1.7 archive, extract the files. Next, you have to
add the library folder to your PHP include path. Open the php.ini file
and add the path to the library folder to the include_path; on my
machine looks like:
include_path = “c:htdocszend_frameworklibrary”
Next, save the file and restart your web server. You can read more about installing Zend Framework here
. With this, you’ve completed the “installation” of Zend Framework.
What is AMF and remoting and why should you use it?
If you already know these answers, you may want to skip to the next
section. Let’s start by understanding remote procedure calls. Remote
procedure calls let Flex applications make direct calls on the methods
of your server side classes. Using BlazeDS or LiveCycle Data Services
you can expose your Java
相关文档:
首先在fademo.mxml中声明一个button,并添加一个btnClick方法:
view plaincopy to clipboardprint?
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
......
试用了一下Flex,创建HelloWorld应用的顺序如下:
1 创建文件: HelloWorld-app.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.5">
<id>com.kdevn.flex.HelloWorld</id>
<version&g ......
1.复制内容到系统剪贴板
System.setClipboard(strContent);
2.复制一个ArrayCollection
//dummy solution( well, it works )
var bar:ArrayCollection = new ArrayCollection();
for each ( var i:Object in ac ){
bar.a ......
因为flex builder 工具是基于eclipse 上的,所以一些开发plug in 在flex builder 也是可以用的.
php:
Help-->Software Updates-->Find and Install-->Search for new feature to install-->new Reomote site
URL: http://update.phpeclipse.net/update/st ......