Alternative Lazy JavaScript Inheritance(ajaxline.com)

submitted by luchkovskyluchkovsky(55) 4 years, 11 months ago

Lazy Inheritance is an approach intended to simplify writing OOP and provides support of prototype-based classes hierarhies, automatic resolving and optimizing classes dependencies. Lazy inheritance designates a postponed linking of an object with it's prototype (class) until it is needed. The benefits: * "Lazy inheritance" is a prototype based inheritance; * It is not necessary to maintain proper order of script files declaration; * HTML page is loaded faster since there are no objects created during page initialization and since some scripts could be loaded only at the moment in which they are actually necessary * Dependencies are declared in more explicit way and class depends only on concrete scripts * If lazy mode of scripts loading is used, only necessary scripts (which are actually required for application functionality) will be loaded.

add a comment |category: |Views: 6

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story