[ 3 posts ]

goran sam

  • Username: gorrc
  • Joined: Sun Sep 05, 2010 7:59 am
  • Posts: 4
  • Offline
  • Profile

Infrastracture, what is Module

Post Posted: Thu Jun 07, 2012 6:56 am
+0-
I have one question about module.
Lot of developers talking about modules and then write about widgets.
For example, "lets make yui module", and then they create widget.

I have lot of Magento experience and every extension of base code in magento is a module.
You can create plugins (observers), widgets, controllers, new API methods but it has to be build inside module.
Also Magento is build on top of lots of modules (like YUI I suppose).

So is this is way how in YUI also things works.
Yes, I create widget but to include in YUI code, Im not including widget, Im including module?

Nick Husher

YUI Contributor

  • Offline
  • Profile
Tags:

Re: Infrastracture, what is Module

Post Posted: Mon Jun 11, 2012 7:04 am
+0-
A 'module' in YUI parlance is a variation on the CommonJS Asynchronous Module Definition. YUI modules and widgets have no structural relationship to each other, except that a module might contain one or more widget definitions.

For more information, read the section on YUI.add in the user guide and the page on creating YUI modules.

Luke Smith

YUI Contributor

  • Username: lsmith
  • Joined: Thu Aug 28, 2008 7:50 am
  • Posts: 514
  • Location: Sunnyvale
  • Twitter: ls_n
  • GitHub: lsmith
  • Gists: lsmith
  • IRC: ls_n
  • YUI Developer
  • Offline
  • Profile

Re: Infrastracture, what is Module

Post Posted: Tue Jun 12, 2012 7:30 pm
+0-
Also see this talk from YUIConf 2010: http://www.youtube.com/watch?v=XdM0GJEn ... plpp_video
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum