AJAX.OOP
Encyclopedia
AJAX.OOP is an open source
Open source
The term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology...

 JavaScript
JavaScript
JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles....

 framework distributed under MIT License
MIT License
The MIT License is a free software license originating at the Massachusetts Institute of Technology . It is a permissive license, meaning that it permits reuse within proprietary software provided all copies of the licensed software include a copy of the MIT License terms...

. Providing with OOP
Object-oriented programming
Object-oriented programming is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction,...

-style coding engine and AJAX
Ajax
- Mythology :* Ajax , son of Telamon, ruler of Salamis and a hero in the Trojan War, also known as "Ajax the Great"* Ajax the Lesser, son of Oileus, ruler of Locris and the leader of the Locrian contingent during the Trojan War.- People :...

 requests handling functionality to create web 2.0
Web 2.0
The term Web 2.0 is associated with web applications that facilitate participatory information sharing, interoperability, user-centered design, and collaboration on the World Wide Web...

 components. Due to OOP paradigm AJAX.OOP library can be easily extended with additional functionality or used as core for other projects.

The JavaScript OOP library

AJAX.OOP is a fast and scalable JavaScript library for creating JavaScript/AJAX components in an object-oriented way.

Main feature - strong OOP
Object-oriented programming
Object-oriented programming is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction,...

paradigm implementation.AJAX.OOP engine allows the programmer to:
  • Create classes with object-like defining syntax
  • Inherit classes (both AJAX.OOP-style defined and created with native JavaScript code)
  • Aggregate classes (including aggregation of self and parent class with special operators this.$_self and this.$_super)
  • Define constructors as they are (name = 'constructor')
  • Override parent class properties and methods (but call parent if you need by using special access operator this.$super)
  • Access/call any parent properties and/or methods from any method of child class (just use this.$super accessor whenever you need to access parent properties and methods)
  • Use strict defined objects with workable 'instanceof' operator on them when instantiating an exemplar of AJAX.OOP classes

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK