My blog is now available on FlashBookmarks in the "blogs" category.
Thank you FlashBookmarks!
There are several solutions to use the FABridge in your Flex project. Those are the most common:
- In Flex Builder 3, right click on your project, select "Create Ajax Bridge.." and follow the wizard.
- Follow the Flex 3 documentation: Integrating with the Flex Ajax Bridge.
After the jump, discover the ONE solution that has it all...
Here is my latest DirectFlex experiment: a cubic panorama, also called a "skybox".
Full code after the jump...
As I was working on a custom MP3 player, I wanted to use a web service to search for album arts in order to display them as the corresponding music is played. After a quic Google search I found Amazon Web Services (AWS). Amazon actually provides services to search items in their catalog and therefor you can look for a precise music album and get its cover. This very service is the Product Advertising and is accessible through the Product Advertising API.
But since the 15th of August 2009 AWS requires every request to be signed. It simply means that a "Signature" parameter must be added to each and every request. One might think that the API key should be enough, but this key is inserted in every query URL and can be read by pretty much anyone. The signature is created using the secret AWS password and crypted using the HMAC/SHA256 algorithms so that AWS can be sure the request actually comes from the genuine owner of the API key.
The documentation features a guide to explain the whole signing process step-by-step but as you might have guesses, there is a huge difference between reading it on the documentation and actually implementing it successfully.
Full code right after the jump...
Because human interaction with a machine has always been a big deal, discover five furisitic but yet already functional interfaces:
Creating a rich and efficient User Interface (UI) is the Saint Graal of every Rich Internet Application (RIA) developer. As Michael Chaize said it in his RIA introduction conference he made this year at EPITA, we call it "Rich" Internet Application because the software takes advantage of a rich User Interface and offers a rich user experience.
Flex developers can use the "Design" view of Flash Builder to design their UI. But this method requires to already have the components you want to work with and make sure they are full MXML. Because the WYSIWYG editor of Flash Builder does not interpret ActionScript components, it is more of a "What You See Is ore Or Less What You Get". If you need more than the Flash Builder WYSIMOLWYG editor -- and I certainly hope you do -- here are two awesome tools to create and export UI mockups.
More details right after the jump...
Mihai CORLAN just posted an interesting post about 'Flex for PHP developers'. This blog post introduces Flex and how to make it work with a PHP backend using WebServices or even AMF.
The article is light but covers the main notions of Flex such as MXML and ActionScript 3 and of course data access using PHP.