On 19 Dec 2009, at 23:48, Frédéric wrote:

>>> I found that Ext can use Prototype as an adapter. What does it mean?
>>
>> The underlying functions that build up the components use the adapter
>> you load. ExtJS uses its own Javascript framework by default, but by
>> loading a different adapter, it will use that framework instead
>> (Prototype, JQuery, ...). It's a bit like the database adapters in
>> Rails, CakePHP, Symphony etc that allow you to use whatever database
>> you prefer and abstracts it with a unified syntax layer on top of it.
>
> Does it mean that it is possible to extend Ext classes using the  
> Prototype
> way (Class.create)?

I highly doubt it, ExtJS components inherit in a different way. It  
does mean you can just continue using Prototype for everything else  
(not ExtJS related) and don't have to load an extra framework on top  
of Prototype if you're already using it. Extending ExtJS components is  
very similar to Prototype's anyway, except for the Ext instead of  
Class as the keyword 
(http://www.extjs.com/learn/Manual:Component:Extending_Ext_Components 
).


Best regards

Peter De Berdt

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to