jMaki Supports PHP 5

jMaki is a framework that provides a lightweight model for designing or creating reusable AJAX-enabled widgets and the services needed to back those widgets. jMaki provides an extendable and customizable insulation between your application code and the JavaScript toolkits out there today.  The framework includes a simple widget API that you can use to create […]

jMaki is a framework that provides a lightweight model for designing or creating reusable AJAX-enabled widgets and the services needed to back those widgets. jMaki provides an extendable and customizable insulation between your application code and the JavaScript toolkits out there today.  The framework includes a simple widget API that you can use to create new widgets or wrap existing widgets from widget libraries such as those from Dojo, Yahoo UI Widgets, Abobe Spry, or Scriptaculous. The key benefit is that once you wrap a widget, you can customize it and re-use it throughout your application. You can easily customize a jMaki widget by changing markup in an HTML template file, script in a JavaScript file, or styles in a CSS file.  And you can can make any of these customizations at runtime without re-deploying the application. Keep in mind that you can perform most customizations using parameters to an individual widget instance. jMaki is made up of three main components, which are the JavaScript Runtime, the Server Side Runtime, and the XmlHttpProxy.
Continue for more info and download....

Greg Murray on his blog posted —”that jMaki now has a server runtime that fully supports jMaki for PHP 5. This is in addition to JSP, JSF, and Phobos.”

You now have a simple way to build Ajax style applications using client centric JavaScript. jMaki is a framework that provides CSS layouts, widgets, and the glue to tie everything together. Out of the box you can use Dojo, Yahoo UI, Scriptaculous, and many other libraries together with a simple PHP call. To use jMaki you simply unzip a file into your PHP 5 web directory.

The example below creates a Dojo tree which consumes a tree.json file that defines the tree data.
<?php require_once 'jmaki.php'; ?> <?php addwidget('dojo.tree', 'tree.json'); ?>

A more advanced example:
<?php require_once 'jmaki.php'; ?> <?php addwidget('dojo.table', null, null, "{ columns: { title : 'Title', author:'Author', isbn: 'ISBN #', description:'Description'}, rows:[ ['JavaScript 101', 'Lu Sckrepter','4412', 'Some long description'], ['Ajax with Java', 'Jean Bean','4413', 'Some long description'] ]}"); ?>

Greg Murray's Blog | ajaxmagazine

jMaki, Supports PHP 5