• Shortcuts : 'n' next unread feed - 'p' previous unread feed • Styles : 1 2

» Publishers, Monetize your RSS feeds with FeedShow:  More infos  (Show/Hide Ads)


Date: Thursday, 07 May 2009 22:21

If you have not been to getMicrophone() go check it out. It’s an initiative to have raw access to the audio stream that is coming off the getMicrophone() method; clever url!. The project is similar to the MAKE SOME NOISE initiative. All the wonderful things that we want in the player asap! Go vote on some of these feature requests so we can see this in the next player release!

Open Microphone Object in Flash Player

Acoustic Echo Cancellation support

Raw WebCam greater resolution than 320×240 ok you got me I just want this fixed too!

Author: "wadearnold" Tags: "Flash Platform, microphone"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 05 May 2009 13:29

I am giving a presentation with Lee Brimelow about using Flex and PHP. Looks like it is going to be a great presentation. ;-)

php|tek 2009 PHP Conference - Chicago, May 19-22, 2009

I submitted an unconfrence hands on session. This requires a vote so GO VOTE if you find it interesting. If you want me to address anything in either talk just let me know.

Flex + AMF+ PHP = Data Visualization
http://joind.in/event/view/41

Looking to build your first Flex application or are just curios about it’s complexity? Most people are attracted to Flex in order visualize complex data. Learn the technical details for setting up your first visualization application with charting, maps, and lazy loaded data sets. For even more fun we will use some real time data from #tek09 with the help from Zend Framework.

Author: "wadearnold" Tags: "Flash Platform, Speaking, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Saturday, 04 Apr 2009 04:48

From Andi Gutmans

Adobe is currently building the next generation of Flex Builder, the Eclipse based IDE for creating cross-platform rich Internet applications.  In this upcoming version, 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. You’ll get to work with the new data-centric development features, interact with members of the product team, provide feedback, and generally help shape the future of the product.  No prior experience with Flex is necessary; in fact feedback from new users would be particularly helpful.  There is a brief survey here - please complete it and Adobe will send an invitation to you shortly.

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Saturday, 04 Apr 2009 04:41

I have read a couple ranting emails, tweets, and blog posts about why Zend Amf does not have gzip compression; “Wade what a waste!” is my favorite one. The reality is that the AMF protocol does not have gzip compression, there is no DEFLATE call, and if you read the protocol you can find no mention of such a thing. When AMFPHP added AMF3 support it also added a php based gzip support in the same release. Hence AMFPHP now with AMF3 and Gzip compression; mutually exclusive rumor started. The compression of HTTP which is the envelop that that AMF data is transported through does not mean that AMF is compressed. This is no different than the plethora of other http service end points such as Soap, JSON, REST, XMLRPC, etc which all benefit from a properly configured web server. 

If you run apache check out mod_deflate.  With this approach, you tell the server what content types should be compressed, and the server does it transparently to your application. Apache is a heck of a lot faster at doing the compression than adding PHP code that uses gzcompress.

Hope this helps… and please no dirty names for someone that’s just trying to give you some free code. Go get Live Cycle DS dude!

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Friday, 03 Apr 2009 15:03

Friday, April 3, 2009 1:00 PM - 2:00 PM EDT

Signup!
A three part series on how PHP developers can develop applications with the Adobe Flash Platform.  Lee Brimelow, a technical evangelist for Adobe, will go over the pieces of the Flash Platform and how PHP developers can use technologies like Adobe Flex and Adobe AIR in combination with PHP to build rich applications that work consistently across browsers in Flash Player and on the desktop using Adobe AIR.

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 01 Apr 2009 02:38

mnswfcamplogoI am really excited to be showcasing Zend Framework and the work that I have been doing on Zend Amf, maybe some FB 4 sneaks, at SWFCAMP Monday the 6th in Minneapolis. There are great speakers lined up for only $40 dollars of all day training. That’s pretty slick! This mini conference is run better than most major conference because people like Danny Patterson and Dave Shroeder, FlashBelt, make sure it is executed flawlessly. The cool thing about the day is that all of the speakers will be adding onto the same project throughout the entire day. This means that we get to cover a larger application than normal. Little will be repeated and the individual speakers get to focus on their specific topic. It should be lots of fun. Last year we had a turn out well over 100 people, great facility, and the sushi and drinks for the after party were fantastic! If you have ever attended a Flash Camp before this is the next level. 

More about the application we are building:

Jason Grey is building an product comparison application where the user can add products from Amazon or eBay and compare them.  Danny Paterson is  going to be adding peer-to-peer collaboration to the application in his session.  This will allow two users to shop and compare together. To do peer-to-peer in Flash Player 10 we must use the new Stratus beta from Adobe to get unique ids.  These ids need to be registered along with the user’s name in a common place.  So the service we need is a backend that can store current user sessions. Enter Wade Arnold’s talk on using ZendAmf for integration with PHP and MySQL.

This will be fun! I am sure there are more details but you will just have to come in order to find them all out! Check out the main site for more infomation and sign up right now!

 http://www.mnswf.org/camp/index.cfm

Author: "wadearnold" Tags: "Flash Platform, Speaking, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Monday, 30 Mar 2009 21:36

Make sure that you go update your zendamf library to the latest 1.7.8 mini release. Lots of bug fixes and changes that will be required for the next mini release ;-). 

Download

Change log

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Sunday, 29 Mar 2009 03:33

Lot’s of bug fixes have been added to the next release of the zend framework. I have listed all of the jira tickets below. A lot of these issues have been fixed in the trunk for months but have not made it to a mini release because i didn’t know that I was suppose to merge them! Now I know and this mini release is going to be very significant. Please update when it is released so you can help me find any other issues. 

Monday the 30th we should see the 1.7.8 mini release of zend framework


ZF-5388
 Zend_Amf_Server handles arguments wrong 

ZF-5831 Zend_Amf_Server getDirectory returns the wrong variable

ZF-5816 Wrongly capitalized class name in Zend_Amf_Request initialize method

ZF-5710 Multiple object with transient _explicitType loose are not type cast

ZF-5040 Impossible to set same method name in two differents services

ZF-5393 Error when passing Zend_Amf_Server::setClass() an object instead of a string

ZF-5346 AMF3 Messages with Object as first param fails with badVersion

ZF-5381 Create session management of subsequent AMF calls.

ZF-5707 Using addDirectory does not enforce names spaces

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 17 Feb 2009 04:31

Robert Taylor an OFG (Original Flash Gangster) and long term industry friend of mine wrote an interesting article on using the Zend Amf serialize to send back variables to Flash and Flex. I can honestly say that I would have NEVER though of using the serialize this way but it frankly is brilliant. What a super slick way to get typed data back into the Flash Player. Check out Serializing Flash Objects over HTTP

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 11 Feb 2009 18:48

Piotr Walczyszyn and Adobe Platform evangelist just released ZendAmfD  as an extension to Zend_Amf (it actually extends Zend_Amf_Server class). It allows developers to configure and execute on the server side database queries against model classes that extend Zend_Db_Table_Abstract. It is really exciting for me to see others contributing to the project. Please check it out and maybe this is something that we will add to the Zend Amf trunk?

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 11 Feb 2009 00:03

The the 1.8 release of Zend Framework right around the corner I am trying hard to get any blocking issues resolved. If you are having any issues with Zend Amf please open up a bug or vote on any existing issues that are keeping you from adopting the framework. Also pull the latest version from SVN if you can to insure it has not been resolved in the last two weeks. 

Zend Framework Issue Tracker

Thanks!

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 20 Jan 2009 04:14

Use the Gaia Flash Framework? Then you know how important a valid site.xml file is to loading assets, pages, and the entire scaffolding process. In a shout out to Steven Sacks and the amazing work that he has been doing in order to release Gaia 3.0 Jeremiah Philipp who works for me at T8DESIGN put together an amazing little application to quickly update you site.xml and visualize it. We will be working with Steven over the next couple days to get this over into the gaia project source base. If you have ideas please share them!

  • xml validation
  • drag and drop re-ordering
  • duplicate entire branches
  • reorder assets for load order
  • pages templates
  • edit project properties
  • print site map
  • import site.xml
  • file browser to find assets

