News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
feed this:

Sony AK Knowledge Center:
Create Realtime Chart Without Page Refresh using FusionCharts Free & Ajax
March 03, 2010 @ 13:36:55

On the Sony AK Knowledge Center there's a new tutorial showing how to use FusionCharts (Free) to create a real-time charts with no page refresh. FusionCharts is an open source Flash charting component for desktop and web apps.

We will create realtime chart data update that reflect to price fluctuation. There is a line type chart to visualize the price fluctuation. The data of price fluctuation will be fetched from database every 5 seconds using Ajax call and then display the latest 5 (five) data to the chart without any page refresh.

Using FusionCharts and Prototype, they show how to pull information out of a backend MySQL database into a basic graph (HTML and Javascript provided) with a periodic update that grabs the latest from the backend PHP script and pushes it to the graph. You can see an example of the graph here.

0 comments voice your opinion now!
tutorial realtime chart flash fusioncharts ajax javascript



RIAZone:
Integrating PHP with Flash Collaboration Services
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.

0 comments voice your opinion now!
flash collaboration services api tutorial


NETTUTS.com:
15 Wonderfully Creative Uses for PHP
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.

0 comments 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
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.

0 comments voice your opinion now!
prodevtips flash zendframework zendamf tutorial


Andreas Gohr's Blog:
Old and New DokuWiki Plugins
January 30, 2009 @ 12:02:07

In a new post to the splitbrain.org blog, Andreas Gohr takes a look at some of the older (but still useful!) and newer plugins for the DokuWiki application.

During the last few weeks I wrote a few new DokuWiki plugins and updated some old ones. This post is to give you a short introduction about each and what is new in the updated ones.

The plugins that made the list are:

0 comments voice your opinion now!
dokuwiki plugin s5 captcha form validate disqus graphgear flash graph


Daniel Cousineau's Blog:
PHP Women Best Practice Contest Posts
July 31, 2008 @ 16:09:00

Daniel Cousineau posted copies of his submissions to the PHP Women group's Article Contest (Best Practices) that finishes up today.

I made a few posts to the PHPWomen.org Article Competition and felt I should share them here.

His three submissions are:

There's still (a little) time to get your own submission in to the contest to get over and submit your article for your chance to win a copy of Zend Studio and maybe get your article featured in Linux Pro Magazine.

0 comments voice your opinion now!
phpwomen article contest submit flash error magic function pathing


Alessandro Crugnola's Blog:
AMFPHP issue referencing ByteArray
July 11, 2008 @ 08:47:43

In trying to get PHP, AMFPHP and Flash to cooperate together with ByteArray information, Alessandro Crugnola came across some issues:

Recently I made some test in AMFPHP sending an retrieving ByteArray to be stored in a mysql blob field. But suddenly I encounter a problem when I was trying to return an array of ByteArrays and I could not find out the reason flash continued to show me [an] error.

He includes the offending code on both the PHP and ActionScript side and his ultimate solution - a problem with AMFPHP's serializer. He's even made a patch file if you're seeing the same issue and want to bring your install up to date.

0 comments voice your opinion now!
amfphp flash bytearray serializer error patch update


PHP in Action Blog:
Flash messages
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.

0 comments 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
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.

2 comments voice your opinion now!
ondemand video tutorial series flash


DevX.com:
Four Ways to Transfer Data Between Flash and PHP
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.

0 comments voice your opinion now!
data transfer flash application form script backend loadvars geturl



Community Events









Don't see your event here?
Let us know!


facebook codeigniter extension hiphop sqlserver framework doctrine windows developer feature podcast zendframework joomla opinion microsoft job release wordpress conference symfony

All content copyright, 2010 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework