Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts

Thursday, June 12, 2008

Javascript for PHP developers: Part I: Static Class

Here is how I would code a static class in Javascript by borrowing from my PHP experience:











JavascriptPHP




Thursday, March 6, 2008

Greasemonky Quick Search

I have to sift through countless RSS feeds all day seeking more information based on keywords I find. I wanted to automate the process just a bit so I devised a GreaseMonkey Firefox user script.

Usage is simple: just select the text to search and press " alt c " which will automatically bring-up the result page on Google Search.

One can find the script here on UserScripts.org.

Tuesday, March 4, 2008

Embedding FreeMind mindmaps

FreeMind is a very handy (and free ;-) tool. I recently started playing around Google Mashup Editor and wanted to document in my way the API; I thus used FreeMind yet again.

I have embedded the mindmap in a Google Page available here.

Embedding the mindmap is easy:


and place the Javascript code at the bottom of the page:

Wednesday, February 27, 2008

Syntax Highlighting

I have devised a straightforward way of performing syntax highlighting of Javascript code. Follow this link to the demonstration page: http://jeanlou.dupont.googlepages.com/syntaxhighlighting.

Tuesday, February 26, 2008

Javascript Class template

Here is a sample class template in Javascript: