If we want to create an advanced website with forms handling, dynamically generated pages, shopping carts, content management systems, databases, and so on, we should implement a server-side programming language. The main difference between client-side and server-side programming is that client-side scripts are downloaded, interpreted and executed by the browser and the server-side scripts run on a server.
There are many scripting and programming languages that are used to create server-side applications are: ASP, ASP.NET, PHP, JSP, ColdFusion, Ruby on Rails and more.
Asp (Active Server Pages) is a server-side scripting language created by Microsoft. An ASP file normally contains HTML tags, just like an HTML file. However, an ASP file can also contain server scripts, surrounded by the delimiters. Server scripts are executed on the server, and can contain any expressions, statements, procedures, or operators valid for the scripting language you prefer to use.
ASP.NET is part of Microsoft .NET platform. ASP.NET simplifies the transition from windows application development to web development and offers the ability to build web applications using controls similar to windows applications.
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. The main advantage of PHP is that it is very easy to understand by a beginner and offers many advanced features for a professional developer. Another advantage is that it can be used on all major operating systems: Windows, Linux, BSD, Mac etc. The most significant feature in PHP is its support for a wide range of databases.
JSP (Java Server Page) is an extension of the Java Servlet technology. A JavaServer Page contains the following things: static data such as HTML, JSP directives such as the include directive, JSP scripting elements and variables, JSP actions and custom tags with correct library.
Ruby on Rails is an open source Ruby framework for developing web-based, database-driven applications. Ruby on Rails divides itself into various packages, namely Active Record, Action Pack, Active Support, Action Mailer and Action Web Service. In addition, Developers can create plugins to extend existing packages.
Advantages of Server Side Programs
1. All programs reside in one machine called the Server. Any number of remote machines (or clients) can access the server programs.
2. New functionalities can be added at the server side.
3. Moving to newer versions, architectures, design patterns, adding patches, switching to new databases can be done at the server side without having to worry about clients, hardware or software capabilities.
4. Issues relating to enterprise applications like resource management, concurrency, session management, security and performance are managed by service side applications.