|Page (1) of 2 - 06/14/05||email article||print page|
Spring Into PHP 5Build dynamic website using the PHP 5 scripting language
|Click image to purchase Spring Into PHP 5 by Steven Holzner|
One scripting language that has grown in recent years is called PHP (originally known as Personal Home Page). PHP is a language that is used to build dynamic web applications. In other words, this is one way to create that more sophisticated website that youve been looking to accomplish.
Learning a new scripting language is never an easy task (Im sure even HTML was a bit strange to you in the beginning), but Holzners PHP 5 could be just the thing to turn that outdated website design into a modern internet hotspot.
In PHP 5, Holzner takes you through the basic elements of the scripting structure to creating more advanced web applications. There are a number of code samples that you can write and execute on your PHP compatible web server.
Chapter one begins with Holzner explaining the beginning of PHP technology then moves quickly into installing PHP locally, setting up your working environment and building, executing and debugging your first PHP script. He then moves quickly through the rest of the chapter by demonstrating how to incorporate HTML code, print pages and how to set up data types, constants and variables. Holzner moves quickly, so you should have some form of programming or at least typing skill. Those skills will be a tremendous asset as your progress through the book.
Chapter two starts off with using operators and flow control. Learn how to math operators and functions as well as operator precedence, execution operation, working with strings, bitwise, and how to use an If statement. Other topics in the chapter include the ternary operator, how to utilize loops in your code, how to write loops, and other various syntax issues. If youre not familiar with writing source code, then this chapter should help get you up to speed in writing PHP code.
Chapter three covers using strings and arrays in your PHP projects. First learn what a string and an array actually is, the proper syntax in writing one, the elements that make up a string and an array. The chapter has a nice listing of all of the string and array functions so you find this useful for reference later on. Other subjects covered inthis chapter include the looping of arrays, merging arrays, manipulating array data as well as formatting strings. Theres a lot of information to cover in this chapter so be prepared.
Chapter four covers everything you would ever want to know about functions. Some of the topics covered in this chapter include creating a function, passing data, returning values, global access, building functions from inside functions and how to manage error handling through a function.
Chapter five demonstrates how to combine HTML code with PHP. Holzner demonstrates how to create text fields, text areas, list boxes password controls and even how to retrieve data from text fields.
Chapter six covers more web applications through PHP. Creating custom web applications in PHP, validating user input, using PHP to check string and numeric data, removing and encoding HTML tags, preserving data and how to use http authentication.
Related Keywords:php5, building web applications, web scripting, scripting language, personal home page, PHP, dynamic websites