Re: Re: Documentation Editor - News

From: Date: Fri, 25 Dec 2009 02:46:06 +0000
Subject: Re: Re: Documentation Editor - News
References: 1 2 3 4 5  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969381236@lists.php.net to get a copy of this message
On Sun, Dec 20, 2009 at 12:57 PM, KSChan <mr.kschan@gmail.com> wrote: > > Hi, > > >> > >> > > I'm now ready to start the ExtJs 3.0 migration. >> > > I will start it soon. >> > >> > Great :) >> >> I have work on the migration. I think I will be able to commit a lot of >> change >> tommorow. >> > > A bit OT here =P > > Regarding ExtJs 3.0 migration , there is a server side framework namely > Ext.Direct (http://www.extjs.com/products/extjs/direct.php) that's doing > something like our ExtController.php (from my first impression...). You may > get samples of Ext.Direct from > http://www.extjs.com/products/extjs/#sample-12 > > Greetings, An update to Ext.Direct. From blog [1] and forum [2] posts, I believe Ext.Direct is the web service framework. The framework takes the use of comment as web service "annotation", much Like using Java's annotation... its a matter of putting comments about your function that include tags like > @remotable, @formHandler and @remoteName (to specify a different name for a > method on the client side). Here is an example of a simple Echo class that > returns whatever you pass its send function: [3] <?php class Class_Echo { /** * @remotable */ public function send($string){ return $string; } } ?> After that, client side script just uses the web service like EchoAction.send('...') and thus no Ext.Ajax.request is needed. If we adopt this framework as extjs3.0 migration, there will be a lot of work. [1] - http://www.extjs.com/blog/2009/05/13/introducing-ext-direct/ [2] - http://www.extjs.com/forum/showthread.php?t=67992 [3] - http://www.extjs.com/forum/showthread.php?t=68186 ks.

« previous php.doc (#969381236) next »