Try it out people! 

Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.

 

Gaia Framework site.xml creator

Gaia Framework site.xml creator

Author: "wadearnold" Tags: "Flash Platform, Gaia Framework"
Comments Send by mail Print  Save  Delicious 
Date: Friday, 09 Jan 2009 18:41

Mihai Corlan and Adobe Platform evangelist put together a nice video on debugging Flex and PHP projects with Flex Builder and Zend Studio and posted on Adobe TV. Check it out as it is pretty darn slick!

Author: "wadearnold" Tags: "AMFPHP, Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 06 Jan 2009 14:39

 I was listening to the Weekly RIA Round Up last night while I was running and they mentioned Zend Amf Session support. That was pretty cool to “hear” about something that I was working on rather than a tweet or email. Thanks David Tucker for the shout out! If you are not listening to some podcasts they are starting to get pretty good. I listen to these three, let me know what is on your playlist.

Weekly RIA Round-Up
The Flex Show
Redmonk’s RIA Weekly… Follow these guys on twitter too!

The Weekly RIA Roundup for January 5

The Weekly RIA Roundup for January 5

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Saturday, 03 Jan 2009 22:09

I have had a tremendous education over the last year in getting to work on Flex 4 and the Zend Framework. Two exceptional open source projects that are growing daily in both contributers and community. They are also two projects that get a bad rap because they are supported by a “known” company. Some other open source favorites such as MySQL are getting this wrap too. The funny thing about both these projects is that the code is 90% driven and coded by the community and the remaining 10% is the types of additions that the community needs but Adobe and Zend do because they can’t get someone like me add them. By having a parent company back the open source initiative you have access to people that are paid to work on the project. This means that they know why decisions have been made over time, common mistakes, and best practices. They also make for the best projects to be your first open source project because of the support.  

So why should you help?

  • Learn about software architecture from a HUGE project so you can use those concepts in your own projects.
  • Understand who is really behind that code base that is powering your startup, enterprise, life’s work.
  • Learn concepts and applications that are necessary for large teams that you can use in your own organization
  • Receive a minimal of 50+ emails a weekend asking why you have yet to do XYZ and can you have that completed next week!
  • Work on the project that you actually are using. 

But I am not that good of a programmer. 

  • Ahh this is where you relize that you have to be a part of a large project to become a good programmer. 
  • We need documentation, in the trunk of the project not on your blog.
  • We need test cases for bugs. 
  • We need people answering “bug” questions that are really just people that did not RTFM. But they distract the core from working on new features. And the manual probably sucks too.
  • We need best practice documents. Most open source documentation is around getting started and not best practices. 
  • We need real work examples to showcase how the application can be used.

 

Commit to adding something to the community that you are a part of in ‘09. If you are reading my blog you know how important open source is to you! My company and coding career will forever be changed because of all the support, best practices, and advice I received from Peter, Wil, Stas, and specifically Matthew. I hope you engage and learn in ‘09 too.

Happy New Year!

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 31 Dec 2008 00:15

PHP session support is now enabled through the Zend Amf. To get started you need to update your Zend_Amf_Server class from the repository. You will also need to make sure you have Zend_Session for those of you that are using the framework on as use-at-will bases.

Once you have updated your server you will need to also update your bootstrap/endpoint file to start using sessions and tell Zend Amf to use sessions.

$server = new Zend_Amf_Server();
Zend_Session::start(); 
$server->setSession();

You now have session support for all of your services.

A session example
We are going to create the following example in order to showcase how sessions can be used in an application.

Flex zend amf php session example

Flex zend amf php session example

The flex application connects to this SessionTest a service that opens a session count variable that is incremented with the getCount method. There are also three utility methods to show how sessions are being handled. The method getSessionID returns the current php session id. The method updateSessionID tells php to regenerate the sessions id. Finally unregister destroys the count session variable to start the incrimination over on the next service call.

