<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 12:40:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Authentication Using Zend_Amf]]></title>
      <guid>http://www.phpdeveloper.org/news/16560</guid>
      <link>http://www.phpdeveloper.org/news/16560</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has a new post to his blog today showing how you can use the Zend_Amf component in your Flex+PHP application to <a href="http://www.eschrade.com/page/authentication-using-zend_amf/">authenticate users</a> with the same authentication structure the rest of the application uses.
</p>
<blockquote>
I forget why, but a few days ago I started doing some digging around with authentication in Zend_Amf_Server.  I had figured that I would add an adapter to the Zend_Amf_Server::setAuth() method and that would be it. But I was wrong.
</blockquote>
<p>
Zend_Auth is used to validate the login information that's passed along and the Zend_Acl checks to see if they have access. To make this work for a connection from Flex, you need to make an authentication adapter and add it (as well as a basic ACL) into your Zend_Amf_Server call.
</p>]]></description>
      <pubDate>Thu, 07 Jul 2011 09:39:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone:  File uploads with Adobe Flex and Zend AMF]]></title>
      <guid>http://www.phpdeveloper.org/news/15325</guid>
      <link>http://www.phpdeveloper.org/news/15325</link>
      <description><![CDATA[<p>
On the Zend Developer Zone <a href="http://devzone.zend.com/article/12668-File-uploads-with-Adobe-Flex-and-Zend-AMF">there's a post</a> looking at uploading files in a Adobe Flex-based application that uses a slightly different than usual approach to uploading files through Zend_Amf.
</p>
<blockquote>
Zend AMF is a PHP implementation of the AMF (Action Message Format) binary protocol within the Zend Framework. I had to implement a system to upload files that were a little different than what is typically used in Flash, so I built upon Zend AMF for my needs. Researching a little on the net, I found a solution that was simpler than I expected. Based on an <a href="http://gertonscorner.wordpress.com/2009/04/19/fileupload-using-zend-amf-remoteobject-and-flash-10/">article</a>, I only had to make a few adjustments.
</blockquote>
<p>
He shows a (brief) version of his setup - a gateway to be used as the endpoint for Flex to connect to, the VO properties and the class to handle the upload. On the Flex side, he includes the code to create the view and pass the upload off to the waiting PHP backend. If you want to see the full code, you can <a href="http://www.leonardofranca.com.br/wp-content/uploads/2010/10/FlexUploadZendAMF.zip">grab it here</a>.
</p>]]></description>
      <pubDate>Fri, 22 Oct 2010 12:25:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[TheTechLabs.com: Integrate Flex Builder 3.0 & Php easily with the fresh ZendAMF]]></title>
      <guid>http://www.phpdeveloper.org/news/12506</guid>
      <link>http://www.phpdeveloper.org/news/12506</link>
      <description><![CDATA[<p>
On the TechLabs website there's a <a href="http://www.thetechlabs.com/tutorials/flex/integrate-flex-builder-30-php-easly-with-the-fresh-zendamf/">recent post</a> looking at how to get Flex Builder 3.0 and PHP to work together via the <a href="http://framework.zend.com/download/amf">Zend_AMF</a> component of the Zend Framework.
</p>
<blockquote>
In this article I will explain how to build a simple adobe flex application that communicates with php using remote objects calls to the new AMF php implementation supported by adobe and called ZendAMF. In my example I will use Adobe Flex Builder 3, ZendAMF and a Apache web server with php support and mysql server on windows. If you do not have any available server with php (at least) you will need to install one on your machine. It's easy, nowadays you have many standalone installers that do everything, just look at the <a href="http://www.wampserver.com/en/">wampserver</a> for example.
</blockquote>
<p>
If you want to get started right away, you can <a href="http://www.thetechlabs.com/wp-content/uploads/2009/04/flexphpsourcefiles.zip">download the source</a> and get going. Otherwise, you can check out the rest of the tutorial to see how they build up their example. They show how to create the project, set up the Zend_Amf extension's configuration and creating the simple application that echos back a "hello world" sort of response based on a text field's entry.
</p>]]></description>
      <pubDate>Wed, 13 May 2009 11:18:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Adobe Seeks PHP Developers for Pre-Release Access on Flex Builder]]></title>
      <guid>http://www.phpdeveloper.org/news/12284</guid>
      <link>http://www.phpdeveloper.org/news/12284</link>
      <description><![CDATA[<p>
<i>Andi Gutmans</i> <a href="http://andigutmans.blogspot.com/2009/04/adobe-looking-for-developers-to-join.html">mentions a program</a> Adobe is starting up concerning Flex and PHP and they're looking for some developers to get in on it.
</p>
<blockquote>
In this upcoming version [of Flex Builder], a significant new set of features are being introduced to accelerate creation of data-centric applications with PHP on the server-side leveraging Zend Framework and Zend AMF. Prior to the public Beta later in the year, Adobe would like to invite a select group of PHP developers into a private pre-release program for Flex Builder.
</blockquote>
<p>
The group would get a sneak peek at the upcoming features, work with the development team and help to make the product into something the community really can use. If you'd like to get in on the program, fill out <a href="http://www.surveymonkey.com/s.aspx?sm=p1w3z8obcRi28iht1_2fFzbQ_3d_3d">this survey</a> and they'll get in touch with you with more information.
</p>]]></description>
      <pubDate>Mon, 06 Apr 2009 12:53:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Get to know Flex and Zend_Amf]]></title>
      <guid>http://www.phpdeveloper.org/news/12222</guid>
      <link>http://www.phpdeveloper.org/news/12222</link>
      <description><![CDATA[<p>
In <a href="http://devzone.zend.com/article/4381-Get-to-know-Flex-and-Zend_Amf">this recent article</a> from the Zend Developer Zone</a> <i>Jack Herrington</i> takes a look at the component of the Zend Framework that lets it talk directly to Flash and Flex applications - Zend_Amf.
</p>
<blockquote>
Reading and posting to Extensible Markup Language (XML)-based services with Adobe Flex is easy. But what's even easier is using Adobe's Action Message Format (AMF) to send messages between the Flex client and the server. It's as easy to use as a method call on an object. This article shows how to set up an AMF service [so you can use this method] on your PHP web server using the Zend Framework and Zend_Amf. 
</blockquote>
<p>
As his example application, he sets up a contacts database he'll pull information from and insert data into from his Flex form. You'll need to already be familiar with working in a Zend Framework instance before you get started - he dives right into the code. Screenshots and code for both the PHP and Flex sides of things are included 
</p>]]></description>
      <pubDate>Fri, 27 Mar 2009 09:35:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ProDevTips.com: Zend Amf and class mapping with Flash CS3 / AS3]]></title>
      <guid>http://www.phpdeveloper.org/news/12208</guid>
      <link>http://www.phpdeveloper.org/news/12208</link>
      <description><![CDATA[<p>
On the ProDevTips.com site there's a <a href="http://www.prodevtips.com/2009/03/24/zend-amf-and-class-mapping-with-flash-cs3-as3/">new tutorial</a> talking about mapping a class using the Zend_Amf component (of the Zend Framework) to map functionality with Flash.
</p>
<blockquote>
Instead I'm mapping the variables explicitly in the Shockwave, I have no example of doing the reverse, ie sending an object from flash and populating. I'm however not going to use an ORM like Doctrine with the project I'm going to do here so that won't really be a problem. The main thing is that we can easily populate AS objects.
</blockquote>
<p>
They include both the Flash code - connecting the Flash application to the PHP gateway - and the PHP code to create a Zend_Amf object and handle the Flash request. In their example, they call a User class to locate a user record. 
</p>]]></description>
      <pubDate>Wed, 25 Mar 2009 13:09:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Leveraging Zend Framework Components from Adobe Flash Platform Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/12025</guid>
      <link>http://www.phpdeveloper.org/news/12025</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today <i>Richard Bates</i> has <A href="http://devzone.zend.com/article/4297-Leveraging-Zend-Framework-Components-from-Adobe-Flash-Platform-Applications">posted his method</a> for combining the Zend Framework with the Adobe Flash platform (Flex) to create richer and more powerful applications.
