What OOP frameworks for javascript do you use?
I need a library for emulating Javascript OOP programming with constructors, members, properties (public, private), inheritance
thanks for your reply
Mootools would be a good choice for you. http://mootools.net/
Because they follow the OOP structure in both the kernel and the plugins.
Javascript - , , , . , , JAVA # (, , ..), ( , ..).
, , .
Prototype,
, Ajax, -
Script, , "" JavaScript.
JavaScript - . - , . w.r.t JavaScript-:
JS. "", .
( )
- . "this" ( , 2 ). "prototype" .
The presence of private variables in the object: this can be achieved using the keyword "var" for variables declared inside the function (it will be clear if point 2 is clear).
This site is a very good source to start with these concepts: http://javascript.crockford.com/