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…


Saturday, October 31, 2009

Trying to define scripting...

Welcome back... I have been trying to find a definition for scripting. We know that scripting is not just programming.. Its more than that..

Here I'm trying to define scripting.. Please feel free to comment your view about my thoughts.. ;-)

I found that scripting is writing instructions to get something done in a particular platform or interface. The script will have the end users predefined. It may not work when platforms are changed.. when interface is upgraded/downgraded since all those are predefined. For example.. HTML script, which might not perform well when we running in a new browser because the script will be written to support some particular predefined browsers. Another example, a PHP script written in PHP5, which will not work 100% in PHP4 platform... like that..

Scripting is not just HTML, PHP or ASP.NET .. its more than that.. ie, we have different scripting languages. Perl scripting, Shell scripting, DOS scripting, iMacros.. and more... again, all the platforms used to write some instructions to perform something are scripting languages..

We will see more about different scripting languages in the coming weeks...

Wednesday, October 21, 2009

Yes.. here is the birth of a new technical blog..!!!

Hi all... finally I got a chance for starting a new technical blog. You might think why there is another technical blog since we already have lakhs of blogs with the same topic? I also was asking the same question myself for a long period (not very long ;) ) and still I decided to start this. So, there would be some reason.. right ? Of course.. it is nothing but to contribute my scripting experience in different languages and plat forms to the world. And surely there are more reasons and which we will see going forward...

Now, firstly thank you very much for your valuable time you spent to visit my blog.. I hope, it won't be a waste.. :D