Today, many programming dialects exist to help designers and software engineers build up their preferred utilizations. In any case, the vast majority of them are shut and restrictive dialects that have a few points of interest, however accompany the undeniable disadvantages.
PHP
Description
PHP is an open source general purpose scripting language, that has the full form of “Hypertext Preprocessor“. PHP is a server side scripting language. PHP scripts will run and interact with the servers and gives the HTML output.
PHP is a language that is used for web development by web developers.Originally PHP was known as “Personal Home Page Tools”. Later on after PHP version 3 it is being known as PHP Hypertext Preprocessor.
PHP is used on millions of servers world wide. Now a days, PHP is a very powerful language, which is widely used for CMS(like wordpress, Joomla, Drupal) and it is being used in many frameworks. For example, Zend framework, Cake frame work, etc. PHP plays main role in E-commerce Sites and in the social networking sites also. The following are the uses of PHP.
PHP permits the web developers to build content dynamically which communicates with the databases.
PHP is mainly helps in developing web based software applications.
User Login authentication, i.e. Validation can be done on the server side and can control the user access permissions.
PHP can deal with forms, i.e gather information from files, save information to a file, email the data can be sent and return data to the end user.
Encryption and decryption of the data can be done.
The elements can be added, deleted and modified within the database through PHP
Cookie variables can be accessed and set.
PHP performs system functions, i.e. from files on a system it can create, open, read, write and close them.
Parsing XML Files.
Own Mailing Scripts can also be written using PHP.
The following are the some drawbacks of the PHP.
Dialect semantics can be changed by worldwide arrangement parameters – this can entangle sending and transportability.
PHP needs named parameters
PHP is continually changing – more up to date overhauls bring more current issues
PHP has a terrible and capricious sort framework
Less secure
Less secluded – subsequently not appropriate for extensive ventures
The following is an example of print statement in PHP.
[c]<!--Please click on Run button below to see the output-->
<!DOCTYPE html>
<html>
<body>
<?php
print "Hello welcome to SP Lessons";
print ("I am learning the scripts in SP Lessons");
print("
<h2>I learned so many things form SP Lessons</h2>
");
print "Thanks to SP Lessons Team";
?>
</body>
</html>[/c]
Now compile the code result will be as follows.
Python
Description
Python can be portrayed as a first programming dialect that is simple for individuals to get rapidly. The dialect is open source and is allowed to utilize notwithstanding for business application. Normally utilized as a scripting dialect, developers can without much of a stretch deliver vast amounts of lucid and also utilitarian code in a brief period. The following are the various features of the python.
Integrated with other languages such as Java, c, etc.
Supports GUI.
Open Source like Java
Object Oriented
Portable
User friendly
By using python language programmer can develope following applications.
Console applications.
Audio and video related applications.
Image applications
3D CAD applications
Summary
Key Points
The latest version of python is 3.3 was released in September 29, 2012.
The python does not have datatypes to declare variables.
The python can integrate with other languages such as Java, C.