» tagged pages
» logout

(Feed found, click Add Page to syndicate.) Error finding feed, please try again » Find feed title

A Blog Page allows you to add entries, for news or other time sensitive postings

(Login required to save to your tagged pages.)
(or Cancel)

Make further edits, (or Cancel)

(Login required to save to your tagged pages.)
(or Cancel)

(Editing anonymously: to be credited for your changes, login or register a new account)

Change Page Permissions? Changing these permissions will adjust who can modify this page.

Anonymous (change)
(change)
(or Cancel)
Upload an image from your computer:
or Copy an image from a URL:
or Erase the current icon:
Icon Preview:

or Cancel

Erase Tip? The contents of Tip page and all pages directly attached to Tip will be erased.

or Cancel

(Editing anonymously: to be credited for your changes, login or register a new account)

other page actions:
Tip

Tip

Tags Applied to tip

No one has tagged this page.

Tip Wiki Pages

What is Tip? Edit this page and describe it here.

sorted by: recent | see : popular
Content Tagged Tip

The Pessimistic Programmer: My favorite Eclipse view

Have you discovered the Display view in the Eclipse debugger? It is my personal favorite. In it, you can execute any Java code in the context of a running debugger.

Eclipse: del.icio.us/tag/eclipse

Semantic Constructors

JAVASCRIPT:
  1.  
  2. Class.create = (function(original) {
  3.   var fn = function() {
  4.     var result = original.apply(null, arguments);
  5.     result.toString = function() { return result.prototype.initialize.toString() };
  6.     return result;
  7.   };
  8.   fn.toString = function(){ return original.toString() };
  9.   return fn;
  10. })(Class.create);
  11.  

This monkey patch by kangax allows you to get sense from inspecting a constructor setup via Prototype.

His code changes a simple person class from:

JAVASCRIPT:
  1.  
  2. Person + ''; // "function klass() { this.initialize.apply(this, arguments); }"
  3.  

too:

JAVASCRIPT:
  1.  
  2. Person + ''; // "function (name) { this.name = name; }"
  3.  

If you want more help with Prototype and Script.aculo.us you can check out their newly changed support list.

Ajax: Ajaxian

Page 1 | Next >>
Username:
Password:
(or Cancel)