This is a migrated thread and some comments may be shown as answers.

How kendo modules loaded

3 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hbayomy
Top achievements
Rank 1
hbayomy asked on 15 Apr 2014, 10:05 AM
Hi,

I want to know the design pattern used while building kendo, I saw 'kendo_module' with some interesting attributes (id, deps, features, ...), but I didn't see anything related to its behavior.

I'm asking because I want to organize our kendo components/modules in order to easily plug-and-play them.

Thanks

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 16 Apr 2014, 12:22 PM
Hello,

The kendo_module function is internally used for setting up the script dependencies. It isn't intended for public usage.

We recommend checking our RequireJS support which allows loading Kendo UI files on demand.

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
hbayomy
Top achievements
Rank 1
answered on 17 Apr 2014, 08:56 AM
Hi Atanas,
Thanks for your reply. I liked your way of organizing modules, and I just wanted to know the architecture behind the scene, in order to take advantages of your kendo plug-and-play architecture.

So, could you please let me know that?

Thanks
0
Atanas Korchev
Telerik team
answered on 17 Apr 2014, 11:17 AM
Hi Mohamed,

Currently you cannot use the kendo_module function in your scripts. It is removed after minification. 

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
hbayomy
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
hbayomy
Top achievements
Rank 1
Share this question
or