Posts Tagged ‘web development’

Tools for a Web Developer

Monday, December 8th, 2008

I have been developing things for internet for more then 5 years now. I started out as a script kiddie when I was in first year at DAIICT. I started out by creating simple websites using Microsoft Frontpageand publishing them on different [free] servers. As time passed, I started hacking javascript code, learnt the concept of CSS and why styling should be done using CSS and not HTML (seperate design from content!). Since then I have done countless number of projects, designed and redesigned my website and also participated in different programs(Google SOC 2007 with Drupal :).  Today, I thought I should share the programs that I use for web development and ask you what you use.

As I mostly work on windows, the programs listed here are specific to this OS. Of course this does not mean that these are as fast or function rich as vi.

Editor: I generally use multiple editors for creating the web pages. Notepad++ is one of my first choices. It has tabs, syntax highlighting and it supports almost all the languages that I want to develop in. The only thing missing is the auto-complete feature. If there is such a feature available, I could not find it.

The other editor, that I have had an on and off relationship with, is Aptana. It is a fully featured IDE based on Eclipse and supports all the client and server side languages that I can think of. The only thing that goes against it is the bulkiness. I can never open more then 10 files at a time and still work without being slowed down by it.

Reference: For references on topics related to Web Development, I usually go to Google. I specially find articles on A list Apart, quirksmode to be of real help when dealing with compatibility issues. In addition, there are quite a few resources that have come up recently. One of such resources is Google DocType.

Testing: The rule of thumb here is to develop in Firefox and then tweak and patch-up for IE. Doing work in Firefox is very easy due to the huge number of extensions and plugins that make your life easier. Firefox is also straightforward to develop for as it does not act weird in implementing web standards.

Debugging: Of course nothing is complete without proper debugging tools. Here I find the Web Developer Extension for Firefox and Firebug to be really helpful. You can do almost anything from the combination of two.

With the combination of above tools, the life has become so much easier for me :). Hope it helps you too.

Is there something that I am missing out on? Do tell me in comments!

PHP to python. Why?

Thursday, August 7th, 2008

Well.. let me give a background first. I have been working with PHP for quite some time(>3 years) on various projects from small 500 lines to more then 20K lines. I like to keep up with the latest (or should I say hot since python is in no way “latest“) trends. Lately there has been quite a lot of buzz around “which language” is the best for web development. I thought may be it is time to experiment! Firstly I am ignoring Ruby/Ruby on rails completely. I just never got to like it much to put in extra effort. The hosting for ruby can be quite expensive and I like to have complete control on my code(down to last for loop :) which I dont think ruby on rails provides. If I am wrong, someone please comment and set it up for me.

Coming back to the comparison, I really am not the right person to judge which is better. But I know for sure: Even if I can do everything possible on web through PHP, there is one thing missing. The clean structure. For those who say that there is an “object oriented” way to go about to do things in php, I would like to say that php was never designed to be used that way. There are far too many inconsistencies in php to use oop at a large scale. I came across one more funny thing about it today on Google reader. The post can be found here.

So coming back to my situation, I got introduced to python about a year back in a completely non-web-development setting. The basic syntax and structure does not look or feel like it is good for web development. But it was so clean that I wanted to code in it! But how? I had heard about Django but had never tried to use it. From its description, It felt like it would be really handy to use django if I want to develop something in python. And so I started. About a month back, I did tried to use it. To say it in one line, I could not get it to install. The pages on django website are far too long to fit in my somewhat small brain. I could never get over with the problems compatibilities.

For some reason, my love for python has not gotten over yet. I’ll try to begin using it one more time. This time I have a project that I would like to do with it and so will try to be more careful.

I guess I’ll post soon how it went.