当前位置:首页 » 编程语言 » flexphp

flexphp

发布时间: 2022-07-11 16:28:15

‘壹’ 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 客户端的问题。

热点内容
魔兽世界如何快速增加服务器 发布:2024-05-19 23:53:37 浏览:693
安卓手机如何转入苹果手机内 发布:2024-05-19 23:50:35 浏览:404
安卓哪个能安装血染小镇 发布:2024-05-19 23:45:57 浏览:900
tensorflowmac编译 发布:2024-05-19 23:28:59 浏览:701
sqlmaxvarchar 发布:2024-05-19 23:24:02 浏览:702
linux配置网卡命令 发布:2024-05-19 23:22:57 浏览:504
python查看进程 发布:2024-05-19 22:59:37 浏览:158
androidhtml颜色 发布:2024-05-19 22:58:34 浏览:847
米3系统存储和内存设备 发布:2024-05-19 22:50:50 浏览:214
途乐有哪些越野配置 发布:2024-05-19 22:49:53 浏览:673