/**
 * Example class for sending a session back to ActionScript. 
 */
class SessionTest
{
	/** Check if the session is available or create it. */
	public function __construct() {
 
		if (!isset($_SESSION['count'])) { 
			$_SESSION['count'] = 0;
		}
	}
 
	/** increment the current count session variable and return it's value */
    public function getCount()
    {
    	$_SESSION['count']++;
    	return $_SESSION['count']; 
    }
 
    /** return the php session id value */
    public function getSessionID()
    {
    	return session_id();
    }
 
    /** Tell's php to generate a new session id */
    public function updateSessionID()
    {
    	session_regenerate_id(); 
    }
 
    /** clear the refrence to the count session variable */
    public function unregister() {
    	unset($_SESSION['count']);
    	return true;
     }
}

The flex code just consists of calls to the remote methods. There is nothing that you need to do special in your ActionScript in order to handle sessions. Note that there are just methods and handlers for all of the service calls.

<?xml version="1.0" encoding="utf-8"?>
<Application  xmlns="http://ns.adobe.com/mxml/2009"  xmlns:custom="components.*" creationComplete="onCreationComplete()">
    <Declarations>
        <RemoteObject endpoint="http://wadearnold.com/zend/library/index.php" id="myservice" fault="faultHandler(event)" 
        	source="SessionTest" destination="zend">
        	<method name="getSessionID" result="sessionIDHandler(event)" />
        	<method name="getCount" result="countHandler(event)" />
        	<method name="updateSessionID" result="updateSessionIDHandler(event)" />
        	<method name="unregister" result="unregisterHandler(event)" />
        </RemoteObject>      
    </Declarations>
    <Script>
    	<![CDATA[
    		import mx.events.ResourceEvent;
    		import mx.rpc.events.FaultEvent;
    		import mx.rpc.events.ResultEvent;
 
    		public function onCreationComplete():void {
    			myservice.getCount();
    			myservice.getSessionID();
    		}
 
    		public function updateSessionID():void {
    			myservice.updateSessionID();
    		}
 
    		public function updatAll():void {
    			myservice.getCount();
    			myservice.getSessionID();
    			myservice.updateSessionID();
    		}
 
    		public function unregister():void {
    			myservice.unregister();
    		}
 
    		/**
    		 * Handle the successfull result from the remoting call
    		 */ 
    		private function sessionIDHandler(event:ResultEvent):void {
    			sessionID.text = event.result.toString();
    		}
 
    		private function countHandler(event:ResultEvent):void {
    			counter.text = event.result.toString();
    		}
 
    		private function updateSessionIDHandler(event:ResultEvent):void {
    			myservice.getSessionID();
    		}
 
    		private function unregisterHandler(event:ResultEvent):void {
    			onCreationComplete();
    		}
 
    		/**
    		 * Handle the failed remoting call
    		 */ 
    		private function faultHandler(event:FaultEvent):void {
    		}
    	]]>
    </Script>
 
<Canvas xmlns="http://ns.adobe.com/mxml/2009" width="100%" height="100%">
	<Label x="26" y="10" text="Session ID:"/>
	<Label x="155" y="10" width="200" textAlign="right" id="sessionID"/>
	<Label x="155" y="36" width="200" textAlign="right" id="counter"/>
	<Label x="26" y="36" text="Counter Value:"/>
	<FxButton x="221" y="62" label="Increment Count" width="134" id="increment" click="onCreationComplete();"/>
	<FxButton x="221" y="92" label="Update Session ID" width="134" id="updateID" click="updateSessionID();"/>
	<FxButton x="221" y="121" label="Increment &amp; Update " width="134" id="updateAll" click="updatAll();"/>
	<FxButton x="221" y="153" label="Unset Count " width="134" id="unregisterSession" click="unregister();"/>
</Canvas> 
</Application>

