PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

php|architect: Ext4Yii, bridging PHP and JavaScript frameworks together

Note: This article was originally published at PHPDeveloper on 16 July 2010.
PHPDeveloper

On the php|architect blog today there's a new post about a framework that joins together two others (ExtJS and Yii) to make for an even more powerful combo - Ext4Yii.

Ext4Yii is essentially a bridge between these two projects, which aims to integrate Ext JS as an extension for Yii. Ext4Yii is implemented as a templating system, which consumes XML models where you define widget elements like buttons or handlers (in embedded JavaScript code which can take advantage of Ext-powered methods and objects).

This templating system integrates directly with the Yii framework's structure and gives you access to a lot of the ExtJS objects without the need for multiple calls to .js files. The tool also comes with a bundled plugin for Netbeans that can help you get started quickly (rather than having to work out the syntax by hand from the start).