<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/3 Manuel Quiñones <span dir="ltr"><<a href="mailto:manuq@laptop.org" target="_blank">manuq@laptop.org</a>></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
False. A variable declared with 'var' is visible in the object<br>
private methods and privileged methods too. This is worth reading:<br>
<br>
<a href="http://javascript.crockford.com/private.html" target="_blank">http://javascript.crockford.com/private.html</a></blockquote><div><br></div><div><br></div><div>Thanks, I've read this page before, maybe too fast. I am reading it again in order to understand what I misunderstood before.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>> so it seems to me less flexible that Java approch. And<br>
> that is because I want to use a framework.<br>
><br>
> Unfortunately, Dojo ... is heavy in size (around 3Mb). And I can't afford<br>
> relying on this weight.<br>
<br>
So, no independient modules as their homepage say? Can you show how<br>
they do OOP?<br><span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>I thought Dojo can be used to make OOP simpler as it has been suggested by a discussion on Stackoverflow : <a href="http://stackoverflow.com/questions/907225/object-oriented-javascript-best-practices">http://stackoverflow.com/questions/907225/object-oriented-javascript-best-practices</a></div>
<div>"<span style="color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px"> For instance, the </span><a href="http://docs.dojocampus.org/dojo/declare" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;color:rgb(74,107,130);text-decoration:none;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">Dojo Toolkit</a><span style="color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px"> provides a robust framework to write object oriented JavaScript codes which even supports multiple inheritance.</span>" </div>
<div><br></div><div>Regards</div></div><br></div></div>