Monday, December 6, 2010

Best Practices for Modern Javascript Development

I was browsing the web and came across some nice tips for JavaScript developers.  These set of tips go over some "Best Practices" for writing JavaScript.

Read it here:
http://www.catswhocode.com/blog/best-practices-for-modern-javascript-development

The list includes:

  • Use the correct <script> tag
  • Keep your code in an external file
  • Don't wrap code in HTML comments
  • Use a framework
  • Always declare your variables using var
  • Keep your code unobstructive
  • Include your scripts at the bottom of your HTML files
  • Use JSLint
  • Don't use document.write

Sunday, December 5, 2010

AJAX API Playground (Video)

Here is a great presentation from Google I/O titled : Fun Hacks and Cool JavaScript: The Advanced Techniques Behind the Google AJAX API Playground.



In the video the engineer has developed a great tool for experimenting with JavaScript APIs called the "AJAX API playground".

It can be found here:

http://code.google.com/apis/ajax/playground/



I found this tool extremely useful when reading API documentation, and running the samples posted at the very same time.

Code Comparison Between Prototype and Jquery

Here is a nice presentation by Remy Sharp, which highlights some code differences between Prototype and Jquery. Enjoy.

Saturday, December 4, 2010

Setting up Aptana 2 with Code Assist for Jquery (Video)

Here is a great, and quick video showing how to configure Code Assist for the Jquery library in Aptana Studio 2.


Wednesday, October 6, 2010

Aptana Studio

If you're looking for an IDE to do all your web development in, and you're familiar with Eclipse, then I recommend you check out Aptana Studio.  Here is the download link for Aptana Studio 3.0:


Let me know what you think by leaving your comments below.