Home

School

Work

Play

work

flex

Adobe + Zend = happy coder :)

Posted On: Fri, 10/03/2008 - 20:32 by charles

As you may have heard, Adobe has made a partnership with Zend Studios (the keepers of PHP, and the Zend Framework) to ensure that Flex/AIR development with PHP is as seamless as possible. This is *huge* news for PHP developers out there, myself being one of them. Christophe Coenraets, Senior Technical Evangelist at Adobe, came by the Adobe Seattle site last night to give a presentation to a couple of local user groups in town and I managed to pick his brain about the new partnership...what to expect, and what's in the works.

Well, as mentioned in the press release, a key deliverable for the collaboration is integration of the Action Message Format (AMF) into the Zend Framework. For those of you unfamiliar, AMF is a binary message protocol supported by Flex. Using AMF is preferable to other types of messaging formats, such as RESTful XML and serialization over HTTP for various reasons. First, XML and serialization (say with JSON) is plain-text, and so it isn't very secure. Second, since it is plain-text, it's inefficient. Binary, not only obfuscates the message, but compresses it significantly. So, native AMF support in the Zend Framework is huge for developing enterprise-level applications!

Also, given this integration of AMF into the Zend Framework, Zend and Adobe are also working to make a more unified IDE! They already have a good start...Flex Builder is built off of Eclipse, and Zend Studio is also built off of Eclipse. What Christophe showed us last night is that even though nothing has been released in terms of a unified IDE yet, you can start using one now anyways. Simply download Zend Studio (the PHP IDE), and install the Flex Builder plug-in for Eclipse, but specify the Zend Studio installation directory as your base Eclipse folder instead. Once this is done, you have a single portal for both your Flex, AIR, and PHP projects!

All of this is in it's earliest stages, but seeing steps in this direction is very exciting. I can't wait to see what's next :)

Charles

Flex & PHP 101 - Flex & PHP for Rich Internet Application Development (slide deck and sample code)

Posted On: Wed, 08/15/2007 - 02:59 by charles

I've just finished my presentation at the 360 Flex Conference this morning and it went really well. We had a really good turnout and there were some great questions. As promised, I am posting my slide deck and sample code (client and server) here for everyone to download and try for themselves. For those of you who weren’t there but are interested in what was covered, here is snapshot of the samples that I talked about…

  • Why Flex & PHP
  • What can I build with it?
  • How can I build with it?
  • Demos
    • Flex & PHP using REST
    • Flex & PHP using JSON
    • Flex & PHP using AMF
    • Flickr example

If you had any questions or comments, feel free to let me know! Thanks to Tom Ortega for getting me involved, and of course, thanks to everyone who came!

Flex & PHP 101 - Flex & PHP for Rich Internet Application Development

Server-Side PHP Code

Client-Side Flex Code

Charles

Presenting @ 360 Flex Conference in Seattle!

Posted On: Sat, 07/21/2007 - 02:52 by charles

I was just recently asked to be a presenter for one of the seminars at 360|Flex in Seattle next month! The previous presenter, Mike Potter, was unable to make it so I am gladly filling in for him. I'll be covering integration between Flex front-ends and server-side technologies, particularly PHP. I will talk about common integration techniques using either a REST-based architecture, serialization via JSON, or binary messaging with AMF. My class in particular will be on the second day (Tuesday, August 14th), first thing in the morning -> 8:30am - 9:50am (schedule). I hope to see you there and if you have any questions, I'm in contact with the event coordinators, so feel free to ask!

See the schedule and register for the event at…

http://www.360conferences.com/360flex/

Charles

Presenting at UBC…done!

Posted On: Sun, 02/18/2007 - 02:04 by charles

I just finished my presentation at UBC and it was another great event. We had a good attendance and some really really good questions. I was very pleased to see how enthusiastic a lot of the students were. I was also pleased to see some very good criticisms in the audience. This is a positive thing. I very much appreciate criticism. It means a few things - people are listening, they are interested about the technology, and they are giving opinions on how to improve it, and to me, these are the most valuable because ultimately, it will be these people who will be the ones using it!

I also enjoyed this presentation a bit more because it gave me the chance to speak about Apollo. I've worked with it in projects prior, but wasn’t able to say anything about it simply because of how early in development it was (and still is). I'm really excited though to see Apollo hit the masses and hopefully see some very cool applications flood the web.

As always, here is my presentation slide deck from the event. See you on the flipside…

Charles

Presenting at UBC…again!

Posted On: Fri, 02/09/2007 - 01:57 by charles

Looks like I’m scheduled to present again at my future alma-mater, UBC. Last time I was there, I did a presentation on the joys of Flex. This time, I get to show off Apollo! Ooooooh. As usual, food and drinks will be provided, and we will be accepting resumes. This is a great chance to see some of the new and exciting technologies that Adobe's brewing up, and if you're familiar with Apollo at all, then you know what I mean. Hope to see you there!

*oops, looks like I forgot to add the event details :p

When: Tuesday, February 13rd, 2007 from 5:30pm - 6:30pm
Where: DMP 110 @ UBC (Hugh Dempster Pavilion, 6245 Agronomy Road)

Charles

( categories: )

Flash Player Adoption Rates - Shocking!

Posted On: Wed, 01/24/2007 - 08:00 by charles

Since starting at Adobe, I’ve been exposed to a lot of the new and exciting technologies that they are releasing…Flash 9, Flex 2 and Apollo! What do they all have in common? They all are based off of the Flash Player 9 run-time. So, just as an experiment out of curiosity to see what kind of base these future technologies will have in the coming years, I decided to research and crunch some numbers. After only a few minutes, I was quite pleasantly surprised. The next few posts will be dedicated to my results. I am trying my best to keep all (except for the conclusion and possibly the comparison sections) unbiased and simply matter-of-fact posts. See for yourself…

Charles

Flash Player Adoption Rates (part 2) - Worldwide Use

Posted On: Wed, 01/24/2007 - 08:00 by charles

This is a quick glance at the worldwide usage of Flash Player across all versions. A look at the graph below will tell you that the Adobe Flash Player is used on an approximate 96% of all Internet-connected computers!1 This is a staggering statistic. A closer look at the graph will show that the Flash Player has a significantly higher presence than Windows Media Player, a difference in the area of hundreds of thousands of users. And considering that Windows Media Player is bundled with every version of Microsoft Windows, then that’s quite a feat.

Flash Player Worldwide Penetration (graph)

Comparison
In addition to the Windows Media Player comparison that I mentioned above, I would also like to compare it to PHP and AJAX. As with the previous post, I am choosing these because they are some of the most popular Internet technologies today. Again, I will mention that the measure for PHP is based on all computers deploying and/or hosting websites, while the comparison with Flash Player is measured against all computers connected to the Internet. The AJAX results are taken from a study conducted by eWeek.com's Evans Data2.

PHP has an estimated worldwide use of 37% as of early 2006, roughly one year ago3.

AJAX, after well over 2 years of popularity, is being used by as much as 25% of developers (of those surveyed in Brazil) to as little as 18% of developers (of those surveyed in North America)4 as of August 2006.

Flash Player 9 has already matched those numbers after only 6 months with an estimated worldwide adoption rate of 35%5 and across all version, a worldwide adoption rate of 96%.

1http://www.adobe.com/products/player_census/flashplayer/
2http://www.eweek.com/article2/0,1895,2009845,00.asp
3http://www.phparch.com/issuedata/articles/article_226.pdf
4http://www.eweek.com/article2/0,1895,2009845,00.asp
5http://www.adobe.com/products/player_census/flashplayer/version_penetration.html

Flash Player Adoption Rates (part 1) - Adoption Trends

Posted On: Wed, 01/24/2007 - 08:00 by charles

Here is a simple look at the duration it takes for previous Flash Player versions to spread1

  • Flash Player 5 - over 5 years to reach 96% or higher adoption
  • Flash Player 6 - over 3 years to reach 93% or higher adoption
  • Flash Player 7 - just over 2 years to reach 85% or higher adoption
  • Flash Player 8 - just over 2 years to reach 86% or higher adoption
  • Flash Player 9 - in roughly 6 months since release (released in June 2006, currently January 2007), has worldwide penetration of 35%

Comparison
This comparison will match Flash Player to PHP. Although this may seem like an apples to oranges comparison (client-side technology vs. server-side technology), I chose this because PHP is one of most popular web technologies currently used today. I should make it clear that the measure for PHP is based on all computers deploying and/or hosting websites, while the comparison with Flash Player is measured against all computers connected to the Internet.

PHP adoption on the Internet
PHP adoption representation by version number

PHP 5, the latest release since PHP 4, has found usage on roughly 1.82% (4.89% of 37.19%) of websites after 2 years of reaching a stable version2.

Flash Player 9, the latest release since Flash Player 8, has worldwide penetration of 35% after only roughly 6 months of release.

1http://www.adobe.com/products/player_census/flashplayer/version_penetration.html and http://www.communitymx.com/content/article.cfm?cid=511F7
2http://www.phparch.com/issuedata/articles/article_226.pdf

Flash Player Adoption Rates (part 3) - Conclusion

Posted On: Wed, 01/24/2007 - 08:00 by charles

Adobe Flash Player, self-proclaimed as "the world’s most pervasive software platform" certainly can hold that title. The results that I've given not only show the Flash Player to be ever-prevalent, but also (and more importantly) ever-growing. With each successive release taking less and less time to reach 85%+ adoption worldwide is amazing and I don’t think that any other software platform can even compare.

A lot of this is attributed to the ease of upgrading from previous versions…extremely quick downloads, easy install (typically two clicks), and no restart. After upgrading, it’s hard to even realize that you've changed release versions!

We're at Flash Player *9* now, not in Flash Player Beta. Each successive release adds a LOT of value to the player, whether it’s a more rigid and secure sandbox model in Flash Player 7, or the drastic increase in performance in Flash Player 9.

A lot can be said for the viability of the Flash Player and I am extremely excited to see how Flex, Flash-Lite and Apollo burst onto the scene in the next short while.

Charles

My Contribution to the Flex Cookbook

Posted On: Mon, 01/15/2007 - 08:00 by charles

In a previous post, I mentioned that there was a new tool on Adobe.com for Flex developers, the Flex Cookbook. It’s a great idea and it’s growing quite steadily. I’ve since made my first contribution about one of the most important components in any project…documentation. It’s a small article covering an often-overlooked feature of ASDoc, the @see tag. I talk about how to use ASDoc and @see to easily and most effectively reference other resources relevant to your project. I run through common uses and I even provide real code where I’ve done exactly what I mention.

Making the post was very easy and as you can see, it’s not very long. I encourage anyone with any useful tips or tricks, to share them in the cookbook as well!

Happy coding!

Charles

( categories: )

Charles Bihis is a Computer Scientist for Adobe Systems. The views expressed in this blog are his own and do not necessarily reflect those of his employers.

 

Subscribe