473,386 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Private static members in JavaScript

I've found a million references on the web to the page:

http://www.litotes.demon.co.uk/js_in...te_static.html

regarding private static members. However, this page does not exist
anymore. Does anybody know where it has moved to?

Thanks
Jun 27 '08 #1
4 1223
On Jun 26, 10:38 am, agendu...@gmail.com wrote:
I've found a million references on the web to the page:

http://www.litotes.demon.co.uk/js_in...te_static.html

regarding private static members. However, this page does not exist
anymore. Does anybody know where it has moved to?
As far as I know, the above was part of Richard Cornford's site. I've
added him as a CC to this message in case he does not happen upon it.

--------

In the mean time, you might like some of the following articles which
are in the same area of privacy in JavaScript.

http://efficacy.net/blog/2008/05/13/...-series-part-0

http://yuiblog.com/blog/2007/06/12/module-pattern/

http://yuiblog.com/blog/2008/05/24/durable-objects

http://javascript.crockford.com/private.html

and the free pdf chapter here

http://yuiblog.com/blog/2008/05/05/c...d-inheritance/

Peter
Jun 27 '08 #2
On Jun 26, 10:57 am, Peter Michaux <petermich...@gmail.comwrote:
On Jun 26, 10:38 am, agendu...@gmail.com wrote:
I've found a million references on the web to the page:
http://www.litotes.demon.co.uk/js_in...te_static.html
regarding private static members. However, this page does not exist
anymore. Does anybody know where it has moved to?

As far as I know, the above was part of Richard Cornford's site. I've
added him as a CC to this message in case he does not happen upon it.

--------

In the mean time, you might like some of the following articles which
are in the same area of privacy in JavaScript.

http://efficacy.net/blog/2008/05/13/...he-un-series-p...

http://yuiblog.com/blog/2007/06/12/module-pattern/

http://yuiblog.com/blog/2008/05/24/durable-objects

http://javascript.crockford.com/private.html

and the free pdf chapter here

http://yuiblog.com/blog/2008/05/05/c...d-inheritance/
and, of course, from the group's FAQ notes

http://www.jibbering.com/faq/faq_notes/closures.html

Peter
Jun 27 '08 #3
* ag*******@gmail.com wrote in comp.lang.javascript:
>I've found a million references on the web to the page:

http://www.litotes.demon.co.uk/js_in...te_static.html

regarding private static members. However, this page does not exist
anymore. Does anybody know where it has moved to?
You can use the Internet Archive's Wayback machine to get older copies
http://web.archive.org/*/http://www....te_static.html
and then, if you want to find some alternate location, extract some of
the phrases and use your favourite search engine to find them.
--
Björn Höhrmann · mailto:bj****@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Jun 27 '08 #4
On Jun 26, 11:00*am, Peter Michaux <petermich...@gmail.comwrote:
and, of course, from the group's FAQ notes

http://www.jibbering.com/faq/faq_notes/closures.html
Yes I've seen this page, but even this page references the non-
existant litotes one. You can see the link in the sentence "Which can
be extended to all sorts of structures of scope contained nested
accessibility/visibility, including the emulation of private static
members for ECMAScript objects."

Thanks
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Will | last post by:
Is it possible to have private instance members in a javascript class? function myObject() { var private = 1; this.getPrivate = function() { return private; } this.incrementPrivate =...
34
by: Andy | last post by:
1) Is there any use of defining a class with a single constructor declared in private scope? I am not asking a about private copy constructors to always force pass/return by reference. 2) Is...
4
by: baumann | last post by:
hi all, according the private / protected access control, - private; that is, its name can be used only by members and friends of the class in which it is declared. - protected; that is,...
1
by: Andrew Poulos | last post by:
I having some trouble understanding how to make functions private I have created an instance of an object using a constructor function and there are 4 prototypes: Comm = function() { //blah...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.