Communication Between jQuery UI Widgets

When writing user interfaces using jQuery I often need widgets to interact with each other. For example, an ajax status widget that displays a spinner when an ajax call starts, and displays a status message when the ajax call completes. This widget should be accessible by whatever other widgets are on the page. In the past I directly called methods from each widget, but this creates a lot of “glue code” and dependencies....

March 22, 2010 · Benjamin Sternthal

Deploying Zend Framework With Apache ANT

I recently wrote a quick ANT script to deploy a personal Zend Framework project and thought I would share the code. If you are just getting started with Agile development, ANT builds/deployments are a great first step with immediate benefits. The following example is bare-bones, it does not run tests or do anything complicated but it should give you something that works and can be built upon. Methodology For my project I need ANT to do the following:...

March 3, 2010 · Benjamin Sternthal

Debugging Front End Code, New Tools

Front End debugging tools have come a long way. Below are some of the tools I am using on a daily basis to debug and fine-tune my front end code. Firebug - Firefox Plugin Firebug is my workhorse for general debugging. It has the standard set of CSS inspectors and a robust net monitor. The net monitor is essential for debugging XHR requests. I could not develop Ajax applications without it....

March 1, 2010 · Benjamin Sternthal

Load Routes From Routes.ini Config File In Zend Application Bootstrap

I spent waaaay to many hours trying to load routes via a config file in Zend Framework 1.10 and I think this might be a problem with the documentation I was following on the Zend Framework site. More on that later, let’s get to my solution first. Here is the use case I am addressing: I want to store routes in a .ini file and have this file loaded via the Application Bootstrap....

February 10, 2010 · Benjamin Sternthal

Installing Node.Js On OS X 10.6

{% alert info %} Updated May 7 2010, With Version 0.1.94 From GitHub {% endalert %} Node.js is evented i/o for Google’s V8 Server Side JavaScript engine. For me . . . node.js means I can write apps that can handle tons of requests without having to learn/think about threads & locks (all I know about threads is that they are scary and involve big books from O’reilly). As a front-end developer the node....

February 8, 2010 · Benjamin Sternthal