PHP Ajax Frameworks - Ajax Patterns

PHP Ajax Frameworks

From Ajax Patterns

See also Multi-Language_Ajax_Frameworks and Ajax_Frameworks.



Phery.js Phery.js is a tight implementation for DOM manipulation on the browser through AJAX directly from PHP, that is actively developed, since 2010, latest version in April 2013. Alternative to XAJAX

The most advanced jQuery AJAX library for PHP. Using event delegation, every new element on the DOM can promptly send AJAX calls as easy as adding a data-remote. You may even access the DOM element that is making the AJAX call from inside PHP.

  • Declarative and unobstrusive HTML instead of imperative Javascript
  • AJAX file uploads for good browsers with no effort, just make the form pheryfied
  • Really small footprint, no external dependencies beside jQuery
  • Coded with performance and security in mind
  • Code, server and client side, completely commented, all methods have docs
  • Javascript config locking and Object.freeze to make it harder for tampering
  • The same way you write jQuery in Javascript, you write it in PHP
  • Turns static Javascript app code into a dynamic language with a chainable query builder style
  • Unit tested, mocha for the Javascript and PHPUnit_Selenium for PHP
  • Support for old, new and upcoming jQuery functions out of the box, since nothing is hard coded
  • You may nest PheryResponses the way you would with jQuery
  • You may set Javascript callbacks directly from PHP
  • You can call jQuery plugin functions directly from PHP (think colorbox for example)
  • Built-in CSRF mechanism that makes each AJAX request signed
  • Inline conditional execution using unless or incase
  • Access or call any Javascript code on the page, set/unset variables, add functions to the page on-the-fly
  • Plays really well as the transport for client-side frameworks and libraries as such AngularJS, Ember.js, Knockout.js, ExtJS, Backbone

Requires PHP 5.3.3+ and jQuery 1.8+ (works with jQuery 2.0)


Cjax Cjax is an MVC (Model-View-Controller) oriented, lightweight (>100kb) ajax framework aimed at PHP applications/sites.


  • Lightweight > 100kb
  • 100% Ajax
  • Zero Configuration
  • No page footprint
  • No inline codes
  • No Snippets or JavaScript needed
  • No front-end JavaScript.
  • 100% server side
  • Insanely Fast
  • Lives in harmony, not in competition with other frameworks
  • Uses a combination of data services objects, xml/json
  • Easy and Generic API
  • Most APIs is just 1 line of code!
  • 5+ Years of Improvements and development growth
  • 50% PHP, 50% JavaScript
  • Docs+Samples+Demos+API Available
  • Clean Code and 100% OOP
  • Extendible (through plugins)


PRADO is an open source, object-oriented, event-driven, component-based PHP web application framework for Rapid Application Development with PHP. The main features are:

  • A very clean, extensible, dynamic, XML-conformant, tag-based templating system, similar to ASP.NET's, but adding more functionality and better suited for PHP's dynamic approach.
  • Clear separation of presentation, input handling and business logic, based on the Model-View-Controller approach.
  • Database Access Objects (DAO), XML-based SQLMap data mapper, parameterized query builder, Active Record and automatic scaffolding.
  • Interactive client-side presentation layer based on the Prototype JavaScript Framework and effects library. It can however also use external controls based on jQuery and other JavaScript frameworks.
  • Form input and validation. Supports validation both on client- (for fast user feedback) and server-side (ensuring data integrity and data security).
  • Ajax-enabled active widgets (such as auto-complete input field, active button, active data grid) which can be updated, shown or paged dynamically, without having to reload and re-build the whole page.
  • Built-in support for Search Engine Optimized (SEO) and user-friendly clean URLs, which works without needing rewrite support from the web-server.
  • Over 100 standard controls/widgets, including Drag & drop, validation and data-bound controls.
  • Highly customizable data grid, with support of automatic generation of columns based on automatically discovered database schema.
  • Built-in authentication and authorization support.
  • Skinning and theming.
  • Internationalization and localization (I18N and L10N) support, including message translation, date and time formatting, number formatting, and interface localization.
  • Full support of using Unicode and non-english custom codepages, including automatic transcoding between client- and server-side characters sets.
  • Layered caching scheme. It supports separate caching of data queries and output fragments. Supports multiple mediums (database, shared memory, memcached) for storing cached data, and dynamic cache entry validation upon retrieval.
  • Supports progressive rendering of pages, automatic script minification and on-demand lazy-loading of client-side script and stylesheet files for fast-loading pages.
  • Error handling and logging. Errors are handled and presented more nicely, and log messages can be categorized, filtered and routed to different destinations.
  • Built-in security measures include cross-site scripting (XSS) prevention, cookie tampering prevention and SQL injection prevention.
  • Unit and functionality testing based on PHPUnit.
  • Automatic skeleton application generation from the PRADO command-line tool.
  • Supports both XML-based and native PHP-coded configuration of application and run-time environments.
  • Code generated by PRADO components adheres to the XHTML standard.
  • Supports creation and consummation of SOAP- or JSON-based web services.
  • Works well with third-party code, including PEAR and Zend Framework.


PHPLiveX is a lightweight php-javascript class library that helps you integrate AJAX to your php applications. Without reloading the page, you may call your php functions in the same page, submit your form to an url and send a request to another page with any type of data

  • Lightweight with one class library
  • Enrich your php applications with ajax
  • Call your php functions and class methods from javascript in one line
  • Submit forms and send ajax requests to an url
  • Easy dom manipulation via ajax response
  • Show your own preloading during the process
  • Pass your objects and arrays between php and javascript each other
  • Ajax File Upload feature with progress controls
  • Browser history manipulation with ajax
  • See examples


tppAJAX is a lightweight, yet feature-rich PHP and Ajax toolkit that is compatible with PHP versions 4 and 5.

  • New 2008 version supports JSON with XSS Blocking technology!
  • Works in all major browsers on all major platforms (Mac/Win/Linux)
  • True HTTP GET/POST AJAX calls - no confusing server side API to learn.
  • Includes simple Javascript interface to the xmlHttpRequest object
  • Lightweight easy-to-use PHP code generates output for Ajax interactions
  • Installation and custom development services available.
  • Actively being developed - not some dead-end code
  • See Sortable List Demo
  • See The Php Pro Home Page
  • Not Open-Source!

Akelos PHP Framework

Akelos PHP Framework

  • The Akelos Framework is a PHP4 and PHP5 port of Ruby on Rails Web Development Framework.

Watch the creating a Blog in 20 minutes Screencast

The main goal of the Akelos Framework is to help programmers to build multilingual database-backed web applications according to the Model-View-Control pattern. It lets you write less code by favoring conventions over configuration.

  • Features ported from Rails are:

Active Record (Model)

   * Associations (belongs_to, has_one, has_many, has_and_belongs_to_many)
   * Finders (not so cool as Ruby on Rails but you can still do $Project->findFirstBy('language AND start_year:greater', 'PHP', '2004'); )
   * Acts as (tree, nested_set, list)
   * Callbacks
   * Transactions
   * Validators
   * Lockings
   * Observers
   * Versioning
   * Scaffolds
   * Support for MySQL, PostgreSQL and SQLite (might work with other databases supported by ADOdb)

Action Controller

   * Filters
   * Pagination
   * Helpers
   * Mime Type
   * Mime Response
   * Code Generation
   * Flash messages
   * URL Routing
   * Response handler
   * Url rewriter

Action View

   * Templates (using Sintags, plain PHP or your favorite engine)
   * Web 2.0 javascript using prototype and
   * Helpers
   * Partials
   * Template Compilers

Additional Akelos Framework Features

   * Multilingual Models and Views
   * Locale alias integrated on URLS ( will load the es_ES locale)
   * Database migrations
   * Pure PHP support for Unicode (no extensions required)
   * Unit Tested source code
   * Code Generators
   * Built in XHTML validator
   * Automated locale management
   * Clean separation from HTML and Javascript using CSS event selectors.
   * Ajax file uploads.
   * Format converters.
   * File handling using SFTP for shared host running Apache as user nobody (as most CPanel server do).
   * Distributed sessions using databases.

The Akelos Framework integrates a server-side AJAX layer together with helpers "a la", to provide an easy way to build AJAX applications in PHP with a tight integration of prototype, and the MVC model.

Open source license (LGPL License).

Agile Toolkit

Agile Toolkit is the whole new concept to fully use potential of PHP5. Having conceptually proper MVC implementation, support for multiple APIs and fully OOP design makes it very good choice for writing serious applications.

  • Distributed under AGPL / Commercial license, which is good for your commercial application
  • Stable since May 2010, have been used commercially
  • Compatible with major browsers
  • Offers many visual classes to make a real web applications (portals, information management system, document workflow, etc)
  • Transparent AJAX support used for reloading part of the page, submitting forms, switching lister pages, filtering data, sorting and more
  • Completely extendible, various add-ons available
  • Innovative template manager well fitting into MVC design (SMLite)
  • Multiple API classes allows to develop either lightweight or full-featured applications
  • View quick intro - tells more about how to use it
  • Commercial support available

AModules3 was renamed to Agile Toolkit in 2010. Agile Toolkit is currently in version 4.0


aSSL - SSL for Ajax. aSSL is an open source library built to substitute the need for SSL in Ajax applications.

AjaxAC (From April, 2005)

AjaxAC encapsulates the entire application in a single PHP class. From the website:

  • All application code is self-contained in a single class (plus any additional JavaScript libraries)
  • Calling PHP file / HTML page is very clean. All that is required is creating of the application class, then referencing the application JavaScript and attaching any required HTML elements to the application.
  • Built in functionality for easily handling JavaScript events
  • Built in functionality for creating subrequests and handling them
  • Allows for custom configuration values, so certain elements can be set at run time
  • No messy JavaScript code clogging up the calling HTML code - all events are dynamically attached
  • Easy to integrate with templating engine due to above 2 reasons
  • Easy to hook in to existing PHP classes or MySQL database for returning data from subrequests
  • Extensible widget structure to be able to easily create further JavaScript objects (this needs a bit of work though)


Ajax Agent (From February, 2006)

Ajax Agent is very simple to use Ajax framework created by two Ajax pros (Steve Hemmady, the Lead Architect behind award winning Onepage Portal Server (now Sybase Enterprise Portal) & Anuta Udyawar, a core engineer behind the Content Express For Microsoft Commerce Server).

  • Aims to make Ajax work as simple as possible. Based on KISS (keep it simple stupid)
  • The PHP version offers three steps to get started with the framework:
  $agent->init();'url','server_function', 'client_handle', param1, param2, ...); 

The first line is declared to include the Ajax Agent library, initialize the agent framework & instantiate the server side 'Agent'. The second line instantiates the client side 'Agent'. The third line which runs on the client side within the JavaScript browser environment, uses the client side 'Agent' to directly call the server function asynchronously.

  • Supports complex data types like associated arrays & objects
  • Makes use of JSON (JavaScript Object Notation) for data interchange format
  • Open source framework/toolkit licensed under the GNU General Public License
  • Developed by Steve Hemmady & Anuta Udyawar

This site is not working anymore

Cajax (added December 2005)

Cajax is a PHP object-oriented framework to create and handle server-side requisitions through javascript remote calls. Some features:

  • Simple server-side programming,
  • Almost no client-side programming (less Javascript writing is possible)
  • Handler for server-side events,
  • A suggest handler like Google's,
  • Plug-in for multiple selects (like country/state/city),
  • Remote server calls directly from javascript, using an abstraction layer
  • Plug-in for submiting forms though XMLHTTPRequest
  • Javascript caching
  • Open-source library (LGPL) by Thiago Pappacena


Claw allows developing tree-structured web applications with ease, while having the following things in mind:

  • Clean Code / Database / Display logic seperation with Hierarchical MVC
  • Page / method / variable chains (i.e.: /articles/read/10/comment/35)
  • Search engine friendly & clean URLs without creating dozens of rewrite rules
  • View / Variable inheritance during application flow
  • Rapid and intuitive development process
  • User permission handling
  • Outside variable handling ($_GET, $_POST, $_REQUEST, $_COOKIE, etc.)
  • Form handling and processing
  • Session handling
  • Configuration file handling
  • DRY and KISS principles
  • Support for web trends (i.e. AJAX)
  • Database independance & object persistance
  • Human-readable manual and example applications
  • Loose-coupled components with possibility of choice and extensions
  • Portability, easy setup and configuration (changing app location will not require changing any configs, except for .htaccess RewriteBase, which is optional)

