Getting Good with PHP
Even if you don’t have any programming experience under your belt, this easy-to-read guide will get you started with PHP in no time.
In Getting Good with PHP, Andrew Burgess will teach you everything you need to know about the basics of PHP. Even if you don’t have any programming experience under your belt, this easy-to-read guide will get you started with PHP in no time.
This book isn’t meant to be the super extreme, all-encompassing book which will make you become one with PHP. But if you know nothing at all about PHP and want to get comfy with it as quickly as possible, then I think this book is definitely for you. Although it won’t make you an expert, it will take you all the way to the advanced beginner state, getting you to a point where you’ll be comfortable writing PHP scripts for your own websites and ready to digest more advanced PHP topics.
What The Book Covers
Getting Up and Running
Before we actually start learning PHP, let’s figure out exactly what PHP is, and why you should use it. Of course, to learn PHP, you’ll need to have it installed on your computer, so we’ll also walk through the installation process on both Windows and Mac.
The Nuts and Bolts of PHP
Next up, we’ll walk through the datatypes and operators of PHP. Datatypes and operators are the core of pretty much every programming language; having these under your belt will really make you feel like you’re beginning to grok PHP. We’ll also look at creating functions.
PHP’s Control Structures and Built-in Functions
If datatypes and operators are the nuts and bolts, then control structures are the chassis of programming languages. `If` and `else`, `foreach` and `switch`, `return` and `require`: all of them play important roles in your understanding of PHP Fundamentals. Then, we’ll dive into PHP’s massive library of built-in functions: as you’ll see, there really is a function for pretty much anything you might want to do.
PHP Forms and Persistence
PHP is useful for dealing with user input, so that’s what we look at next. Of course, the web doesn’t keep track of your website viewers, so PHP has several methods of preserving the visitor’s data. Then, of course, there are databases, which are great for storing user data for longer periods of time.
Security and Problem Solving
When you’re working with user input, you want to make sure that you don’t make place for hackers to exploit your site. While this isn’t quite “Security 101,” you’ll learn some helpful tips to make sure that the input you get from your users is what you expect, and not what you dread. Then, we’ll wrap it up with a discussion on how to fix things when they go wrong.
- Paperback: 120 pages
- Publisher: Rockable Press (July 2012)
- Language: English