Web 2 Applications in PHP
Presentation by: DMW Technologies (P) Limited SCO 106, Top Floor, Sector 40-C Chandigarh
What is PHP? •
PHP stands for PHP: Hypertext Preprocessor.
•
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
•
PHP has a very high level of maturity.
•
PHP is innovative and new generation programming language.
•
PHP connects technologies and can help you develop "future-proof" systems.
•
PHP runs on one-third of all worldwide web servers and has a strong community of 4,5 million international developers .
•
PHP is widely used in enterprises all over the world - and not only for managing web sites.
History of PHP •
1994 - Written by Rasmus Lerdorf
•
1997 - Zeev Suraski and Andi Gutmans
•
1998 - PHP 3
•
2000 - PHP 4
– Rewrote parser – PHP 2
– Still being developed – Version 4.4.7 - Oct. 2007
•
2004 - PHP 5 – Still being developed
Why PHP? Low Learning Curve
Easy Integration into Heterogeneous Environments
Robust, Multi-Platform, High-Performance, Scalable, Secure
Vibrant Community
Rapid Development
Run an Agile Business
Proven Deployment
PHP Status on Internet Web Server Popularity SunONE 1%
Zeus 1%
Apache Modules Popularity (%) 60
Others 6%
50 40 30 20
IIS 22%
10
Apache 70%
0
mod_perl
PHP
mod_python
PHP: Programming Language of the Year 2004 TIOBE Programming Community Index, December 2008
“PHP has earned the title ‘Programming Language of the Year 2004’ with a positive delta of more than 3 percent within 1 year. Then came PHP5 and rest is history…
Source: http://www.tiobe.com/tpci.htm
PHP Momentum
What all can you develop in PHP? •
Desktop applications: PHP is probably not the very best language to create a
•
Server-side scripting: This is an important target field for PHP. You need three
•
Command line scripting: You can make a PHP script to run it without any server
desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs. You also have the ability to write cross-platform applications this way. things to make this work. The PHP parser (CGI or server module), a webserver and a web browser. You need to run the webserver, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server. All these can run on your home machine if you are just experimenting with PHP programming. or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.
What all can you develop in PHP? •
About our Training • • • • • • • •
PHP Basic PHP Advanced xHTML CSS Ajax/Javascript Internet Basics Applied Networking SQL