Tag Archives: javascript

Catching the “Little Things” with BDD

I’ve often read/heard the following kind of critique comparing TDD (Test-Driven Development) and BDD (Behavior-Driven Development): BDD is great, but unlike TDD, it can’t catch little things like obj.length vs. obj.length() Such assertions tell me that we need to improve how we teach BDD. BDD is TDD. Many argue BDD is simply TDD “done right”. [...]

Posted in essays | Also tagged , , , | 3 Comments

JavaScript Web/Desktop Application Frameworks

Here is a brief overview of some of the most popular JavaScript Application Frameworks for web and desktop application development. Mobile frameworks, like Sencha Touch, jQTouch, jQuery Mobile and PhoneGap, have been purposefully omitted for sake of clarity. Built with jQuery JavaScriptMVC “is an open-source framework containing the best ideas in jQuery development. It guides [...]

Posted in essays | Also tagged , | Leave a comment

Free JavaScript Tools for Visualizing Hierarchies

I’m hacking away at an interactive genealogy chart for my family. Not looking to reinvent the wheel, I found two promising tools: * The Google Visualization API “allows you to create visualizations and reporting applications over structured data and helps integrate these directly into your website or on a Gadget.” * The JavaScript InfoVis Toolkit [...]

Posted in essays | Also tagged | Leave a comment

Server-Side JavaScript With V8 and v8cgi on CentOS 5.3 x86_64

Built without database support, and without the GD image library. YMMV. 1. Install Prerequisites curl -LO http://prdownloads.sourceforge.net/scons/scons-1.3.0-1.noarch.rpm sudo yum –nogpgcheck localinstall scons-1.3.0-1.noarch.rpm sudo yum install gcc gcc-c++ httpd-devel.x86_64 Download V8 and v8cgi curl -O http://v8cgi.googlecode.com/files/v8cgi-0.8.0-src.tar.gz tar xvfz v8cgi-0.8.0-src.tar.gz cd v8cgi-0.8.0-src/ Compile and Install V8 cd v8/ scons arch=x64 library=shared sudo cp libv8.so /usr/lib/ cd .. [...]

Posted in essays | Also tagged , , | 1 Comment