PHP The Good Parts Delivering the Best of PHP 1st Edition by Peter Macintyre – Ebook PDF Instant Download/Delivery: 0596804377, 9780596804374
Full download PHP The Good Parts Delivering the Best of PHP 1st Edition after payment
Product details:
ISBN 10: 0596804377
ISBN 13: 9780596804374
Author: Peter Macintyre
Get past all the hype about PHP and dig into the real power of this language. This book explores the most useful features of PHP and how they can speed up the web development process, and explains why the most commonly used PHP elements are often misused or misapplied. You’ll learn which parts add strength to object-oriented programming, and how to use certain features to integrate your application with databases. Written by a longtime member of the PHP community, PHP: The Good Parts is ideal for new PHP programmers, as well as web developers switching from other languages. Become familiar with PHP’s basic syntax, variables, and datatypes Learn how to integrate the language with web pages Understand how to use strings, arrays, and PHP’s built-in functions Discover the advantages of using PHP as an object-oriented language Explore how PHP interacts with databases, such as SQLite and MySQL Learn input- and output-handling best practices to prevent security breaches
Table of contents:
Chapter 1. The Good Parts
Why PHP?
A Brief History of PHP
PHP’s Place in the World
What Is PHP?
What Has Been Accomplished with PHP?
Basic PHP Setup
Chapter 2. Casing the Joint
Whitespace, Comments, and Basic Syntax
Variables: Data Types, Loose Typing, and Scope
Defined Constants
Expressions
Decisions, Decisions (Flow Control)
If…Else…
Switch…Case…
While…
For
Integration with Web Pages
Cookies
Sessions
$_GET
$_POST
$_REQUEST
Chapter 3. Functions (Doing It Once)
Parameter Passing
Default Parameters
Passing by Value Versus Passing by Reference
Include and Require
Built-In Functions Versus UDFs
Chapter 4. Strings
What Is a String?
You Can Quote Me
String Functions (Best of)
String Trimmings
Character Case Management
String Content Searching
String Modification
Chapter 5. Arrays
Indexed Arrays
Associative Arrays
Arrays from Another Dimension
Arrays Can Be Dynamic
Traversing Arrays
Array Functions (Best of)
Sorting Arrays
Math-Type Functions
Array Potpourri
Chapter 6. Objects
Putting It into Practice
Magic Methods
$this
Objects in Action
Public, Protected, and Private
Getters and Setters
Chapter 7. Database Interaction
MySQLi Object Interface
Retrieving Data for Display
PHP Data Objects
PDO Prepared Statements
Data Management on the Cheap
SQLite
File Management As a Database Alternative
Chapter 8. PHP and Friends
Email/SMS Generation
PDF Generation
Constructor Method and Basic Document Options
Adding Document Headers and Footers
Adding Images and Links
Adding a Watermark
Dynamic PDFs and Table Display
Graphical Reports Generation
Pie Charts
Bar Charts
Captchas
Chapter 9. PHP Security
Data Validation
Escape Output
Cross-Site Scripting (XXS) and SQL Injection
Password Encryption Security
Security Tips
Chapter 10. PHP 5.3 Good Parts
Namespaces
Closures (Anonymous Functions)
NOWDOC
goto Operator
DateTime and DateTimeZone Classes
Additional 5.3 Features
Chapter 11. Advanced Goodness
Regular Expressions
String Matching
String Substituting
String Splitting
SimpleXML
Integrated Development Environments
Komodo by ActiveState
Zend Studio for Eclipse
PhpED by NuSphere
Primary Websites
php.net
zend.com
devzone.zend.com
phparch.com
PHP/Web Conferences
Appendix. The Bad Parts
goto
Function Naming and Parameter Order
Loose Typing
Register Globals
Is That All?
People also search:
php the good parts
php the best parts
php the good way
php the good parts pdf
delivering the goods instrumental
Tags: Peter Macintyre, PHP, Parts, Delivering