Framework is heavy!

9 posts, 0 answers
  1. Sime
    Sime avatar
    24 posts
    Member since:
    Jul 2007

    Posted 22 Dec 2014 Link to this post

    Are there any plans to lighten the weight of the framework in the future?

    The combined script is 1.9MB!
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 22 Dec 2014 Link to this post

    Hi,

     We offer the following options to use Kendo UI without including a combined file:

    1. Custom Download Builder - allows the user to create custom combined file that contains only the required widgets.
    2. Use grunt
    3. Include the separate files
    4. Use RequireJS

    We don't have plans to reduce the size of the combined file because this would require removing features.

    Regards,
    Atanas Korchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Sime
    Sime avatar
    24 posts
    Member since:
    Jul 2007

    Posted 20 Jan 2015 in reply to Atanas Korchev Link to this post

    Thanks Atanas,

    I'm sure there must still be room to reduce the file size without removing features unless your size vs feature ratio is already (and incredibly) at 100% efficiency!.

    I'm just surprised at the size vs functionality e.g. when compared to other frameworks such as BootStrap / Angular etc. which are tiny by comparison. I hoped that maybe you're still at the stage where you're adding / improving functionality with a mind to reduce the size and improve performance later.
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 20 Jan 2015 Link to this post

    Hello Simon,

    You are right there may be room for improving the size. However the four options that I listed allow better size optimization. For example if you don't use the Scheduler you can avoid including it altogether instead of optimizing its implementation size by 10-20%.

    Regards,
    Atanas Korchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Andrew
    Andrew avatar
    19 posts
    Member since:
    Jan 2013

    Posted 04 Jan in reply to Atanas Korchev Link to this post

    Regarding the grunt task for custom builds, it appears to automatically include all dependencies for each widget. For example, a custom build including only the grid widget ("grunt custom:grid") produces a kendo-custom.js that is almost 40000 lines long and includes OData, XML, Excel, and PDF support, even those were not explicitly requested.

    Is it possible to run the script and exclude all non-required dependencies, like the way the online custom download tool works? In other words, I'd like to be able to do "grunt custom:grid,editable" to get a grid with editing support but nothing else.

  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 06 Jan Link to this post

    Hello Andrew,

     

    Currently you can cannot build widgets based on certain features using grunt/gulp the same way you can do that using the custom download builder.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. Andrew
    Andrew avatar
    19 posts
    Member since:
    Jan 2013

    Posted 06 Jan in reply to Kiril Nikolov Link to this post

    Thanks Kiril,

    So is there any supported way to create a custom build of the non-minified files? The non-minified version is helpful for development and debugging. AFAIK, the online tool and RequireJS support work only with the minified files.

    AHG

  9. Andrew
    Andrew avatar
    19 posts
    Member since:
    Jan 2013

    Posted 06 Jan in reply to Andrew Link to this post

    Sorry, I meant a custom build of non-minified files with optional features excluded.
  10. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 08 Jan Link to this post

    Hello Andrew,

     

    I am afraid that currently there is no way to achieve this using the exposed build tools, and the only to build feature specific distribution is using the custom download builder, that works with minified files only. However for development there is no much difference if you have all the features included in the debug scripts.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready