News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevChix:
Getting started with YUI's Connection Manager in Rails and PHP
March 02, 2007 @ 11:34:00

From the DevChix website, there's this new post that helps introduce developers (both in PHP and Rails environments) to hos to use the Yahoo! UI connection manager in their applications.

This post is geared towards folks who haven't done the "A" part of "AJAX" before (And I mean the first "A", as in "Asychronous"); are new to Yahoo's implementation of the XMLHttpRequest object (The Yahoo! Connection Manager) and would like added information on how that works; or both.

Sarah starts off slow with an example of making a connection to a backend PHP script as called by a HTML form. The simple example is fleshed out with a database backend (via PEAR::DB) and the Javascript to handle the response and the errors that might arise. Finally, a request can be made and the result eval-ed to give the client a nice, simple Javascript object to work with.

3 comments voice your opinion now!
yahooui library ajax connection tutorial rails yahooui library ajax connection tutorial rails


blog comments powered by Disqus

Similar Posts

Script-Tutorials.com: Form Validation with Javascript and PHP

SitePoint PHP Blog: How to Use PHP Namespaces, Part 1: The Basics

DZone.com: Refactoring away from spaghetti PHP

Martin Sikora's Blog: Symfony 1.4 on shared webhosting

Andrei Zmievski's Blog: "PHP Eats Rails for Breakfast"


Community Events





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


symfony introduction community tool composer update mvc laravel voicesoftheelephpant series release security library interview framework language opinion podcast version package

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