On Jun 25, 6:42 pm, Gordon <[EMAIL PROTECTED]> wrote:
> I am tryign to make more use of OOP techniques in JavaScript, but most
> of the OOP I have done up to now has been in class-based languages,
> and I'm struggling a little with the prototype based approach used in
> javascript. I know this isn't a jQuery specific question but you guys
> seem like the people to ask on these things. :)
You will also get good javscript answers at comp.lang.javascript.
You might find the following articles by Richard Cornford on
implementing OO concepts in javascript useful:
Private Static Members in Javascript
<URL: http://www.litotes.demon.co.uk/js_info/private_static.html >
This one on closures is pretty handy too:
Javascript Closures
<URL: http://www.jibbering.com/faq/faq_notes/closures.html >
--
Rob