Sunday, November 22, 2009

Scripting in ASP

Active Server Pages (ASP) is the first server side web scripting language I used in my career. Probably I can say one thing that.. I used this in my academic project without knowing what web development is all about. I used ASP just to fulfil reporting needs in my project.


… after few months, when I started my professional career, it was very unfortunate that I forced to learn ASP. I knew that it is not just a language for web pages but it is powerful to build larger web applications.

ASP now known as Classic ASP was Microsoft's first server side scripting language for the dynamic web pages. Initially released with Personal Web Server (PWS) (for Windows 95, 98) and then as an add-on to Internet Information Services (IIS) (from Windows NT onwards).

ASP normally uses VBScript for scripting and pages uses .asp as extension. But later, it is possible to use any extension (.htm or .html) which will be re-written to .asp for every request to work..
ASP works with many built in objects Request, Response, Session...etc, which are having many methods and properties with data…
In the coming blogs, we are going to see the basic and then advanced usage of ASP..

As a first lesson, we can see how to write a simple script to print "I'm a Software Engineer".
<%
Response.write "I'm a Software Engineer"
%>
All the ASP codes are enclosed with <% and %> by default.

Thank you for reading and please keep focus for more scripting...

Tuesday, November 10, 2009

Scripting languages … (I like) :)

Friends, I would like to tell something about the scripting languages which I would like to count as my favorites. My career was started with a very old scripting language (which I like very much because, it teach me many things ;) that is ASP (not ASP.NET). JavaScript is also one which could be counted as the most used scripting language for web development now.

Cold Fusion – is one of the most interested scripting language for me and I tried to learn it more… As any CF developer says, I can simply say that it is interesting. It does many things easily like PHP but with less and neat code… The exception is its cost – for server as well as service.


ASP.NET – easy to learn (because of slides & pre-prepared widgets) ;) … I’m still away from this scripting language, but I’m not sure how costly it is for server as well as services. And server maintenance would not be very easier for medium level applications (ie, for a shared server) I think...


PHP - I think many of my friends are relaxed when they have seen PHP finally ;) Less cost for server as well as services, LINUX (mainly), Open source, easy to learn, ISO (C language) style of coding, flexible, and now (in PHP5) more in OOPs, … and more.. (may be my friends will list more & more ;)


There are a lot of scripting languages which are not listed here… we will try to see one by one in the coming posts... Waiting for your views & interests on diferent scripting languages ...


For those who are interested to know more on Cold Fusion, will definitely come up with more soon… and surely on PHP and other scripting too…