Javascript framework for OOP emulation

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

+5
source share
5 answers

Mootools would be a good choice for you. http://mootools.net/

Because they follow the OOP structure in both the kernel and the plugins.

+9
source

Javascript - , , , . , , JAVA # (, , ..), ( , ..).

, , .

+7

Prototype,

, Ajax, -

+6

Script, , "" JavaScript.

+5

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/

+3
source

All Articles