
So, what is the harried web developer to do? Who or what will come to the aid of our intrepid master of all things www?

Firebug to the rescue! Firebug is a Firefox extension which does so many tasks so well, that it is difficult to summarize them in this short blog post. However, I'll do my best to highlight a few.
Firebug lets you explore the structure of any web page in a variety of ways. When Firebug is active, it resides in a window at the bottom of your web page. Alternatively, it can appear in a separate window, although I like the integration with the page I am viewing. Combine this with tabbed browsing and you have separate Firebug windows for each tab.
In HTML mode, Firebug displays the source code of the current page, initially folder for a good overhead view. When you put your mouse cursor over an element in the HTML display, the portion of the web page to which it corresponds is highlighted. There is also functionality to revers this process: hit the 'Inspect' button on firebug, move your mouse over a portion of the web page you are intereted in, and the HTML view will move to that part of the source.
The HTML display is updated in real time as well. As I am typing in this post, I have Firebug open and see it add my text to the web page as I type. The HTML display allows you to edit the source in place as well. This sentence was typed in the Firebug HTML view...

There are so many other features to describe: a javascript console, a windows to monitor and time network requests, DOM functionality, and more. The latest issue of Dr. Dobb's Journal (February 2007) has a nice article on Firebug, which is available online. After reading through that article, go download and experiment with Firebug - I bet that it will become an essential tool for your web development needs!
No comments:
Post a Comment