One of my primary frustrations with the ColdFusion 8 wrappers for Ext is the inability to specify your adapter.  Why must I be forced to use YUI?

I often use Prototype for DOM manipulation, Ajax interface, and more - not YIU.  Then why do I need to load the YUI dom handlers, animation classes, and such when I am already using Prototype and Scriptaculous on the page?  Unfortunately, ColdFusion 8 forces me to, and that stinks!

I think a great idea (in additional to upgrading CF8 to Ext 2.x) is adding the ability to specify the adapter you want to use.  I think this is a necessity, especially if you are concerned about total document size and are looking to minimize your site’s footprint.  A simple adapter attribute would allow me to specify the Ext adapter of my choosing - or default to YUI if need be.

I suppose I could use <cfajaximport> and specify a custom scriptSrc attribute that pulls in modified files.  I could replace the contents of the YUI adapter with the contents of the prototype/scriptaculous adapter, and delete all the contents in the rest of the YUI files - but that seems impractical.

Anyone else as frustrated as me?

This entry was posted on Wednesday, February 13th, 2008 at 3:35 pm.
Categories: ColdFusion 8, Ext.

No Comments, Comment or Ping

Reply to “ColdFusion 8 Ext adapter”