flexphp
『壹』 flex和php哪個更容易學點
如果你 你有 flash 的基礎... 學習flex容易上手
如果有 C 基礎 學習PHP 容易..
單純 找工作 PHP 目前可能容易點.. 但是 FLEX 有更大的發展空間!
『貳』 Flex+PHP+WAMPSERVER問題
查查資料呢,AFMPHP,WEBORB都可以的。
『叄』 想用flex做網站界面,用php做後端。怎麼樣可以幫這兩個結合
需要用到AMF。經常使用的有AMFPHP 或者ZENDAMF
需要在FLEX項目中根目錄建立一個叫services-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service id="amfphp-flashremoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
<destination id="amfphp">
<channels>
<channel ref="my-amfphp"/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
<endpoint uri="這里填寫你的AMF網關URL地址" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>
配置AMF的相關信息,並在FLEX COMPILER中加入 -services services-config.xml
在FLEX中
<mx:RemoteObject id="xxx" fault="faultHandler(event)" showBusyCursor="true" source="xxx" destination="amfphp">
<mx:method name="xxx" result="xxx(event)"/>
</mx:RemoteObject>
『肆』 c# j2ee Flex php css html這些語言可以一起調用嗎
可以! 不過很麻煩!
linux下 推薦php
win 下 推薦是c#
簡單的話 推薦就是c# 吧!
『伍』 新安裝了FLEX,我想連接MYSQL資料庫,用PHP連接怎麼實現沒寫過PHP,步驟越詳細越好,最好有截圖,謝謝
FLEX連接PHP一般三種方式吧。好久不用FLEX了,flex讓人心碎啊 ,ADOBE放棄它了,再過三到五年沒有一點前途了
『陸』 我想學習flex和php 大家推薦幾本好的入門書
邱彥林寫的《Flex 第一步》、人民郵電出版社翻譯的《Adobe Flex高級編程》和孫穎寫的《Flash ActionScript 3 殿堂之路》(主要在ActionScript方面的教程).這基本都是針對flex3.0來說的。我建議你還是學Flex3.0。因為這個版本的框架比較穩定成熟,網上的資料也比較多。如果專心讀完前兩本,基本上就算入門了。希望可以幫助你學習Flex,呵呵。
『柒』 PHP里如何解析flex中的arraycollection數據類型
Actually, you can create an ArrayCollection type on the PHP side and send native ArrayCollection objects directly over AMF.
Here is some php code I have that works. Save this in a file called
ArrayCollection.php
<?php
class ArrayCollection {
public function getASClassName()
{
return 'flex.messaging.io.ArrayCollection';
}
var $source = array();
function ArrayCollection()
{
$this->source = array();
}
}
To use this on the php side include the ArrayCollection.php in your php project and the syntax to call it looks something like this:
$myArrayCollection = new ArrayCollection();
and if you want to access the array that composes the ArrayCollection you can do this
$someArray = $myArrayCollection->source;
On the Flex side you can pass Array Collections directly to the server over Zend AMF. In one of my projects I have many value objects that have ArrayCollections in them and they work just fine on the PHP side. So it can be done.
If you absolutely can't get the ArrayCollection working in PHP you can just access the array as the "source" property of the ArrayCollection in Actionscript. The code looks something like this in actionscript:
import mx.collections.ArrayCollection;
public var myAC:ArrayCollection = new ArrayCollection();
public var myArray:Array = new Array();
// populate your ArrayCollection with data...
myArray = myAC.source;
myArray will now be an Array of the objects in the ArrayCollection myAC.
Hope this helps. If you have further questions and/or have a code sample let me know.
It took me a bit to figure this one out too.
『捌』 flex是一種什麼語言 主要是干什麼的
Flex 是一個高效、免費的開源框架,可用於構建具有表現力的 Web應用程序,這些應用程序利用Adobe Flash Player和Adobe AIR, 運行時跨瀏覽器、桌面和操作系統實現一致的部署。雖然只能使用 Flex 框架構建 Flex應用程序,但Adobe Flash Builder™(之前稱為 Adobe Flex Builder™)軟體可以通過智能編碼、互動式遍歷調試以及可視設計用戶界面布局等功能加快開發。
Apache Flex
使用 Flex 創建的 RIA 可運行於使用 Adobe Flash Player 軟體的瀏覽器中,或在瀏覽器外運行於跨操作系統運行時 Adobe AIR上,它們可以跨所有主要瀏覽器、在桌面上實現一致的運行。連接到 Internet 的計算機中超過 98% 裝有 Flash Player,這是一個企業級客戶端運行時,它的高級矢量圖形能處理要求最高、數據密集型應用程序,到桌面應用程序的執行速度。通過利用 AIR,Flex應用程序可以訪問本地數據和系統資源。
MacromediaFlash是強大的矢量動畫編輯工具,在做動畫起家之後,Flash一直在謀求RIA(rich internet application)富客戶端的霸主地位,最有影響的是,已經推出了面向對象的編程腳本ActionScript3.0,並且建立起類似於java swing的類庫和相應component(組件)。Flex是通過java或者.net等非Flash途徑,解釋.mxml文件組織components,並生成相應的.swf文件。Flex的component和flash的component很相似,但是有所改進增強。目前Macromedia公司已經被ADOBE公司收購。當前(2011年11月)的flex版本為4.6。Adobe2013年01月15日將Flex捐給Apache並發布了Apache Flex4.8。
運用Flash是完全可以做到flex的效果的,為什麼還需要flex呢?這裡面有兩個原因:
1:為了迎合更多的developers(開發者)。Flash天生是為了designer(設計者)設計的,界面還有flash的動畫概念和程序開發人員格格不入,為了吸引更多的jsp/asp/php等程序員,Macromedia推出了Flex,用非常簡單的.mxml來描述界面給jsp/asp/php程序人員使用.(x/d)html非常相似,而且mxml更加規范化、標准化。
2:為了一個標准。大家一定聽說過微軟操作系統vista(後續的win7也是同一核心),在vista推出的同時微軟也推出了新的語言xaml,一種界面描述語言,與之相應的就是smart client和flex非常相似的東西(即SilverLight)。Mxml和Xaml的也很相似… …這是人機交互技術的進步的重要體現,即內部邏輯與外部界面交互相分離。
Flex和j2ee/.net其實沒什麼關系,Macromedia用java做出來個應用把flash的技術融合到J2EE裡面,再用.net的技術做出來個.net應用把flash技術融合到.net裡面去;應該說flex解決了J2EE裡面和.net裡面最繁瑣的問題那就是web 客戶端的問題。