Connectez Flex et eZ Publish

Vous connaissez Flex ? RIA (Rich Internet Application) de son état, il permet de faire des miracles avec les interfaces utilisateur et est basé sur Flash . Il s'agit en fait d'un framework Open Source simplifiant grandement le développement d'applications web riches basées sur Flash.

Mais comment effectuer des transferts de données avec eZ Publish ? Avec sa plateforme Flash, Adobe propose plusieurs solutions pour les échanges de données :

  1. XML REST
  2. SOAP
  3. AMF (connu aussi sous le nom de Remoting)

Chaque interface a ses avantages, mais nous allons nous intéresser ici à une interface de connexion très efficace et open source : AMF. Quels sont ses avantages ?

D'abord, il s'agit d'un protocole binaire et directement implémenté dans Flash Player, ce qui évite au lecteur d'avoir à dé-sérialiser les messages reçus. Ensuite, les messages d'échange sont réduits à leur plus simple expression. Pas de lourde et obscure WSDL ni de verbosité parfois excessive de XML, en particulier lors d'échanges SOAP. En résumé, les échanges effectués sont très rapides et les messages sont directement compris par le lecteur Flash.

Mais il existe un autre énorme avantage, que ceux qui utilisent SOAP doivent connaître déjà un peu : Le transfert natif d'objets et des types primitifs entre le serveur et le client ! Ainsi, un Array PHP deviendra un Array ActionScript, un booléen restera un booléen et un objet Date conservera sa forme en ActionScript. Mais en plus, si vous le souhaitez, vous pouvez également transmettre vos objets personnalisés, aussi appelés Value Objects ! Evidemment ce transfert peut s'effectuer dans les deux sens (du client au serveur et du serveur au client).

Implémentation du protocole AMF dans eZ Publish avec jvAMF

Mais comment implémenter ce protocole dans eZ Publish ? Pour répondre à cette problématique, je me suis attelé au développement d'une extension, jvAMF .

Plusieurs projets permettent d'utiliser ce protocole de communication avec PHP :

Adobe recommandant l'utilisation de Zend_AMF, j'ai donc décidé de baser mon extension dessus.

Une fois installée, cette extension vous apporte un point d'accès (endpoint) pour votre application Flash/Flex. Vous n'avez ensuite plus qu'à développer vos services directement en PHP pour aller chercher vos données dans eZ Publish pour les retourner à votre client.

Pour plus d'informations, je vous invite à lire la doc de jvAMF (en anglais), tout y est décrit en détails :).


Commentaires

kindle customer care (par kindle customer care)

We provide the best service for Amazon <a href="https://kindlecustomerservice.org/">kindle customer care</a>
, Paperwhite, Oasis & Voyage. Call us to get most suitable help & support for your Kindle.


likes (par check this out)

The tool is safe and you will get your followers at 24 hours.


xender for ios (par xender for ios )

Xender is an application that connects two or more smartphones to share photos, applications, and other media. <a href="http://lidliners.com/xender-apk-download/">xender for ipad&nbsp;</a>


Reviews of essay writing service (par http://essayreviewratings.com/)

All the best blogs that is very useful for keeping me share the ideas of the future as well this is really what I was looking for, and I am
very happy to come here. Thank you very much.


videoder download (par videoder download)

Videoder is an android app that lets you download music and videos from youtube, facebook, instagram, vimeo, dailymotion etc for free.


Stromvergleich (par Stromvergleich)


I truly appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing.


Whatsapp (par Whatsapp For iOS)

We’ve developed a method where users can hack WhatsApp accounts online from their PC or mobile device. With the WhatsApp hack tool, you can spy on any account history if you have their phone number!


connect flex and ez publish (par assignment help)

I think Web development is winding up plainly more mind boggling with every year (various platforms and devices, more proficient devices). As this happens, the product layers are winding up plainly more characterized and more mind boggling. Reconciliation and autonomy among those layers is happening to prime significance in case you're looking long term.


ads posting sites (par amjad butt)

Very useful information and thanks for it


Shareware (par Shareware Programs)

To use the media creation tool, visit the Microsoft Software Download Windows 10 page from a Windows 7, Windows 8.1 or Windows 10 device.


your site is good (par umer)

your site is good


SSLC Result 2017 Kerala (par Yatendra)

Very nice article. I appreciate it. keep itv up.


Best Review (par banquet hall rental memphis tn)

I think Web advancement is twisting up clearly more personality boggling with consistently (different stages and gadgets, more capable gadgets). As this happens, the item layers are twisting up evidently more portrayed and more personality boggling. Compromise and self-governance among those layers is occurring to prime essentials on the off chance that you're looking long haul.


rolex replica uk (par rolex replica uk)

good


cheap oakley sunglasses (par cheap oakley sunglasses)

GOOD


Best lung doctor in South Delhi (par Ankit Rajput)

About Dr. Prashant Saxena Dr. Prashant Saxena is Head – Pulmonology Sleep Medicine and Senior Consultant

Critical Care at Saket City Hospital. He underwent Fellowship training in Westmead Liverpool Hospitals,

Sydney, Australia. Read here- <a href="http://drprashantsaxena.in/"> Best lung doctor in South Delhi </a>


thanks (par تور تایلند)

Awesome article, Great, & Informative..Wonderful article you wrote.
اگر میخواهید به کشورهای تایلند، دبی، ارمنستان یا روسیه سفر کنید و اگر میخواهید <strong><a href="http://www.abineseir.com/تور-ارمنستان" title="تور ارمنستان">تور ارمنستان</a></strong> یا <strong><a href="http://www.abineseir.com/تور-دبی" title="تور دبی">تور دبی</a></strong> یا <strong><a href="http://www.abineseir.com/تور-تایلند" title="تور تایلند">تور تایلند</a></strong> بخرید یا بدانید، حتما قبل از سفر جستجو کنید و مطلع اقدام به سفر کنید.
Thank you for your efforts, Excellent site..
اگر قصد خرید و سفر به کشور های دبی، بلغارستان، تایلند، ترکیه، روسیه، گرجستان، مالزی و هند را دارید و یا می خواهید به اروپا سفر کنید حتما از <strong><a href="http://www.nedaye-arzhang.com/تور-دبی" title="تور دبی">تور دبی</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-بلغارستان" title="تور بلغارستان">تور بلغارستان</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-تایلند" title="تور تایلند">تور تایلند</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-ترکیه" title="تور ترکیه">تور ترکیه</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-روسیه" title="تور روسیه">تور روسیه</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-گرجستان" title="تور گرجستان">تور گرجستان</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-مالزی" title="تور مالزی">تور مالزی</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-هند" title="تور هند">تور هند</a></strong> و <strong><a href="http://www.nedaye-arzhang.com/تور-بالی" title="تور بالی">تور بالی</a></strong> دیدن کنید تا بهترین مسیر را برای سفر انتخاب کنید.


cardiac care centre in Sikar (par 7530901132)

Plexus vision is to Establish Excellence of Cardiac & Neuro Intervention care in India Access at every tier with Affordable cost Talent house for high quality trained clinical team capable of generating best clinical outcomes by using highest end technology. Read here- <a href="http://www.plexushealth.co.in/">cardiac care centre in Sikar </a>


Thanks (par williamkittrell)

Thanks for your article. It's one of the most heart touching one, Anyway it gives us utmost pleasure and happiness. Thanks a lot. http://www.classessays.com/


Great effort (par JamesWilliamson)

Hearty welcome. It's awesome. Graceful. Thanks a lot. http://www.essaysmine.com/


Awesome blog (par AppJetty)

Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! https://www.appjetty.com/magento2-extensions.htm


magento product designer tool (par AppJetty)

Recently came across your blog through Google and found it to be informative and interesting article, Really it's a fantastic blog. Good job keep it up.....


html5 online product designer (par Appjetty)

Great article! Ecommerce has become very crucial for every business either dealing about product or service.


Brother printer support number UK (par marcosssilve274@gmail.com)

Nice Post! Thanks for sharing with this Blog..They are the true professionals that provide quality customer service. As a Brother printer user, you can always get high quality technical service & support from the toll free 0808-178-2624 Brother printer support number UK.


imessage for PC (par Download imessage for PC)

If you want to Download iMessage for PC Windows 7/8/XP/Mac , here is the full step by step guide.


locksmith near me 24 hours (par watchdoglocks@gmail.com)

If you are looking 24 hour emergency local <a href='https://www.wdlocks.co.uk/locksmith-near-me/'>locksmith near me </a> for lock installation, Repairs, Safe installation and car keys replacement then call us on 0800 389 9965. Watchdog Locksmiths will Response in 30 Min. No call-out Charges.


John Williams (par johnwilliams5810@gmail.com)

Very Informative blog . Thanks for sharing


mcafee help (par mcafee help)

I like the valuable information you supply in your articles. keep posting like this.http://antivirus-support-number.net/


Avg Contact Number UK (par Avg Helpline Number UK)

It was a really appreciating blog from your side. It was pleasure reading it and will be waiting for your next blog.


email database provider (par email database)

Great nice topis. I am looking this type informational writing.


network cables (par sfcable4seo@gmail.com)

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.


tech support (par Hp Laptop Helpline Number)

Thank you very for your great webpage, Good read! Thanks for the sharing!http://laptop-uk.com/


Commercial Kitchen Equipment Suppliers (par ckibrandcentre@gmail.com)

Thanks for sharing this kind of post with us. really very great stuff, keep posting...

http://www.ckibrandcentre.com/restaurant.html
http://www.ckiprofessional.com/


Printer Technical Support (par Epson Printer Contact Number UK)

We are providing services 24*7 days Epson Printer Contact Number UK If you have any issues your printer system just call us toll free no. 0808-168-9042 for Epson Printer Support Number UK


Comment (par Aarif)

Thanks for sharing of knowledageble content for us, All content is very usefull and help to enhance knowledge of evry one so you are diserve a thanks. I am regular reader of your blogs. I always appreciate to you for regular writting and posting.
<a href="https://www.guesskaro.com/">Question Answer Website</a>
<a href="http://www.drooin.com/">Healthcare in Indirapuram</a>
<a href="http://www.pashubajaar.com/">Goat in Lucknow</a>
<a href="http://www.southcitypackersmovers.com/">Packers Movers in Delhi</a>
<a href="http://www.southcitylogistics.com/">Packers Movers Website</a>
<a href=http://www.buyflowersncake.com/">Buy Flowers and Cake</a>


Comments (par Aarif)

Thanks for sharing of knowledageble content for us, All content is very usefull and help to enhance knowledge of evry one so you are diserve a thanks. I am regular reader of your blogs. I always appreciate to you for regular writting and posting.
https://www.guesskaro.com/
http://www.drooin.com/
http://www.pashubajaar.com/
http://www.southcitypackersmovers.com/
http://www.southcitylogistics.com/
http://www.buyflowersncake.com/


Lenovo Help (par Lenovo Laptop Help)

I am really impress with you for the selecting of new and unique topic and also well written article on it. Thanks for sharing with us.http://laptop-repair-uk.net/


Good idea (par deadpool flannel Shearling jacket)

I feel all your ideas are incredible! Break it up and list it down. It always looks exceptional and much more comprehensible when you construct your points that way. Thanks for the tips


Nice (par Marketing Eye Global)

Lovely post!


TAQ Organization (par The TAQ Organization)

It is worth spending time on reading such a nice article.


SBS 101 Solutions (par SBS101 Solutions)

Great information. It is worth spending time.Thanks for sharing this post.


Norton Help Number UK (par Norton Help Number UK)

It was a really appreciating blog from your side. It was pleasure reading it and will be waiting for your next blog. Or more information regarding “Avast” you can check out http://www.besttechlabs.co.uk/


Indy 500 Live (par Indy 500)

Indy 500


Coca Cola 600 Live (par Coca Cola 600)

Coca Cola 600


Yusuf Manji (par Julie)

Great post , very interesting , thank you for share this.
www.yusufmanji.com


wisdom tooth extraction (par aangeleyes16@gmail.com)

New web site is looking good. Thanks for the great effort.


Indy 500 2017 (par Indy 500)

Indy 500 is an automobile race held annually at Indianapolis Motor Speedway in Speedway, Indiana, an enclave suburb of Indianapolis, Indiana.

2017 Indy 500

Indy 500 2017

Indianapolis 500


https://500-indy.com/


French Open (par French Open)

https://thefrenchopen.org/ The French Open is a major tennis tournament held over two weeks at Stade Roland Garros in Paris, France. Watch French Open 2017 Live Stream Free Online.