Sessions are used for state but Flex is state-full?
Using sessions is important for storing state on the server. This can be hard to wrap your head around when to store state in the client and sync that state with the server. My recommendation is that you should use sessions when you don’t trust the client or that the data is so important that you shouldn’t ever trust the client. Using sessions with Zend_ACL and Zend_Auth are great examples of when you want to keep state in client and validate that state in the server. If something changes that was not intentional invalidate the state and log the customer out.

Session Identifiers

This is import to do as frequently as you can in you application. A new session ID can decrease the ability for a cross site scripting attack to take over your session and become a logged in user. In this example I have used a php call but make sure that you check out the documentation on Zend Session and specifically Zend_Session::regenerateId()

A primary difference between an RIA written in Flex, ajax, etc is that it does not reload the browser. This means that the user can aggressively click on a button and the RIA does not have the new session id returned. You can start “loosing” data as the new call is being sent with an old session id. If you application has aggressive click make sure you test regeneration speeds with slow connections. A proxy tools such as charles can really help debug slow connections.

At a minimal regenerate an id on massive state changes of the application! Login, logout, privilege escalation, etc.

Click around on the demo below to see what I mean!

Session Example

Finally
Give me your feedback. Sessions will be in the next minor so there is still time to change things, document better, and make more examples. Have fun!

Author: "wadearnold" Tags: "Flash Platform, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Monday, 29 Dec 2008 20:53

Keigth Craigo created a great blog post on integrating Zend Auth and Zend ACL for doing authentication and access control on your Zend Amf service calls. Make sure you check it out. I used a similar setup to connect to OpenID and it took less than a day because of all that is in Zend Auth.

There is something that Keith is missing that I should have updated into SVN today so he can take advantage of it for another blog post. Keith thanks so much for putting this tutorial together. I greatly appreciate it!

Build a better Login with Adobe Flex, Zend_Amf, Zend_Auth, and Zend_Acl 

Author: "wadearnold" Tags: "Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 24 Dec 2008 13:41

Check out Richard Bates article on Integrated PHP and Flex development with Zend Studio and Flex Builder it is a good read! If you don’t have these two ide’s put together you are wasting a lot of time in your workflow. Thanks RIchard for putting this article together! Richard is one of the first bloggers who ever started releasing tutorials for Zend Amf. This was fantastic for me as I was heads down trying to add features and fix bugs and he was creating getting started documentation. THANKS! If you have not seen his CRUDdy Buddy application you really need to check it out. It is a slick code generator written in Adobe Air and of course can stub out classes for Zend Amf. Keep watching Richard’s blog flexandair.com as he is always releasing good stuff for those that are reading my blog!

Author: "wadearnold" Tags: "Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Friday, 19 Dec 2008 02:41

In a constant balance between new features and documentation I am releasing the first ‘examples’ today. This is a long way from being full blown best practices or tuturials but I hope it is a starting point. In this first release I have added a Flash and Flex Hello World example and a class mapping example for Flex that shows how to get ContactVO’s from the server and bind them in Flex. Please let me know what you want next. 

Example files

Author: "wadearnold" Tags: "Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 17 Dec 2008 04:18

I have been cleaning up some code and test cases in Zend Amf before some more real development starts. If you had issues with class and method collision, ByteArray’s, array’s loosing there keys, documents, or not getting the errors that you wanted please check out the latest build. Also if you have any feature request or bugs please make sure you let me know! 

Zend Framework Issue Tracker for AMF

Next up is optimizing ArrayCollection and proxy object support. 

If you used returning native resources in AMFPHP can you please let me know which ones. 

One of the most impressive features of Flash remoting is the ease at which you can send back resultsets. AMFPHP is preloaded with a set of adapters for a variety of databases and database drivers, in particular:

  • MySQL
  • PostgreSQL
  • SQLite
  • MySQLi
  • MsSQL
  • ADODB
  • ODBC
  • Oracle (oci8 for PHP5)
  • PDO
  • PEAR::DB
Author: "wadearnold" Tags: "AMFPHP, Zend_Amf"
Comments Send by mail Print  Save  Delicious 
Next page
» You can also retrieve older items : Read
» © All content and copyrights belong to their respective authors.«
» © FeedShow - Online RSS Feeds Reader