Cargando…

PHP : the good parts /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: MacIntyre, Peter
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, Calif. : O'Reilly Media, ©2010.
Edición:1st ed.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Table of Contents; Foreword; Preface; Conventions Used in This Book; Using Code Examples; How to Contact Us; Safari® Books Online; Acknowledgments; 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.
  • _REQUESTChapter 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 PracticeMagic 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 ChartsCaptchas; 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.comphparch.com; PHP/Web Conferences; Appendix. The Bad Parts; goto; Function Naming and Parameter Order; Loose Typing; Register Globals; Is That All?; Index.