Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

2006-12-01

Announcements

  • Introducing RhinoLoader
    • A byproduct of Helma that extends Java applications with Rhino/JS. It is basically a Java classloader that creates classes from JavaScript files.

Discussions

  • Deleting Objects in SpiderMonkey
    • A user asks if there's a method of manually deleting an object in SpiderMonkey before garbage collector deletes it.
    • Peter Wilson's reply was to add a method that does the deleting with a native implementation that releases the resources held by the object as seen in this database interface:
var myDbase = new PgsqlConnection;
myDbase.connect("database");
myDbase.exec("SELECT * FROM mytable WHERE ...");
// Use the result data - (native implementation function)
myDbase.close()
  • SpiderMonkey for Server side
    • Inquiry about why JavaScript hasn't caught on for general server-side scripting.
    • Peter Wilson lists some important comparisons between SpiderMonkey and PHP. He states that JavaScript is powerful server-side scripting but it lacks in popularity since its only supported by Netscape, lacks a wide range of libraries, minimal marketing support.
    • https://www.whitebeam.org is an example of open source Server Side JavaScript.

Document Tags and Contributors

 Contributors to this page: fscholz, Dtolj
 Last updated by: fscholz,