Server-side programming and role of Tier Technology in Application Development

Programming is the process of creating a set of instructions that tell a computer how to perform a task. Programming can be done using a variety of computer languages. Such as SQL, Java, Python, and C++.

server is a computer program or device that provides a service to another computer program and its user, also known as a client. In a data center, the physical computer that a server program runs an also frequently referred to as a server. 

The server side programming is the name given to all types of program which run on the webserver. They process the user input, interact with the databases, and control what content is served back to the client as a response to his/her request.


 
In other terms, server-side programming is a series of modules that show how to create dynamic websites; websites that deliver customized information in response to HTTP requests. Different server-side scripting languages like Python and PHP are used to program servers. 

Once updating data on template would update data wherever it is used. 
Most major websites use some kind of server-side technology to dynamically display data as required. For example, all posts seen on Facebook are displayed dynamically. The templates are written to display all the posts made by different users when needed as the static posts using HTML, CSS, and Javascript would be extremely inefficient. Once updating data on template would update data wherever it is used. 

Tier Architecture or Technology is a type of software which is composed of three "tiers" or "layers" of logical computing. They are often used in applications as a specific type of client-server system. The tier technology mainly consists of three parts. 

  • Presentation Tier- It mainly referred to as the front end layer in the tier technology. It consists of a user interface. Ther user interface is often a graphical one accessible through a web browser or web-based application and which displays content and information useful to an end-user. This tier is often built on web technologies such as HTML5, CSS, Javascript, or other popular web development frameworks and communities with other layers through API.

  • Application Tier- The application tier contains the functional business logic which drives an application's core capabilities. It is often written in Java, .NET. C# , Python, C++ etc. 

  • Data Tier-The data tier comprises of the database/data storage system and data access layer. Examples of such systems are MySQL, Oracle, PostgreSQL, Microsoft SQL Server, MongoDB, etc. Data is accessed by the application layer via API calls. The typical structure for a 3-tier architecture deployment would have the presentation tier deployed to a desktop, laptop, tablet or mobile device either via a web browser or a web-based application utilizing a web server. The underlying application tier is usually hosted on one or more application servers, but can also be hosted in the cloud, or on a dedicated workstation depending on the complexity and processing power needed by the application. And the data layer would normally comprise of one or more relational databases, big data sources, or other types of database systems hosted either on-premises or in the cloud.


A simple example of a 3-tier architecture in action would be logging into a media account such as Netflix and watching a video. You start by logging in either via the web or via a mobile application. Once you’ve logged in you might access a specific video through the Netflix interface which is the presentation tier used by you as an end-user. Once you’ve selected a video that information is passed on to the application tier which will query the data tier to call the information or in this case a video back up to the presentation tier. This happens every time you access a video from most media sites.




Views

Post a Comment

0 Comments