PDA

View Full Version : Introducing CakeXt ... join CakePHP and ExtJS



wirtsi
24 Aug 2009, 2:29 AM
Hi ...

I have started a new project to bind CakePHP and ExtJS together. CakePHP is really cool for handling all the business logic but things start to get messy if you get into the heavy ajax stuff. Too much redundancy between the html and javascript view side.

So I figured I go for Ext and use it as single source for my Views ... have Cake handle the M and the C. I started coding this when Ext 2.2 was still out so it doesn't yet use the new Ext.Direct or RESTful services yet.

I've written a lengthy blog entry on how to use CakeXT (which consists of a Cake Helper and an extended Ext class) including a demo of the system. The cool part really is, that you don't need any further configuration of Ext. Add a new field to your database and it will automatically appear in your view.

The blog entry can be found at http://blog.mykita.com/2009/08/introducing-cakext-create-slick-single-page-guis-with-cakephp-and-extjs/ and the project lives at http://cakext.mykita.com/trac.

I must admit that I'm far from being a Ext guru ... I only started about half a year ago so I guess there's still a lot of room for improvements. I'd love to hear what the experts think :)

Wirtsi

bt_bruno
21 Apr 2010, 12:03 PM
This is helping me a lot dude, thanks very much!

Dumas
23 Jul 2010, 6:17 AM
looks, cool, I'll use it :)

Do I need the Ext override? Is yes, why didn't you put it into the cakext js file?

thx
Roland

wirtsi
25 Jul 2010, 11:19 PM
Hi

have fun with it :)

With newer versions this override is no longer required ... check out the latest version from svn, this one works with 3.2.1

wirtsi

Dumas
27 Jul 2010, 6:48 AM
great, thx!

Update from 2011:
Since this project was very basic, I started a bigger implementation, see:
http://www.sencha.com/forum/showthread.php?141983-Bancha-Combining-CakePHP-and-ExtJS

cheers
Roland