News Feed
Sections

News Archive
Michael Girouard's Blog:
Ajax for PHP Developers
July 28, 2008 @ 12:58:06

Michael Girouard has a new post (complete with slides about the PHP and Ajax presentation he gave at a recent New York PHP user group meeting, "Ajax for PHP Developers".

It felt a little strange presenting a JavaScript topic to a bunch of PHP developers, but I made it come back to PHP by demonstrating a the latest Panda PHP package which is only in incubation at the moment.

You can check out the slides on Slideshare and download the code from his site.

0 comments voice your opinion now!
ajax nyphp usergroup slides pandaphp



Andy Frey's Blog:
JavaScript PHP Remoting Demonstration
June 28, 2008 @ 16:22:17

Andy Frey dropped us a line to tell us about a method he's come up with to make a remoting interface between Javascript and PHP5.

This is a demonstration of a very fast and easy way to build AJAX-type applications where communications between JavaScript on the client side and PHP5 on the server side is ideal. This library makes development of such systems fast and very simple.

In his example he shows how to create the PHP and Javascript functions that let the service talk back and forth. He defines a simple "Hello World" style application to show how it would be structured. He also includes a bit of more complex that has other functionality - getting a value out of an array and returning a property/private variable from the backend class.

1 comment voice your opinion now!
javascript remoting demo ajax interface object


Jake Blauzier's Blog:
Event-Based AJAX Framework for PHP
June 12, 2008 @ 11:18:31

Jake Blauzier has just posted the last part of his series focusing on the creation of an event-based Ajax framework that works with PHP. It allows for calls to static functions, can return Javascript representations of PHP objects and a "call queue" system to keep things from overlapping.

Here's the list of the parts of the series:

  • Part 1 - introduction, sample usage
  • Part 2 - problems in making an event-based ajax callback model (and his solutions)
  • Part 3 - the use of JSON in the framework
  • Part 4 - implementation of the Scriptifiable interface
  • Part 5 - implementing the Remotable interface

You can download the latest version of his Ajax framework directly from his blog.

0 comments voice your opinion now!
eventbased ajax framework series json callback scriptifiable remotable


Community News:
Zend and Dojo Partnership for Ajax in the Zend Framework
May 21, 2008 @ 16:17:44

In his keynote this morning Andi Gutmans announced some other big news (see here for the other announcement) at the php|tek conference currently being held in Chicago - that Zend and the Dojo framework were teaming up to provide an "out-of-the-box" Ajax solution included with the Zend Framework.

Several members of the community have already blogged about it including:

So far, all of the comments have been good and the partnership has been well received. Matthew included in hist post a few of the places they're already planning on "ajaxing" in the Zend Framework (including the forms and the JSON-RPC server).

0 comments voice your opinion now!
ajax zendframework dojo javascript client library readymade


Christopher Jones' Blog:
New AJAX & PHP Book from Oracle Press
May 09, 2008 @ 09:33:25

Christopher Jones has a quick post pointing out a new PHP and Oracle-related book from McGraw-Hill (written by Lee Barney and Michael McLaughlin covering web development with Oracle, PHP and Ajax:

The prolific Michael McLauglin just sent me a copy of his other new book "Oracle Database AJAX & PHP Web Application Development", co-written with Lee Barney.

The book looks at how to build "faster, lighter and more responsive Web applications while reducing code support and creation time". There's chapters on scalability, the basics of Ajax, PDO and multimodel communications.

0 comments voice your opinion now!
oraclepress oracle ajax book michaelmclauglin leebarney


PHPBuilder.com:
Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2
May 05, 2008 @ 07:58:21

PHPBuilder.com has continued their series looking at building an Ajax-driven shopping cart with part two posted today (part one here). Last time they laid the PHP foundation for the example app, this time they add another layer - the Ajax functionality to manage the current contents of the cart.

Finally, a link to the shopping cart is provided, although you could just as easily have displayed the cart contents on the same page. For the sake of brevity I'll just show you how to integrate the add feature, and will leave the subtraction mechanism to you as an exercise.

The Ajax frontend calls a managecart.php backend file that calls addToCart and deleteFromCart based on which type of "task" is passed to it.

0 comments voice your opinion now!
shopping cart prototype tutorial ajax backend javascript


PHPBuilder.com:
Developing a Ajax-driven Shopping Cart with PHP and Prototype
April 29, 2008 @ 08:48:31

On PHPBuilder.com today there's a new tutorial posted showing how to combine the Javascript power of Prototype along side PHP's adaptability to create a simple, ajax-driven shopping cart for your site.

In the latest installment of this ongoing PHP series, I'll show you how to build a shopping cart using PHP, session handling, and the Prototype JavaScript library. The cart allows users to add and delete products from the cart, as well as change cart quantities. And of course, the interaction is seemingly instantaneous, allowing for the user to continue shopping without waiting for the page to reload.

They start from the ground up - making the database tables, inserting some data - before writing up the simple PHP class with methods like deleteFromCart and getCart. This lays the foundation for the next article in the series where they add in a splash of ajax to make it a bit more user-friendly.

0 comments voice your opinion now!
shoppingcart ajax prototype tutorial series


KillerPHP.com:
Zend Framework Using View Helpers to Build Rich, Scalable, Controls
January 31, 2008 @ 12:03:00

This new post from Jon Lebensold (on the KillerPHP blog) introduces you to a handy feature of the Zend Framework - View Helpers.

In summary, View Helpers are great for encapsulating forms, grids and other functionality that could eventually be bound to a different data source or even be pushed back to the user through a simple AJAX call.

Example code on how to use them is included showing a sample helper that adds Ajax functionality to a form's submit and pushes the response values back out into a div on the page.

0 comments voice your opinion now!
zendframework view helper ajax example code


Community News:
Simplicity PHP Framework
January 15, 2008 @ 12:09:00

Yet another PHP framework can be added to the lists already out there - Simplicity:

The Simplicity PHP Application Framework is an advanced, scalable and extensible PHP application framework to aid developers in creating high traffic, high availability Web 2.0 online applications. Integrating a solid MVC framework with some of the best Open Source projects around Simplicity aims to assist developers with any amount of experience in taking their applications to a new level.

As mentioned on the Ajaxian post about the framework, there's an Ajax admin console that lets the developer configure everything in their app including database info, creation of controllers and drop-in predefined actions.

0 comments voice your opinion now!
simplicity framework ajax mvc application download release simplicity framework ajax mvc application download release


DeveloperTutorials.com:
AJAX and PHP Form Processing
January 11, 2008 @ 09:38:00

The DeveloperTutorials website has a new tutorial posted today that covers their method for combining Ajax and PHP to create a custom form handler.

For this project, I needed a form to send an email to the client once it's been validated and checked to be ok. [...] I decided to spice things up a bit with a little AJAX and a few effects from Scriptaculous. So let's dive into exactly how I did it.

They create their form first - a standard user info type of thing - and set it up to use the WForms validation script in PHP. They include the Javascript the script needs to run the validation and to handle sending the form's contents back out via an email.

1 comment voice your opinion now!
ajax form processing email scriptaculous tutorial ajax form processing email scriptaculous tutorial



Community Events











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


releases developer cakephp security ajax code conference mysql application example zendframework PEAR job release package zend framework PHP5 book database

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