Results 1 to 2 of 2

Thread: Smallest possible libraries for ExtJs 4.0

  1. #1
    Sencha User
    Join Date
    Feb 2008
    Location
    Gatineau, QC Canada
    Posts
    8

    Default Smallest possible libraries for ExtJs 4.0

    I have decided to use ExtJs 4.0 as my client library for a number of websites using ExpressionEngine/CodeIgniter on the server. (Much impressed with Ext 4).

    Some of the sites are very simple and I would like to use the smallest ExtJs library possible to improve startup times. Basically all I need are containers (Ext.container.Container) and layouts (Ext.layout.*).

    The Sencha SDK doesn't seem to work properly on Windows Vista or Windows 7.

    So I set up a simple "/bin/bash" script on the Linux server which concatenates selected ExtJs "src/*" files and then processes the result through "yuicompressor.jar".

    Best result so far is:

    -- 297444 bytes for the compressed JavaScript
    -- 141069 bytes for the css file (ext-standard.css)

    Everything works fine and I am pleased with the result.

    However, I think that it should be possible to shrink the sources even further.

    What would be the *smallest* possible Ext4 build that would support both "containers" and "layouts" and is it possible to shrink the *.css file any further?

    Also, it would be nice to have some documentation explaining the differences in the following:
    -- ext-all.css <==> ext-standard.css
    -- ext-all.js <==> ext-core.js <==> ext-foundation.js

    Any info or suggestions would be welcome.

    Thanks

  2. #2
    Sencha Premium User NoahK17's Avatar
    Join Date
    Apr 2008
    Location
    Atlanta, GA
    Posts
    538

    Default

    Same question regarding differences between... "ext-all.js <==> ext-core.js <==> ext-foundation.js"
    Noah
    Front-End Developer
    Norfolk Southern

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •