[Users] ExtJS 3.0.0 build for GeoExt
David Winslow
dwinslow at opengeo.org
Fri Dec 18 20:09:36 CET 2009
On a slight tangent: I found http://compressorrater.thruhere.net/ pretty
interesting the last time I was looking into JavaScript minification. I
love the advertisements for air compressors too. Go AdSense :)
--
David Winslow
OpenGeo - http://opengeo.org/
On 12/18/2009 02:07 PM, Alexandre Dube wrote:
> Tim,
>
> You're right.
>
> For the record : I abandoned the idea because of the reasons you
> mentioned. My main goal was to have a smaller ext-all.js file (KB) and I
> got much more than that by using mod_deflate running on apache :
>
> Without : 1.0MB
> With : 137KB
>
> And all the other files are smaller as well. So, because of the
> complexity of the task and the significant gain I got by using
> mod_deflate, I just forgot about a specific build of ExtJS.
>
> Thanks,
>
> Alexandre
>
>
>
> Tim Schaub wrote:
>
>> Note this is not really as simple as looking for what GeoExt explicitly
>> references. In an application, it is common (and easy) for the specific
>> configuration to radically change what is required from Ext.
>>
>> For example, setting the "draggable" config property of a panel calls
>> initDraggable which references Ext.Panel.DD which is defined in
>> PanelDD.js which in turn depends on DDCore.js. I don't think sed et al.
>> will help there.
>>
>> Same goes for layout related config properties and other behaviors.
>>
>> I've found that if your application uses forms, grids, and allows
>> dragging, you don't really get much savings with a partial build
>> (particularly if you're also using HTTP compression).
>>
>> I'd be curious to hear if the automated custom build effort results in a
>> significantly slimmer build.
>>
>> Tim
>>
>>
>>
>
>
More information about the Users
mailing list