This site is not working anymore


CrossBrowserAjax is a free, tiny, fast, and truly cross browser Ajax library.

  • Works with IE5.0+ ( even with disabled ActiveX ), Mozilla 1.7+, Firefox 1.0+, Opera 7+, Safari
  • Small size. 2.5Kb compressed
  • Data can be loaded from different host.
  • Easy-to-Use.
  • See Ajax Tabs Demo

DutchPIPE - Avatar worlds on websites

DutchPIPE is a PHP object-oriented framework to turn sites into real-time, multi-user virtual environments:

  • Make fora, chat rooms, card games or virtual RPG worlds with avatars. See your buddies wander around. See the site for a demo, no login required.
  • Make easy-to-use product and shopping cart pages. Have automated and/or real person site assistants stand by to assist your customers and increase sales.
  • Each page will become an abstracted environment or location where visitors and other items on the page are visualized.
  • This status is retained as visitors move around.
  • A whole lot of real-time interaction is possible.
  • Developers program "world" objects in PHP - No Javascript coding required.
  • Multilingual support
  • Open source license (MIT).


Flexible Ajax Framework

Flexible Ajax is a handler to combine the remote scripting technology, also known as AJAX (Asynchronous Javascript and XML), with a php-based backend.

  • written in PHP5 using object-oriented code (PHP4 supported since Version 0.2.2)
  • consists of a client and a server handler
  • allows separation of the client-code and the server-code
  • get and post methods supported
  • easy to implement into existing code



FURIA is an open source desktop emulation framework. Supporting multiple windows control, taskbar control and icons. PHP/PostgreSQL. The link currently returns 404.


Guava's Homepage on Sourceforge

  • Object Orientated Design
  • Hybrid Event-Driven and Process Driven Interface
  • Also application environment where multiple Guava applications can co-exist.

HTS Web Application Framework

HTSWaf provides seamless client to server event handling.

  • The HTS Web Application Framework is a PHP and Javascript based framework designed to make simple web applications easy to design and implement. The framework implements a custom tag engine with an automated Javascript and/or PHP Event Model and automates the transfer of data to and from the server.
  • Visit the website for more info and examples.
  • Currently in demo stage, by Bert Rosell.

Website not available


jCombo is an Open Source PHP Ajax framework based on jQuery that allows you to easily build powerful, dynamic, data-driven web applications. jCombo doesn't require special skills to use as it combines the best existing technologies into one convenient package. The jCombo framework has a strong leaning towards MVP architecture but it isn't constrained to any specific implementation.

Some key features of the jCombo framework are:

  • It lets you call PHP class methods (server side) directly from JavaScript (either synchronously or asynchronously) - jCombo automates all necessary Ajax requests. PHP objects that are returned by PHP methods are automatically converted to valid JavaScript objects for use on the client-side.
  • Errors on the server-side are channeled through Ajax and thrown on the client-side as JavaScript exceptions so you always know what's going on (This makes Ajax debugging and error-reporting much easier!)
  • Allows you to define 'script router files' which work by routing URLs directly to .js files as opposed to regular web page files - This allows you to write entire applications using only .js files - This URL routing capability allows users of your application to add bookmarks to specific .js files in their browser.
  • It is easy to setup - After you've downloaded jCombo, you can just copy the main folder into the appropriate location and start adding files to the appropriate directories! No need to play around with URL rewriting or compiling!
  • It is flexible enough for large-scale application development - A single jCombo 'engine' can run an unlimited number of different applications located in different directories. In effect, the jCombo engine can act as a separate entity from individual applications and thus can be updated and maintained separately if need be. (This feature is ideal for platform-as-a-service)


jMaki is an Ajax framework that provides a lightweight model for creating JavaScript centric Ajax-enabled web applications using Java, Ruby, PHP, and Phobos.


jPOP is an All-PHP Ajax and RIA Framework

  • Absolutely no Javascript coding required, all you use is PHP.
  • Very very simple and readable code, no steep learning curve.
  • Make a div ajax-enabled with just one line of PHP code.
  • Create sleek css-html-javascript windows easily from PHP.
  • Easy installation
  • Licensed under open-source MIT license
  • Makes coding Ajax and RIAs almost as fun as using them!


