flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fr├ęderic Cox <coxfrede...@gmail.com>
Subject AMFPHP support for FlexJS
Date Thu, 27 Oct 2016 08:56:59 GMT
Hi,

I have been following this list for quite a while now.
Thanks to Carlos his MDL efforts and post on Twitter I am considering to
start working with FlexJS in the coming days.

I am reading the FAQ's and hope to get everything set-up soon but there is
one big feature I used a lot in all my projects and that is AMFPHP via the
RemoteObject class.

Is AMFPHP technically possible with FlexJS? Our entire backend supports
AMFPHP so I would prefer not to change all of that to JSON.

AS3 code is like this:

var dataService:RemoteObject = new RemoteObject;

dataService.destination = "Crm";

dataService.source = "Crm";

dataService.endpoint = EnalityData.rootURL + "amfphp/gateway.php";

dataService.addEventListener(ResultEvent.RESULT,
companiesDataResultHandler, false, 0, true);

dataService.addEventListener(FaultEvent.FAULT, companiesDataFaultHandler,
false, 0, true);

dataService.getOperation("getCompaniesInfo").arguments=[EnalityData.userLogin,
EnalityData.userPassword, EnalityData.userId];

dataService.getOperation("getCompaniesInfo").send();


AMFPHP is superfast and easy to use. It would allow me to convert some, if
not all, of my applications to FlexJS. I'm a DIY programmer with 10+ year
of experience but never studied actual advanced programming studies (more
Communication & Multimedia). Been working with AS3 for over 10 years now.
Some concepts here are still over my head but I'm willing to learn it.

So basically my questions regarding AMFPHP for FlexJS are:

1) Is AMFPHP currently supported for FlexJS

2) If not supported, is it technically possible?

3) If not supported but technically possible, is anyone already working on
it?

4) If nobody is working on it, who has the experience/tips on how to get
this working for FlexJS?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message