It all began with Tim Berners-Lee at CERN and the good old HTML. CERN, which is now mostly famous for its Large Hadron Collider, has recently gained major publicity by attracting the attention of frivolous news chasing the possibility of a black hole. I think even cooler than a black hole marking the end of humanity, is the virtual world that has largely impacted her evolution. The internet happened partly because of the outcome of CERN’s research and now we have a world beside the real world, functioning in parallel and becoming the flesh and blood of a terrestrial specy who was one day drawing on cave walls. HTML later became lingua franca of a world that was becoming bigger while making our real world smaller and smaller.
HTML is the basic language understood by all WWW (World Wide Web) clients. It can execute on a PC under any operating system such as Windows, Mac, Linux, or on a Unix workstation. However, it is limited in its computational power intentionally because it can prevent the execution of dangerous programs on the client machine. Web programmers, who are now much more sophisticated in their applications, provide different type of services to a growing demand of interactive content. Today, most users have competent client machines which are capable of doing much more than HTML allows. Fortunately, there is steady development in the field, and today the number of capable applications is expanding. We can easily build database-driven websites with various scripting languages such as PHP, ASP.NET, JSP, Perl, Cold Fusion and etc. This gives programmers a head ache. They generally fall into two main groups – proprietary and open-source, both have their own share of the market.
The languages mentioned below are all attempts to create the “ideal” Web programming language, which is usually done by extending and restricting existing languages. Web programming languages have a variety of ancestors: scripting languages, shell languages, mark-up languages and conventional programming languages. This document attempt to present a short introduction of the most important languages being used in Web today.
Characteristics Of Web Programming Languages
There is a diverse range of languages available and suitable for Web programming. There is no reason to believe that any one language will completely prevail and monopolize the Web programming scene. When you are developing a simple website, the question of which programming language and framework to choose can come up for things such as contact submission forms, photo galleries, jQuery Slider or any other dynamic content components that is generated by the web-server. When you are shopping for a web designer or web developer, you will hear them say “We program in PHP” or “We develop in ASP.NET/C#” and you might wonder what they are talking about and which one is better than the other.
As you can see, there is a fairly good selection of languages for web developers to choose to develop their web applications. There are many more languages available, some of them more specialized such as VRML, but discussing them is out of the scope of this article. Most developers have a working knowledge for at least a few of the frameworks, but tend to specialize in one.
New languages and language extensions are being developed to increase the usability of the Internet on a daily basis. Here we will look at some of the important languages that have shaped the Internet over the years and give a brief overview of each one of them.
ASP.NET – Active Server Pages
The.NET Framework is the infrastructure for the Microsoft.NET platform. It is an environment that can be used for building, deploying, and running Web applications and Web Services with easier and quicker programming.
ASP.NET runs inside IIS which comes free with Windows servers. It enables scripts to be executed by an Internet server. This web development technology is built into the.NET Framework and utilizes full featured programming languages such as C# or VB.NET to build web applications. I personally like C# very much and I think it is a great language to code with and extremely easy to use.
ASP.NET drastically reduces the amount of code required to build large applications. With built-in Windows authentication and pre-application configuration, security and safety are guaranteed. But the main disadvantage is that ASP.NET applications can only run on Windows platform.
As an open-source alternative, PHP is steadily developed by an active and very dedicated international community. This is a great example of strength in numbers. Another strength of PHP is of course its low costs. Since it is open-source software, PHP can be compiled and customized for any operating system. In fact, there are always pre-compiled versions available for your OS of choice. In an open, collaborative and non-hierarchical environment, suggested improvements can be adopted quickly. You can count on its fast paced updates and improvements more than other languages.
I think PHP is a good investment because it is not going to disappear anytime soon. It is used by a very large group of fantastic programmers who come out with amazing websites combining PHP with other technologies. Also it is a good idea that if you have invested in an online business and you have lost one of your precious programmers, it will be the easiest to find a replacement programmer.
Developed by Sun Microsystems, Java is a very powerful object-oriented language. JavaServer Pages (JSPs) are web pages with embedded Java code. The embedded Java code is executed on the server, then the page is returned to the browser for display.
Unlike ASP, JSP is a lot less platform-specific and it doesn’t rely as heavily on Microsoft for support or performance improvements. Java programs for Unix can be made to run on Windows or the Mac system with little or no effort. Many development projects are taking place on the Java platform and it is getting richer by day.
Perl doesn’t offer the graphics and security desired for Internet programming on its own. However, those features are now available trough Perl/Tk. Perl/Tk which extends Perl with access to the Tk GUI library and makes it fully available for web programming.
Perl is an open-source language that is both mature and powerful. It offers web developers every tool they need to create dynamic websites. Like other open-source languages, it benefits tremendously from ongoing development, and the support offered by its international community is amazing. Perl is particularly good for creating single websites quickly, cleanly and elegantly. Its major weakness is that it may be unnecessarily complicated. If you are not comfortable switching gears between different syntaxes, then you should choose from one of the other alternatives.
Like Java, Python is a full featured, object-oriented language developed, but extremely easy to use, by Guido van Rossum at CWI in the Netherlands. Similar to almost every other cool language, it is initially developed in a Unix environment but is available on PCs and Macs, and applications are portable across platforms. Python’s syntax resembles C and C++, but doesn’t stick too closely to those languages.
Python offers several portable GUI libraries. Python is simpler and easier to program than Java and very suited for Internet programming.
Built by Allaire in 1995, purchased by Macromedia in 2001 and finally ended up in the hands of Adobe in 2005, This ColdFusion might not be as cool as cold fusion nuclear energy, but it did introduce an exciting technology which hold an active developer community together up to this day.
ColdFusion enables programmers to create dynamic and database-powered Web applications. With its own markup language (CFML) and tags to connect to the database, it is relatively easy to create forms and dynamic pages. Using ColdFusion, Building websites can’t possibly get easier! You can deploy powerful web applications and services with minimal training. It provides an application development platform suitable for network software. It is now at version 10 and supports most major databases from Oracle to Microsoft SQL Server.
Ruby and Ruby on Rails
Ruby is a dynamic, object-oriented and open-source programming language. It has a very clean syntax which makes it a lot of fun to use. Python is ease to learn and use, and closely enjoys the Perl’s pragmatism. Ruby’s simplicity, productivity and ease of use has spread it usage very quickly in a matter of few years.
Ruby on Rails is its open-source Web application framework written in Ruby which follows the Model-View-Controller (MVC) model. It is a highly-productive and can empower industrial-strength web applications. It scales from the simplest expense tracking application to full-featured applications with thousands of users.
Web is the summa summarum of all these languages. There is no single application that does all the different things, in every different way and according to all the programmers need. Because of the diversity of programming tasks, choosing a language has become a critically important step. It has to be decided upon after through analysis of a project and considering every aspect of your requirements.