JPSPAN passes Javascript calls directly to PHP functions.

  • Heavily unit-tested.
  • Open-source license.

Quote from Harry Fuecks, main developer of JPSpan : "While giving this talk, mentioned JPSpan is effectively dead — HTML_AJAX is, to some extent, its successor—it’s a bit like PEAR::SOAP and NuSOAP."


My-BIC My-BIC AJAX State of Mind for PHP harmony

  • This is a basic state of mind system rather than a framework
  • Allows you to focus on making things happen rather than setting things up
  • Support for XML, JSON and TEXT ajax transactions
  • Supports EasyForms for one line form processing
  • Supports network Down handling if the server goes down
  • Simple, Fast, easy to use
  • Client side JSON encoding support


HTML_AJAX PHP and JavaScript AJAX library. (Description taken from the PEAR page.)

  • Provides PHP and JavaScript libraries for performing AJAX (Communication from JavaScript to your browser without reloading the page)
  • Offers OO proxies in JavaScript of registered PHP or proxyless operation
  • Serialization of data sent between PHP and JavaScript is provided by a driver model, currently JSON and Null encodings are provided.
  • Open source license (LGPL) by multiple contributors.

Mook l97ba

Kumbia PHP Framework

Kumbia is a full-stack framework written in PHP for developing database-backed web applications according to the Model-View-Control pattern and other patterns as ActiveRecord and TemplateView. Optimized for programmer productivity.

Spanish Only: Kumbia PHP framework

NanoAjax (added July 2006, updated October 2006 and NEW version July 2007)

NanoAjax is a PHP (Version 5.x.x and above) based framework.

New Version available in 22. July 2007 !!! More features, many new examples and a lot of bugs fixed!

It uses JSON (Javascript Object Notation) to encode/decode data between server and browser;

Multiple (virtual) requests can be summarized into one (real) AJAX request. Project website on and its own website NanoAjax are available.

  • packaging multiple (virtual) requests in one real AJAX request
  • adjusted for developers (knowledge about PHP and medium JavaScript is required)
  • small, fast and easy to use
  • class based handler for server-side events (class + method)
  • uses full compact JSON for data transfer [client->server;server->client]
  • JavaScript object-based programming
  • PHP 5 object oriented programming (OOP) [used Design Patterns: Registry, Strategy, Factory, and more]
  • automatic use of internal PEAR JSON Extension or ultra-fast PHP JSON Extension (if installed)
  • new and highly extended examples with own GUI: Hello World, Disk Usage, City List and Google Suggest Clone [NEW]
  • Server-Side (PHP) straight unit-tested (with PHPUnit 3 and Phing for visual display, incl. code-coverage)
  • Client-Side (JS) in future version it will be unit tested (with JSUnit)
  • Open-Source license (GPL) no longer available

Novulo (added August 2006)

Novulo is a development tool for AJAX applications. It uses a Java application to design the UI without any programming. Then it generates an operational AJAX application.

  • object-oriented
  • database independent
  • advanced search functions and user-rights-management

Insert non-formatted text here


Picora a minimalist framework that provides only a Controller and View class. The Controller supports integration with Prototype both in determining what method (GET/POST/AJAX) was used for the request, and by optionally by returning JSON data.

  • Open-source. By Picora Pipeworks.

PHP OpenBiz (added July 2011)

OpenBiz & Cubi is a php-based rapid application development platform. Openbiz is a full featured AJAX oriented framework that uses a MVC organization. Cubi is a base platform that provides commonly used modules and tools. Both really shine when building database driven applications because they provides a simple way to specify basic CRUD operations. It also has an easy way to extend classes.

Cubi provides modules that address the most common tasks for administrators and end users.

   Manage users & roles
   User Registration, login, passwords and profiles
   Email Templates, Backups, Caching, Event Logs and Menus

OpenBiz provides a library of ready to use form widgets, AJAX handling by default, session management and ORM tools.

Qcodo (added April 2006)

