Stop thinking about WHAT WILL HAPPEN and start thinking about WHAT YOU CAN DO.
--Your friends at LectureNotes

Note for Web Technologies - WT By Rohit !!

  • Web Technologies - WT
  • Note
  • Biju Patnaik University of Technology BPUT - BPUT
  • Master of Computer Applications
  • 5 Topics
  • 2 Offline Downloads
  • Uploaded 7 months ago
Rohit !!
Rohit !!
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

PHP Introduction It is one of the most popular open source, server side scripting language especially meant for developing web applications. HTML:-To create well formatted web documents in the year 1991 Tim Berners Lee developed HTML.HTML is a language for formatting web pages. HTML has limited design capabilities. We can’t able to create most appealing and well designed web sites using only HTML. CSS:-To create most appealing and well designed web sites, in the year 1996 Hakon Wium Lie developed CSS.CSS is a presentational language. Java script:To add behaviour or interactivity to web elements or to create interactive web pages,in the year 1996 Brendan Each developed Javascript. Javascript is a behaviorl language for web pages. We can’t be able to create real time, dynamic web sites using only HTML,CSS,Javascript.Hence we use PHP. PHP:To create real time dynamic web sites, in the year 1996 Rasmus Lerdorf developed PHP at Zend technology .PHP is implemented in C and C++. Initially Rasmus Lerdorf wrote PHP to maintain his personal home page. Later extended it to communicate with databases, file systems and work with web forms and called this implementation as PHP/FI(personal Home Page/Forms Interpreter).Later the name changed to Hypertext Pre-processor. PHP can be integrated with the number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server. PHP can be embedded within a normal HTML web pages. That means inside your HTML documents you'll have PHP statements like this: A PHP file can also contain tags such as HTML and client side scripts such as JavaScript. 1

Text from page-2

Advantages of PHP over Other Languages →Easy to learn: PHP is often considered as the best and preferable choice of scripting language to learn. →Open source: PHP is an open-source project — the language is developed and maintained by a worldwide community of developers who make its source code freely available to download and use. There are no costs associated with using PHP for individual or commercial projects, including future updates. →Fast Performance: Scripts written in PHP usually execute faster than those written in other scripting languages like ASP.NET or JSP. →Vast Community: Since PHP is supported by the worldwide community, finding help or documentation for PHP online is extremely easy. →Platform Independent: PHP are available for WINDOWS, MAC, LINUX & UNIX operating system. A PHP application developed in one OS can be easily executed in other OS also. →Compatibility: PHP is compatible with almost all local servers used today like Apache, IIS etc. →Embedded: PHP code can be easily embedded within HTML tags and script. What is the scope for a PHP developer PHP is one of the oldest and most popular programming languages well suited for web application. More than 70+ of the websites and other web application are using PHP as their most preferred backend coding language. However, along with PHP, you also have good understanding of PHP based framework and CMS. A list of PHP framework and CMS are given below: PHP Web-Framework: 1.Laravel Framework 2.Zend Framework 3.CakePHP Framework 4.Symfony Framework PHP CMS (Content Management System): 1.WordPress 3.Drupal 2.Joomla 4.Magento 5.Open Cart 2

Text from page-3

Versions of php Version Release date Supported until Notes 1.0 8 June 1995 Officially called "Personal Home Page Tools (PHP Tools)". This is the first use of the name "PHP". 2.0 1 November 1997 Officially called "PHP/FI 2.0". This is the first release that could actually be characterised as PHP, being a standalone language with many features that have endured to the present day. 3.0 6 June 1998 20 October 2000 Development moves from one person to multiple developers. Zeev Suraski and Andi Gutmans rewrite the base for this version. 4.0 22 May 2000 23 June 2001 Added more advanced two-stage parse/execute tag-parsing system called the Zend engine. 4.1 10 December 2001 12 March 2002 Introduced "superglobals" ( $_GET , $_POST , $_SESSION , etc.) 4.2 22 April 2002 6 September 2002 Disabled register_globals by default. 4.3 27 December 2002 31 March 2005 Introduced the command-line interface (CLI), to supplement the CGI. 4.4 11 July 2005 7 August 2008 Fixed a memory corruption bug, which required breaking binary compatibility with extensions compiled against PHP version 4.3.x. 5.0 13 July 2004 5 September 2005 Zend Engine II with a new object model. 5.1 24 November 2005 24 August 2006 Performance improvements with introduction of compiler variables in re-engineered PHP Engine.Added PHP Data Objects (PDO) as a consistent interface for accessing databases. 3

Text from page-4

5.2 5.3 2 November 2006 30 June 2009 6 January 2011 Enabled the filter extension by default. Native JSON support. 14 August 2014 Namespace support; late static bindings, jump label (limited goto), closures, PHP archives (phar), garbage collectionfor circular references, improved Windows support, sqlite3, mysqlnd as a replacement for libmysql as underlying library for the extensions that work with MySQL. Trait support, short array syntax support. Removed 5.4 1 March 2012 3 September 2015 items: register_globals , safe_mode , allow_call_time_pass_refere nce , session_register() , session_unregister() and session_is_regis tered() . Support for generators, finally blocks for exceptions handling, 5.5 20 June 2013 10 July 2016 5.6 28 August 2014 31 Dec 2018 6.x Not released N/A OpCache (based on Zend Optimizer+) bundled in official distribution. Constant scalar expressions, variadic functions, argument unpacking, new exponentiation operator, extensions of the use statement for functions and constants Abandoned version of PHP that planned to include native Unicode support. Zend Engine 3,bitwise shift consistency across platforms, 7.0 3 Dec 2015 3 Dec 2018 ?? (null coalesce) operator, Unicode codepoint escape syntax,return type declarations, calar type (integer, float, string and boolean) declarations, <=> "spaceship" three-way comparison operator, PHP "errors" with the more modern exceptions,[4 and shorthand syntax for importing multiple items from a namespace. 7.1 1 Dec 2016 1 Dec2019 7.2 30 November 2017 30 November 2020 void return type,class constant visibility modifiers 4

Lecture Notes