Tuesday, 27 August 2013

Why Use PHP?

There are thousands of programming languages available and every year, new programs are being made.  But only few of these have become sufficiently popular and are used by many people.   One of which is PHP or hypertext preprocessor.  It is a general-purpose server-side scripting language designed for web development.  It is installed on more than 20 million web sites and 1 million web servers.  Microsoft’s Active Server Page or ASP, a server-side script engine and a similar language to PHP, is one of PHP’s competitors.  They are both programming languages that are commonly used to create websites.  Both are more dynamic than the usual static html web pages and can allow users to interact and exchange information.
Here are some factors to consider in choosing between PHP and ASP.  ASP needs a Microsoft server for the website to work and will be requiring an ASP-Apache program installed for it to work on a Linux platform.  PHP, on the other hand, runs using Windows, Solaris, Linux or Unix and NT servers.  That’s why PHP is more popular than ASP.  PHP uses C/C++ as base language and most syntax are similar to each other while ASP is very similar to the syntax and interface of Visual Basic programming.  When it comes to cost and expenses, ASP is more expensive as it will require one to purchase Windows with IIS installed on the server and a MS-SQL database to work.  While PHP will only need a Linux server and connects to several databases, one of which is MySQL, which are both free.  Talking about speed, PHP runs it its own memory space which makes its loading speed quicker compared to ASP as it uses an overhead server.  Most tools that work on PHP program are open source software while one may need to purchase additional tools to work on ASP program.
Clearly, PHP has dominated when it comes to compatibility, popularity, cost, expenses, flexibility and a lot more but as users of the program, the choice is yours.

Thursday, 22 August 2013

What is PHP?

PHP is a server side scripting language which is used for dynamic and interactive  web application development but also used as a general purpose programming language.

 PHP is now installed on more than 244 million websites and 2.1 million web servers. It developed by  Rasmus Lerdorf in 1995, the reference implementation of PHP is now produced by The PHP Group.While PHP originally stood for Personal Home Page, it now stands for PHP: Hypertext Preprocessor, a recursive acronym.



What you will Be Able to Achieve During This Course
This course will enable you to build real-world, dynamic web sites. If you've built websites
using plain HTML, you realize the limitation of this approach. Static content from a pure HTML
website is just that-static. It says the same unless you physically update it. Your users can't
interact with the site in any meaningful fashion.
Using PHP language and database MySQL allows you to make our sites dynamic: To have
them be customizable and contain real-time information. In this course, we describe how to
approach real-world projects and take you through design planning and building ecommerce based projects. Using this course you are able to develop projects like:

  • User authentication and personalization
  • Shopping Carts
  • Content-management Systems
  • Web based email
  • Mailing list manager
  • Web forums
  • PDF document generation, etc…

Hands-On Training
In this course, you develop PHP scripts to perform a variety to takes, culminating in the
development of a full database-driven Web page. Exercises include:

  • Accessing command line arguments from PHPscripts
  • Generating web pages dynamically using PHP
  • Retrieving Web Pages manipulating from data
  • Personalizing Web site content using Session and Cookies
  • Tracking user navigation on your Web site
  • File handling with PHPscript
  • Regular Expression with PHP to Make strong validation
  • Object Oriented Concept to make more Powerful Web Application
  • Exception Handling 
  • Integrating database content to generate dynamic Web pages
  • Building modular Scripts to enable code reusability