 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
RIAZone: Integrating PHP with Flash Collaboration Services
by Chris Cornutt December 14, 2009 @ 13:47:28
On the RIA Zone (a part of the DZone network) there's a new tutorial from Ryan Stewart about combining PHP with the Flash Collaboration Services (real-time collaboration and social capabilities via the LCCS) in the second part of his series (part one).
Another great way to integrate LCCS and PHP is with the REST APIs and the library that ships with the LCCS SDK. With those APIs we can perform a number of management functions including creating and deleting rooms, managing roles, and creating templates. These APIs make it very easy to create a customized, dynamic collaboration experience with PHP. You can create rooms on the fly for your users and get information about what kind of content is in those rooms. In this example we're going to create a basic room manager with PHP that will let us create, delete, and view information about specific rooms.
Code is included to use the AFCS PHP library to connect to the Services API and pass in the username and password directly from the user. The request is made and a token is passed back to the calling script. The XML description of the full Flex application is included in the tutorial.
voice your opinion now!
flash collaboration services api tutorial
NETTUTS.com: 15 Wonderfully Creative Uses for PHP
by Chris Cornutt May 04, 2009 @ 07:56:42
NETTUTS.com has posted their list of the top fifteen "wonderfully creative" uses for PHP on your sites.
If you are familiar with the basics of PHP, then you're probably wondering how you can use it to make your website more appealing. The possibilities are endless, and you can write your own PHP scripts or implement widely available scripts from around the web. Let's get started with 15 creative uses for PHP for your website!
Some of the uses mentioned include:
- E-Commerce
- Graphical User Interface
- Building an Online Community
- Parsing XML Files
- Image Processing and Generation
- Create a PHP Photo Gallery
Others include templating, working with Flash and with one of the more popular PHP blogging tools - WordPress.
voice your opinion now!
creative use ecommernce gui community xml image flash wordpress template
ProDevTips.com: Zend Amf and class mapping with Flash CS3 / AS3
by Chris Cornutt March 25, 2009 @ 13:09:19
On the ProDevTips.com site there's a new tutorial talking about mapping a class using the Zend_Amf component (of the Zend Framework) to map functionality with Flash.
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.
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.
voice your opinion now!
prodevtips flash zendframework zendamf tutorial
PHP in Action Blog: Flash messages
by Chris Cornutt June 02, 2008 @ 07:56:48
On the PHP in Action blog Dagfinn Reiersol shares a method to send messages across a POST request that's followed by a redirect (versus a simple GET where it can be in the URL).
When processing a GET request, you can display whatever messages you want. The most simplistic way is to echo them directly; or if just slightly more sophisticated, set it in the template that's about to become the web page. When processing a POST request that is to be followed by a redirect, you can't do that. The response (redirect) sent back to the browser does not have any text or HTML content.
He points out two different ways to handle the problem - either manually append the message to the URL you're redirecting to or (a bit better method) store it in a session variable and remove it once its done. Several frameworks call this a "flash message". He gives examples of how to set this in two popular frameworks - Zend Framework and CakePHP.
voice your opinion now!
flash message framework zendframework cakephp post message get
IBM developerWorks: Setting up your own on-demand video site with PHP, Part 1
by Chris Cornutt April 02, 2008 @ 17:48:03
In this first article of a new series on the IBM developerWorks site introduces you to their method for creating your own "on-demand video website" with PHP:
In Part 1 of a three-part series on creating an on-demand video site with PHP, we begin by looking at the different flavors of digital video and their particular nuances. When creating video for the Web, the overarching issue you need to keep in mind is whether you want your video to be small and easy to download or whether you want it to be the best quality possible.
They'll also show you how to convert the video into the Flash Video format to make it easy to pull into an in-page Flash player. You'll need to register or log in to get to the article.
voice your opinion now!
ondemand video tutorial series flash
DevX.com: Four Ways to Transfer Data Between Flash and PHP
by Chris Cornutt February 05, 2008 @ 12:58:00
The DevX.com site has posted some code that gives you methods for passing information back and forth between PHP and a Flash application.
When you need to develop a web form with a special design and great effects, you will probably elect to use Flash. But building and programming Flash forms is considerably different from building standard HTML-based forms. [...] To do that though, you need to know how to access data in the Flash form and (sometimes) how to update the Flash form from PHP as well.
They help you build a sample Flash form as a base to work with in the transfer methods including the ActionScript to get the data out of each field. The tutorial shows the two way communication that's possible - pushing the Flash values out to the PHP script via a getURL() call and pulling the results back in with a call to loadVars() from the PHP script's output.
voice your opinion now!
data transfer flash application form script backend loadvars geturl
|
Community Events
Don't see your event here? Let us know!
|