</p>
<blockquote>
One of the most useful concepts in software development is the practice of creating modular, reusable code. As a developer, you're likely familiar with the heartache of reinventing the wheel. Doing so is certainly sometimes necessary, but when it isn't, you would be well served by using plug-and-play components. [...] And, as of version 1.7, Zend Framework includes an extension for native Adobe Action Message Format (AMF) communication between Adobe Flash Platform applications and PHP. 
</blockquote>
<p>
Using this AMF support, <i>Richard</i> shows how to create a sample Flex application that stores data into a backend database, validates that the user is "real" (via a CAPTCHA) and lets the organizer of the event know that new information has been added to the application. You can <a href="http://devzone.zend.com/images/articles/4297/1.png">see the basic workflow here</a>. There's plenty of screenshots, code and explanations to walk you through every step of the way.
</p>]]></description>
      <pubDate>Thu, 26 Feb 2009 07:54:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Alessandro Crugnola's Blog: AMFPHP recent updates]]></title>
      <guid>http://www.phpdeveloper.org/news/11400</guid>
      <link>http://www.phpdeveloper.org/news/11400</link>
      <description><![CDATA[<p>
<i>Alessandro Crugnola</i> has <a href="http://www.sephiroth.it/weblog/archives/2008/11/well_after_a_long_time.php">posted an update</a> on the future of the <a href="http://amfphp.org/">AMFPHP</a> project (an interface between Adobe's Flex products and PHP) and how it relates to the work being done on the Zend Framework's Zend_Amf component.
</p>
<blockquote>
But after the <A href="http://andigutmans.blogspot.com/2008/09/zend-and-adobe-partner.html">partnership between Zend and Adobe</a> things started to change and amfphp started to move forward to the <A href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf+-+Wade+Arnold">Zend Framework</a>... and in fact many developers were afraid about the real future of amfphp.
But, as <a href="http://wadearnold.com/blog/?p=112">Wade said</a>, the amfphp core will remain separated from the framework implementation ( a framework which I will never use however ), in order to have a shared core and 2 different branches for the implementation. 
</blockquote>
<p>
He notes, though, that he might be being a bit skeptical, but doesn't see things working out in their favor and that Zend_Amf will "win out" over the AMFPHP project and get the larger share of the backing from the larger companies. 
</p>]]></description>
      <pubDate>Thu, 13 Nov 2008 08:47:23 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Manfred Weber's Blog: PureMVC and Zend_AMF]]></title>
      <guid>http://www.phpdeveloper.org/news/11393</guid>
      <link>http://www.phpdeveloper.org/news/11393</link>
      <description><![CDATA[<p>
In <a href="http://manfred.dschini.org/2008/11/12/puremvc-and-zend_amf/">this new post</a> to his blog, <i>Manfred Webber</i> shares an example he's put together to combine the <a href="http://puremvc.org/">PureMVC</a> framework with the <A href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf+-+Wade+Arnold">Zend_Amf</a> component of the Zend Framework.
</p>
<blockquote>
Since <a href="http://puremvc.org/">PureMVC</a> is my framework of choice I could not resist creating a simple demo connecting PureMVC to the new <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf+-+Wade+Arnold">Zend_AMF</a>.
</blockquote>
<p>
The sample application just responds to a button click by displaying a message inside of a text container. You can <a href="http://dev.dschini.org/downloads/PureMVC_Zend_AMF.zip">download the source</a> that includes both the Flex and PHP sides.
</p>]]></description>
      <pubDate>Wed, 12 Nov 2008 08:47:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Remote objects and Zend_Amf]]></title>
      <guid>http://www.phpdeveloper.org/news/11369</guid>
      <link>http://www.phpdeveloper.org/news/11369</link>
      <description><![CDATA[<p>
On PHPBuilder.com <i>Richard Bates</i> has <a href="http://www.phpbuilder.com/columns/richard_bates20081107.php3">continued his series</a> introducing the Zend_Amf component of the Zend Framework and how to get a sample project setup that uses it.
</p>
<blockquote>
Last week we discussed the new Zend Framework extension and gave you a look inside its functionality. This week we take off where we ended last week, and delve into remote objects and Zend_Amf!
</blockquote>
<p>
The tutorial walks you through the setup of a new project, the PHP code behind it and how to get the two talking back and forth through a RemoteObject. Screenshots and complete code are included.
</p>]]></description>
      <pubDate>Fri, 07 Nov 2008 13:40:48 -0600</pubDate>
    </item>
  </channel>
</rss>
