jMaki Project Announces Support for PHP
The jMaki project, which looks like it started life as a JSP tag project, announced today that they now supports PHP as well as Java. For those unfamiliar with the jMaki project, here a blurb from their homepage.
jMaki is an Ajax framework that provides a lightweight model for reusable Ajax-enabled widgets of your own design or for those extending existing toolkits such as the Dojo toolkit. jMaki facilitates the passing parameters to your widgets and provides the means to better connect your widgets to your server-side resources using XML or JSON. Currently the jMaki server-side runtime is provided as a JSP tag library or a JSF component. See About jMaki to learn more.
Blogger Greg Murray posted today that the jMaki project is proud to announce PHP 5 support for jMaki. Here’s what he had to say
What does this mean for PHP developers?
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 blog post has some sample code using jMaki and their PHP class to instantiate Yahoo maps and Dojo trees. Looks like an interesting piece of code for those who are wanting to tie their backend PHP to their frontend AJAX. Go give Greg a read. There a lot more details than what I’ve given you here.
=C=

Comments
class IndexController extends Zend_Controller_Action {
public function indexAction() {
require_once '/home/sevencorvina/seven.subdeviate.com/library/jmaki/Jmaki.php';
}
public function noRouteAction() {
$this->_redirect('/');
}
}
Just made a basic class; in my bootstrap I'm using the __autoload($class) method that was pointed out to be extremely useful in a recent Framework Gems article. Using __autoload(), though, causes a nice little issue; It tries to load PEAR/Error.php, a file that doesn't seem to exist at all. Reading through, I'm not sure there is an Error.php... So I tried moving my require_once() to before anything else in the bootstrap file. Suddenly, Class Zend doesn't exist... I'm gonna work further on this issue, try and figure it out. If I have to go without __autoload(), I suppose it's understandable, but I'd rather sort through this, ne?
See:
http://weblogs.java.net/blog/gmurray71/archive/2006/11/jmaki_does_php.html
Also you might want to download the latest PHP bits from:
https://ajax.dev.java.net/servlets/ProjectDocumentList?folderID=0
If there is anything more I can do please let me know.