Monday, May 19, 2008

Use Firebug for High Speed Development

The Firebug extension for Mozilla Firefox allows the debugging, editing, and modifying of any website's CSS, HTML, DOM, and JavaScript, and provides other web development tools.
(from wikipedia)

Firebug is really useful to me in web spider/crawler development. It makes writing regular expression easier & faster as I can put the mouse on specific portion of the web page and get it's code using inspect. Another useful feature for me is I can see all the http requests and responses, which also helps me a lot in writing web spiders.

You can get Firebug from getfirebug.com or download from addons.mozilla.org

Speed up your web development using Firebug!

Saturday, May 3, 2008

SimpleXML - simple way to parse XML in PHP

This morning I needed to write a PHP script that parses an XML file. I could do it easily with regular expressions - as I can play very well with regexp :). But I was looking for an easier & simpler way to parse XML using PHP, as I thought there must be a very simple way. And I was right, I found SimpleXML. SimpleXML makes XML processing really simple. Here I give links of some excellent (and simple!) resources of SimpleXML:
SimpleXML will definitely speed up your XML processing speed!

Thursday, May 1, 2008

C# Timer Control

In C#.NET, in order to do a certain task repeatedly after specific time interval you have to use the Timer control. Today I had to use it for a small project (to repeatedly send request to a web service). I just used Google and found some nice and easy articles. I think it's worth sharing couple of them to save your google time :)
And of course you can look at MSDN (though sometimes I find it time consuming to learn something from MSDN).