Monday, March 31, 2008

EASY Way to Learn PHP


PHP stands for Hypertext Preprocessor and is a powerful server-side language that allows you to create dynamic and interactive websites

PHP represents a robust open-source development language that provides the tools and flexibility to accomplish virtually any task. PHP is an embedded language which means developers can jump between raw HTML code and PHP without sacrificing readability. Beyond its basic syntax, PHP also boasts a wide range of interfaces allowing it to communicate with everything from other web pages, to databases including ODBC, and other programming languages such as Java or COM.


PHP is a customized, embedded CGI language. Because PHP is server-side technology, the person viewing the web page needs no special programs or browser plug-ins for PHP to work. PHP is compatible with all major web browsers, and although it is classified as a CGI, PHP is a tool that provides much more power. It allows a web developer to dynamically construct a web page based on data gathered from a third source (a database or otherwise) and then communicate that data through almost any means provided by the Internet. The real benefit of this is the developer can do these things with little or no knowledge of the inner workings between the CGI and the database they are communicating with.


The main benefits of PHP are that it is free compared to rival products such as Microsoft ASP.PHP code or scripts are ran on your web server but not in the client browser. You can easily install and configure it to work locally on your windows machine.

To use PHP on your local machine you need to download and install IIS.
A prerequisite to this course is that you have completed the courses "Setting Up IIS on Windows under the Microsoft Curriculum" and the course "Setting Up and Configuring PHP".
These courses show you how to install IIS and PHP, you also get to create your first php script and execute it locally. Writing PHP is a very simple scripting language, once you have setup and configured PHP it’s very simple to create a program.

To create php scripts you don't need any special software, except for a text editor (like Notepad in Windows). So let’s create a simple php script.First Launch Notepad,Next we need to declare our page a PHP page,PHP scripts are always enclosed in between two PHP tags. This tells your server to parse the information between them as PHP.

No comments:

 
Subscribe in a reader computer course - danielvictory on Faves computer course - Recently Popular Faves