Showing posts with label Server side scripting language. Show all posts
Showing posts with label Server side scripting language. Show all posts

Monday, June 27, 2022

Server side Scripting language

 Server-side Scripting 





Client side and server side Scripting img


Server-side scripting is a technique used in web development a web server which produces a response customized for each user's client request to the website. The alternative is for the web server itself to deliver a static web page. Scripts can be written in any of a number of server-side scripting languages that are available Server-side scripting is distinguished from client-side scripting where embedded scripts, such as JavaScript, are run client-side in a web browser. Server-side scripting is a programming language which can run and execute on the server side.In simple words any scripting or programming language that can run on the web server is known as server-side scripting. The operations like customization of a website, dynamic change in the website content, response generation to the user's queries, accessing the database and so on are performed at the server end.


The server-side scripting constructs a communication link between a server and a client (user). Earlier the server side scripting is implemented by the CGI (Common Gateway Interface) scripts. The CGI was devised to execute the scripts from programming languages such as C++ or Perl on the websites.PHP, Python, JavaScript and jQuery. These are just a few examples of scripting languages that power the web applications.


When a browser sends a request to the server for a webpage consisting of server-side scripting, the web server processes the script prior to serving the page to the browser. Here the processing of a script could include extracting information from a database, making simple calculations or choosing the appropriate content that is to be displayed in the client end. The script is being processed and the output is sent to the browser. The web server abstracts the scripts from the end user until serving the content, which makes the data and source code more secure.Server-side scripting is often used to provide a customized interface for the user. These scripts may assemble client characteristics for use in customizing the response based on those characteristics, the user's requirements, access rights.



Server-side scripting language


PHP


PHP img


PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group.
Designed by: Rasmus Lerdorf

It is the most prevalent server-side language used on the web which was designed to extract and manipulate information in the database. The language is used in association with SQL language for the Database. It is used in Facebook, WordPress. PHP Hypertext Preprocessor is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.PHP something like client-side JavaScript is that the code is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script. php is loosely typed. It stores integers in a platform-dependent range, either as a 32, 64 or 128-bit signed integer equivalent to the C-language long type. Unsigned integers are converted to signed values in certain situations, which is different behavior to many other programming languages.

PHP defines a large array of functions in the core language and many are also available in various extensions. these functions are well documented in the online PHP documentation. It is platform-independent. PHP-based applications can run on any OS like UNIX, Linux, Windows, etc. Applications can easily be loaded which are based on PHP and connected to the database. It's mainly used due to its faster rate of loading over slow internet speed than other programming language.

PHP Extension

Syntax php


<!DOCTYPE html>

<html>

    <head>

        <title>PHP "Hello, World!" program</title>

    </head>

    <body>

        <?php

            echo '<p>Hello, World!</p>';

        ?>

    </body>

</html>




Python


PYTHON is programming language img


Python is a high-level, interpreted, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Python is dynamically-typed and garbage-collected.
Developer: Python Software Foundation
First appeared: 20 February 1991 , 31 years ago
OS: Windows, macOS, Linux/UNIX, Android and more
Designed by: Guido van Rossum

The language is fast and contains shorter code. It is good for beginners as it concentrates on the readability and simplicity of the code. Python functions well in the object-oriented environment and used in famous sites like Youtube, Google, etc.


Python has a simple syntax similar to the English language. Python has syntax that allows developers to write programs with fewer lines than some other programming languages. Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
used for web development (server-side),
software development,mathematics, system scripting. Python is a widely used general-purpose, high level programming language. It was created by Guido van Rossum in 1991 and further developed by the Python Software Foundation. 
It was designed with an emphasis on code readability, and its syntax allows programmers to express their concepts in fewer lines of code.identifier is a name used to identify a variable, function, class, module or other object. An identifier starts with a letter A to Z or a to z or an underscore (_) followed by zero or more letters, underscores and digits (0 to 9).Python is commonly used for developing websites and software, task automation, data analysis, and data visualization. Since it's relatively easy to learn, Python has been adopted

Python is called Guido van Rossum wanted to give his programming language a name that was unique, mysterious and short, and what better than naming it Python after Monty Python's Flying Circus.

Python call

Python Extra information


Ruby



Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including primitive data types.

Designed by: Yukihiro Matsumoto

Paradigm: Multi-paradigm: functional, imperative, object-oriented, reflective

Developer: Yukihiro Matsumot

 A dynamic, open source programming language with a focus on simplicity and productivity. and is freely available on the Web, but it is subject to a license.and interpreted programming language Ruby is a server-side scripting language similar to Python and PERL. Ruby can be used to write Common Gateway Interface (CGI) scripts. Ruby can be embedded into Hypertext Markup Language (HTML). 

The Ruby on Rails web framework is built using the Ruby programming language while the Django web framework is built using the Python programming language. This is where many of the differences lay. Ruby has a clean and easy syntax that allows a new developer to learn very quickly and easily.Ruby has similar syntax to that of many programming languages such as C++ and Perl. Ruby is very much scalable and big programs written in Ruby are easily maintainable.Advantages of Ruby. offers plenty of out-of-the-box features for web development, gives developers the freedom to apply creative 

The syntax of the Ruby programming language is broadly similar to that of Perl and Python. Class and method definitions are signaled by keywords.


READ MORE :-

HTML Table

css background colour

type of css

Html pattern attribute

type css selectors

left pascal star pattern in php

inverted pyramid star pattern in php

print half diamond pattern