 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Rob Allen's Blog: Zend Framework's Flash Messenger action helper
by Chris Cornutt August 24, 2010 @ 09:57:33
Rob Allen has a new post to his blog today about a handy helper that comes with the Zend Framework to help you store messages between requests.
I've talked about Zend Framework's action helpers before, but haven't covered any of the action helpers that are supplied with Zend Framework. FlashMessenger is a helper that allows you to store messages between requests. The most common use I have for it is for a "saved" message after doing an edit of an item that then redirects back to a list.
He includes an example of this helper in action in storing a sample message and pulling it back out on the other side. The message insert also includes a redirect() call and the output has a code snippet to check the messages property to see if there's any to show.
voice your opinion now!
zendframework flash message helper action
DZone.com: How to Use Flash for File Upload with PHP
by Chris Cornutt August 12, 2010 @ 14:47:36
On DZone.com there's a recent tutorial about combining PHP and Flash to make a simple file upload tool for your site.
User contributed content; it is core to the web. [...] This article will cover how to upload content to PHP, first from an HTML form, and then from a Flash-based form. We will explore the challenges you will encounter, and propose solutions with an emphasis on the client.
They show the normal file upload method for using PHP to handle the incoming content (explaining each piece along the way) and then include the Flash code you'll need to make things work similarly. They include some checking on things like file extension, file size, file type filtering and a progress indicator. They also show you how to give it multiple file capability. You can download the code in a complete zip package.
voice your opinion now!
flash file upload tutorial
Jozef Chuťka's Blog: Image Caching With PHP
by Chris Cornutt June 04, 2010 @ 11:33:44
Jozef Chutka was working on a Flash-based application and, in trying to optimize it, figured that he'd set up an image caching system to keep the app from having to grab the images each time. The result is shared in this post - a simple tool that relies on HTTP headers to notify the client if anything's changed.
I can not hold all of those [requests] within flash player cache because some of them may change, and I also want shortest possible respond times and client-server traffic reduction as well as server side computing reduction. That's where browser caching comes into the scene. I have experimented a bit with all possible http headers to understand each browser specifics and I came with a solution.
He includes a snippet of code that shows how it would check the current image and send the correct headers as to whether or not it needs to be updated from the cached version the application has. This also keeps you from having random parameters in your requests because the server always assures the content is fresh.
voice your opinion now!
caching image flash http header tutorial
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
|
Community Events
Don't see your event here? Let us know!
|