jMaki Project Announces Support for PHP

November 29, 2006

News

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.

, ,

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PC's. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is currently based in Nashville, TN and is gainfully unemployed as the Chief Marketing Officer of Blue Parabola, LLC. Cal is happily married to wife 1.28, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Day Camp 4 Developers

View all posts by Cal Evans

4 Responses to “jMaki Project Announces Support for PHP”

  1. gmurray71 Says:

    Regarding the loading you might want to go through some of the comments in my blog as to the way files are organized:

    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.

  2. sevencorvina Says:

    I read this and was pretty overjoyed to hear that JMaki had been ported to PHP… until I loaded it up. Rather interesting results.

    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?

  3. gmurray71 Says:

    The blog didn’t mention that jMaki is Open Source (BSD) and we would love to have participation, review, in the project.

  4. Nozavroni Says:

    This looks very interesting… thanks Cal.