PHP: The Good Parts - Helion
ISBN: 978-14-493-9074-7
stron: 178, Format: ebook
Data wydania: 2010-04-07
Księgarnia: Helion
Cena książki: 84,92 zł (poprzednio: 98,74 zł)
Oszczędzasz: 14% (-13,82 zł)
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
Osoby które kupowały "PHP: The Good Parts", wybierały także:
- Tablice informatyczne. PHP7 19,67 zł, (5,90 zł -70%)
- PHP. Obiekty, wzorce, narzędzia. Wydanie V 115,81 zł, (35,90 zł -69%)
- PHP i jQuery. Techniki zaawansowane. Wydanie II 65,31 zł, (20,90 zł -68%)
- PHP i MySQL. Kurs video. Tw 148,98 zł, (59,59 zł -60%)
- Naucz si 129,00 zł, (51,60 zł -60%)
Spis treści
PHP: The Good Parts. Delivering the Best of PHP eBook -- spis treści
- PHP: The Good Parts
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Foreword
- Preface
- Conventions Used in This Book
- Using Code Examples
- How to Contact Us
- Safari Books Online
- Acknowledgments
- 1. The Good Parts
- Why PHP?
- A Brief History of PHP
- PHPs Place in the World
- What Is PHP?
- What Has Been Accomplished with PHP?
- Basic PHP Setup
- Why PHP?
- 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
- 3. Functions (Doing It Once)
- Parameter Passing
- Default Parameters
- Passing by Value Versus Passing by Reference
- Include and Require
- Built-In Functions Versus UDFs
- 4. Strings
- What Is a String?
- You Can Quote Me
- String Functions (Best of)
- String Trimmings
- Character Case Management
- String Content Searching
- String Modification
- 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
- 6. Objects
- Putting It into Practice
- Magic Methods
- $this
- Objects in Action
- Public, Protected, and Private
- Getters and Setters
- 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
- 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
- 9. PHP Security
- Data Validation
- Escape Output
- Cross-Site Scripting (XXS) and SQL Injection
- Password Encryption Security
- Security Tips
- 10. PHP 5.3 Good Parts
- Namespaces
- Closures (Anonymous Functions)
- NOWDOC
- goto Operator
- DateTime and DateTimeZone Classes
- Additional 5.3 Features
- 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
- Regular Expressions
- A. The Bad Parts
- goto
- Function Naming and Parameter Order
- Loose Typing
- Register Globals
- Is That All?
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly