At long last, this online reference guide has been converted into a book that is now in print.
Tutorial Details:
The purpose of this chapter is to bring you up to speed on the development of PHP, where it is at now, and the reasons for programming with it. Towards the end of the chapter, you will see your first PHP code, as you start writing your first scripts.
If you are entirely new to PHP, you will probably benefit from reading as much background information as you can get your hands on. If you are eager to get on straight away, go ahead and skip pages until you get to your skill level.
The key to understanding something is to know how it got to where it is currently, and PHP is no different in that respect - it has a long history full of key design decisions and changes to the language. The history of web development is even longer - this section will cover both.
Background
Contrary to what some people would have you believe, there was a lot of activity on the web development front before PHP was invented.
In olden times, code to parse form input was generally written in C. While it certainly executed very quickly, it was also very clunky to program - a simple parsing script could easily take up fifty lines or more. The main reason for the length was that C was not designed specifically for the web so there was no pre-written code to take advantage of for common tasks; you had to do everything yourself.
For example, in a HTML form with two text boxes, "FirstName", and "LastName", where the user had entered "Joe", "Blow", the C program would receive
"FirstName=Joe&LastName=Blow". It would then have to read the string in order to find out what variables are there and what they are set to. Of course, this was a great deal better than the situation before - HTTP is a stateless system, which means it saves no data at all across pages, and therefore even being able to use C to send data across pages was a big step forward.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Practical PHP Programming
View Tutorial: Practical PHP Programming
Related
Tutorials:
Automating WWW
Exploration
Automating WWW
Exploration |
A promise of easier
embedded-systems networking - JavaWorld November 1999
A promise of easier
embedded-systems networking - JavaWorld November 1999 |
Performance books put to the test - JavaWorld March 2001
Performance books put to the test - JavaWorld March 2001 |
A birds-eye view of Web services
A birds-eye view of Web services |
Boost Struts with
Boost Struts with XSLT and XML |
Unwrap the package statement's
potential
Unwrap the package statement's
potential |
Isolate server includes' runtime context
Isolate server includes' runtime context |
Introducory
article
Introducory
article |
Excelling in
Excel with Java
Excelling in
Excel with Java |
Practical Reflection: an excerpt from Hardcore Java
Practical Reflection: an excerpt from Hardcore Java
In this chapter from Hardcore Java, "Practical Reflection," Robert Simmons Jr. writes: "Reflection is one of the least understood aspects of Java, but also one of the most powerful. Reflection is used i |
Designing J2EE Applications for Real-Life Clustered Environments
Designing J2EE Applications for Real-Life Clustered Environments
In this article, the authors draw from their practical experience to list and discuss some critical considerations when building J2EE applications so that they can be deployed in a cluste |
Ruling Out: Rule Engines and Declarative Programming Come to Java
What practical gain can be found in researching rule engines? Is this just another round in the hype cycle, where writers like me talk up the newest "geegaw" technology and try to pawn it to the masses? |
FreeMarker FreeMarker 2.3.1 an open-source HTML template engine.
FreeMarker provides an easy way to get data from Java servlets into Web pages, and helps you keep graphic design separate from application logic. To use it, you encapsulate HTML in templates. |
JSP Tutorial
This Tutorial is for beginners in the Java Server Pages Technology |
Practically Groovy: JDBC programming with Groovy
Take your practical knowledge of Groovy one step further this month, as Andrew Glover shows you how to use GroovySql to build a simple data-reporting application. GroovySql combines closures and iterators to ease Java Database Connectivity (JDBC) programm |

Linux Hosting Plans include "hostsearchbox.php"; ?>
Proxima Web-Hosting
Our basic hosting packages include support for a wide variety of web technologies, backed by instant account management with our Personal Control panel. With our guaranteed |
We are providing Downloadable Version of Mandrake 10.1 Community Edition Linux CD's.
We are providing Downloadable Version of Mandrake 10.1 Community Edition Linux CD's.
Mandrake 10.1 Community Edition Linux
Now Available Mandrake 10.1 Community Edition CD's
Mandrake 10.1 Community, released in Sept. 16, 2004 is an incremental |
What is Web Hosting
What is Web Hosting
What is Web Hosting?
What is Web Hosting?
If you have a company and want web presence than you need a website. With the website any one from the world must be able to view your pages, images etc.
Website is actually a |
A Practical Roadmap for Deploying Enterprise Web Applications: Taking the First Step
This article covers important decision points around the availability, scalability, and security that are needed for enterprise web applications. |
Integrating Java Open Single Sign-On in Pluto
This article shows how to integrate Java Open Single Sign-On in Apache\'s Pluto portlet container. |
|
|
|