News Feed
Sections




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

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


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Book Review: Object-Oriented Programming with PHP5

Felix Geisendorfer's Blog: A PHP developers guide to JavaScript - Part 1

NetTuts.com: Mockery: A Better Way

Zend Developer Zone: AJAX Chat Tutorial Pt 5: Javascript, Sending Chat Messages, Screen Name Changes

Chris Hartjes' Blog: Fun with API's - FRAPI and django-tastypie


Community Events

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


install api voicesoftheelephpant extension podcast series community framework xdebug unittest library opinion php7 laravel release language interview version introduction example

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