DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

luchkovsky Subscribe to this feed
luchkovsky
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends

Stories kicked by luchkovsky
1
kicks
submitted by luchkovsky 1 year, 5 months ago

ajaxline.com — Walking on JavaScript objects trees. Can we do it with JSON or JavaScript like we can while we work with XML? read more...

Add a comment add a comment | category: | Views: 2
tags: , , , , | tag it

2
kicks
submitted by luchkovsky 1 year, 5 months ago

ajaxline.com — 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. read more...

Add a comment add a comment | category: | Views: 0
tags: , , , , | tag it

3
kicks
submitted by luchkovsky 1 year, 5 months ago

ajaxline.com — In the article, we would like to describe the possibility of creation of persistent JavaScript objects on client’s side, using implementation of undo manager as an example. The article demonstrates that proposed uniform solution expands area where JavaScript objects may be used. To prove the concept, a live example that creates visual “trip” using Google Maps is included as well as demo-roll is based on usual HTML form, Drag and Drop components. read more...

Add a comment 1 comment | category: | Views: 1
tags: , , , , | tag it

3
kicks
submitted by luchkovsky 1 year, 6 months ago

ajaxline.com — Walking on JavaScript objects trees. Can we do it with JSON or JavaScript like we can while we work with XML? Walking on JavaScript objects trees. Can we treat JSON as XML? If you are developer which use JavaScript in your everyday activity and especially if you work with JSON and object oriented JavaScript, this article is definitely the one which worth to look at. It considers general JSON issues and also demonstrates how they could be solved. read more...

Add a comment add a comment | category: | Views: 0
tags: , , , | tag it

2
kicks
submitted by luchkovsky 1 year, 7 months ago

ajaxline.com — "Lazy inheritance" is a design pattern used in JavaScript computer programming. It designates a postponed linking of an object with it's prototype (class) until it is needed. If used properly, such approach may increase efficiency, simplicity and flexibility of OOP based code written using JavaScript. Unlike of "classical" approach, it supports a "Lazy" way of inheritance implementation, since reference to parent class is invoked only at the moment of object instance creation. Basically, it's possible to say that instances of objects in such approach are created in "mixed" mode – on first invocation, an appropriate factory is used to modify object constructor prototype which is later used for subsequent object instances creation. Moreover, since "Lazy inheritance" is called only once at the moment of first object instance creation, it becomes possible to combine process of class prototype creation with resolving necessary dependencies of that class. In other words, the process of prototype construction also allows loading scripts (if ones were not loaded before) which particular class depends on. Such approach to inheritance support has the following benefits: * "Lazy inheritance" has the same benefits as classical JavaScript prototype features; * It is not necessary to maintain proper order of script files declaration; * In most cases, 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 (they are necessary if the caller code during it's execution really creates instances of corresponding classes); * Dependencies are declared in more explicit way and class depends only on concrete scripts; Moreover, it's not necessary to artificially group particular scripts into "modules" and define dependencies between such "modules"; * If lazy mode of scripts loading is used, only necessary scripts (which are actually required for application functionality) will be loaded. If, for example, some HTML page may operate in different modes, like "read-write" and "read-only", for every mode required scripts will be loaded and this will be performed automatically without manual script loading optimization. LINKS http://ajaxline.com/node/367 - The article http://sourceforge.net/projects/jsiner - The open source implementation read more...

Add a comment add a comment | category: | Views: 0
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge