ZendCon Notes

I gave a talk on Dojo Wednesday at ZendCon, and when I walked into the room for the talk, there was some disorder as the conference center staff were taking out the tables to fit more chairs in. Even with the extra space, the room was totally packed, thanks in large part to the amazing Dojo integration work that the Zend team has done.

As of Zend Framework 1.6, you can include some trivial code inside your ZF views to pull in Dojo:

< ? 
	// setup required dojo elements:
	$this->dojo()
		->enable();

	echo $this->dojo();
?>

Once enabled on your page, ZF 1.6 also includes a full set of helpers to let you set up Dijit components from PHP. The excellent ZF docs has the full story. Perhaps most exciting from my perspective, though, is how simple ZF makes getting up-and-running with Dojo and how nicely it ties in with custom builds and CDN-hosted versions of Dojo as well. Matthew Weier O’Phinney and Will Sinclair recently did a screencast that walks through a lot of these options. If you’re considering ZF+Dojo, I strongly recommend you check it out.

The talk I gave on Wed was mostly focused on Dojo and the reasons we built it in the layered way that we have and how you can choose to use Dojo at whatever level of abstraction feels right for your app. Slides are here (5.1MB, PDF):



4 Comments

  1. mbazs@freemail.hu
    Posted September 20, 2008 at 2:39 pm | Permalink

    Man!

    I’m trying to see Dojo API, and your website is showing, what the hell happened ???

  2. rupert
    Posted September 22, 2008 at 4:20 am | Permalink

    I have the same problem. It seems that the configuration of the apache is wrong.

    Please fix it, i need the api docs!

  3. keith
    Posted September 22, 2008 at 9:32 am | Permalink

    How come when I go to http://api.dojotoolkit.org/ I end up here??? Where is the API???

    (linked from http://dojotoolkit.org/docs)

  4. Posted September 22, 2008 at 4:53 pm | Permalink

    I’ve checked w/ the ops folks, and they had to take down the API site due to some resource usage issues which were causing the main Dojo site to fall over. It should be back up soon, but I can’t say exactly when.

    Until then, please try the forums.

    Regards