Qcodo is a PHP-based MVC, code-generation framework.

  • Completely object-oriented, stateful, event-driven architecture for HTML forms processing and rendering - completely separates code and display HTML.
  • QForms and QControl libraries provide low-code AJAX support
  • Open-source (MIT license) by multiple contributors, Mike Ho and QuasIdea Development are primary developer & sponsor.
  • GIThub Hosted with Package Manager System
  • Qcubed fork with 10 core contributors that is basically the same but a lot has been patched.


Sajax is an open source tool to make programming websites using the Ajax framework — also known as XMLHTTPRequest or remote scripting — as easy as possible. Sajax makes it easy to call PHP, Perl or Python functions from your webpages via JavaScript without performing a browser refresh. The toolkit does 99% of the work for you so you have no excuse to not use it.ok.good

Simplicity PHP Framework

Simplicity is a lightweight modular web development framework released under the MIT licence.


SimpleJax is a lightweight (2.3KB!) combination of JavaScript and PHP that allows you to create highly flexible, AJAX-enabled applications on the web with only five short lines of code.

  • If you're interested in getting in on the AJAX craze, but don't feel like putting up with the hassle or learning curve of some of the more complex AJAX frameworks, SimpleJax is for you.

Pay: $12.95

Jehzeel H. Laurente


[1] is an open source framework that was created by "Anywhere Together Software" for their application development. The framework is component based and by wrapping a component around a peice of other open source it utilises all existing open source. The framework also supports AJAX (web 2.0) development natively. The site contains their flagship product "Files Together" which can be installed with a free 2 user license. This uses ajax extensively. The site also contains some tutorials on getting started creating your own web application using the framework.

Stratos PHP Framework

Stratos PHP Framework

Stratos is an open source web application framework that uses the Dojo Toolkit for AJAX support. Stratos provides a built-in RequestAction class and JavaScript functions for dynamically updating page content.

Sybrain Framework

Sybrain Framework

Sybrain Framework is a Web2.0 plataform for development, deployment and management of MSA (many small applications) based web applications. The MSA architecture is an alternative to the complexity of MVC.

  • Ajax/PHP based framework.
  • Comes with basic applications for the whole lifecycle of an application.
  • LGPL license.



  • Based on the best practices of web development, thoroughly tried on several active websites, symfony aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure.
  • Symfony provides a lot of features seamlessly integrated together, such as:
    • simple templating and helpers
    • cache management
    • smart URLs
    • scaffolding
    • multilingualism and I18N support
    • object model and MVC separation
    • Ajax support
    • enterprise ready
  • The symfony web framework integrates a server-side AJAX layer together with helpers "a la", to provide an easy way to build AJAX applications in PHP 5. A step-by-step tutorial describing the creation of an interactive shopping cart demonstrates the tight integration of prototype, and the MVC model.
  • The Advent Calendar initiative illustrates how to build a real AJAX application in 24 short tutorials, complete with downloadable code. Interactive form submission, Folksonomy, visual effects are some of the AJAX features of the askeet website they are building live. A must see.
  • Open source license (MIT License), sponsored by Sensio.
= PAJAX - Remote (a)synchronous PHP objects in JavaScript = PAJAX is a PHP-based remote object binding framework. * GPL * demo = PAJAX - Remote (a) synchrone objets PHP en JavaScript = 'PAJAX est un cadre basé sur PHP objet distant contraignant. GPL * * / pajax / demo [['shafha 9bal mnnak]]

PAJAJ - PHP Asynchronous Javascript and JSON

PAJAJ is a object oriented Ajax framework written in PHP5 for development of event driven PHP web applications.

  • Simple
  • Develop how you want (supports 3 different development models)
  • Event Driving
  • Late Binding of Events
  • Object Oriented


phpAjaxTags is a port to PHP of famous java tag library "AjaxTags" (SF Page)

  • Simple but powerful
  • Easy to install and use
  • No Javascript coding required
  • Loose documentation with unknown parameters
  • Various on-line demos available
  • Apache open source license 2


PHPWebBuilder is an object-oriented framework for building web applications in PHP. It supports AJAX transparently, MVC, and object persistency (with automatic database generation).


Tigermouse is object oriented, LGPL licensed PHP/AJAX framework for development of highly interactive web applications in MVC architecture. Its main principle is to be as much client side processing independent as it is possible to provide high reliability and stability. It requires no to little Javascript coding, no manual callbacks handling and no configuration. Noteworthy features are:

  • full native AJAX support with queuing and expiring
  • MVC architecture
  • pluggable input/output filters
  • powerful ActiveRecord implementation
  • SWT-, Qt- or GTK#-like user interface implementation
  • extensible i18n support
  • native support for Smarty templates
  • built-in development tools

Tigermouse is much more than just a library for binding PHP classes or functions to Javascript ones. It is an abstraction layer that can help you forget about all this mess: XMLHttpRequest, callbacks and URL parameters. See example calculator application in tigermouse:

 class MainCtrl extends Ctrl {
   public function show() {
       $f = new Form();
       $f->add(new Input('a'));
       $f->add(new Input('b'));
       $compute = new Button('compute');
           new ClickListener(
               new Action('MainCtrl/compute', $f->valueReader())
       $f->add(new Label('result'));
       return $f;
   public function compute(FormContext $cx) {
       $label = new Label('result');
       $label->text = $cx->a + $cx->b;
       return $label;

That's it. No Javascript as promised.

Insert non-formatted text hereMedia:Example.oggImage:Example.jpg


xajax passes Javascript calls directly to PHP functions.

  • Use Javascript stubs to call functions, object methods, and class methods in a PHP script.
  • The response is created using the xajax response object which provides numerous commands, such as assigning HTML to an element, displaying an alert, and more. Custom script output is also supported.
  • All browser-specific code (such as using XMLHttpRequest) is abstracted, and sending various types of data to the server (including form submission via Ajax) is very easy to accomplish.
  • It supports a number of configuration options to allow easy integration with existing Web apps and frameworks.
  • The Javascript core is easy to understand and can be overridden to support more advanced Javascript functionality.
  • Well-supported via forums and a new Wiki with documentation and tutorials
  • Open source (LGPL) by J. Max Wilson & Jared White.
  • See Xajax Page in AjaxProjects

Yii PHP Framework

Yii PHP Framework

  • Yii is a high-performance component-based PHP framework for developing large-scale Web applications.

The framework has very little overhead and is thus best suitable to handle Ajax requests which often demand prompt responses. Moreover, Yii integrates jQuery and provides seamless Ajax support on top of that. It also provides several Ajax-driven widgets which make building Ajax-enabled Web applications faster.

  • Yii is released under the terms of New BSD License, sponsored by Yii Software LLC.

Ajax Framework Extensions

   * The Ext4Yii framework provides a bridge between Yii and ExtJS Ext4Yii Website

Lion PHP Framework

Lion PHP Framework is an emerging open source PHP framework for creating rich web applications as a combination of the most valuable features and patterns taken from the development community.

This PHP framework is the perfect balance between rapid development, scalability and performance, meaning that it has been specially designed for people who need to reduce engineering efforts, people who need scalable architectures to maintain as well as people who need a thin-layer PHP framework to increase the performance as much as possible.

Lion brings native AJAX components. It also covers the reverse AJAX

Last but not least, this framework is completely free of charge and released under the MIT license terms.

Jax Framework

Jax Framework is a PHP and JavaScript AJAX framework which provides everything you need to start developing AJAX applications right now.

Jax Framework integrates AJAX, jQuery, PHP and phpdaogen to create web applications which feel like desktop apps.

Jax Framework uses jQuery and jQuery-UI to do the client-side User Interface (UI) heavy lifting.

Jax Framework includes YAML-driven code generators a la Symfony, enabling the rapid development of enterprise-quality, browser-based applications which have the look and feel of desktop applications.

Jax Framework includes support for multiple languages through the use of Resource Bundles, similar to Java.

Jax Framework is licensed under the BSD license, with some third-party components licensed under the MIT license.

Jax Framework Article

J4P micro Ajax

J4P micro ajax in a simple way brings extensive ajax functionality in PHP applications at a minimum of size. You also can use a wide range of JS and the jQuery library on PHP side.

  • Very lightweight
  • Uses PHP magic methods to be flexible also in future
  • Licensed under the MIT license

SSA (Simple service access)

With SSA you can call your php service in your javascript code. A javascript file is automaticly generate with your php class file, and after you can call your php service as a javascript service. Ssa have a symfony bundle, or a standalone version.