Programming PHP - Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre

Programming PHP

Creating Dynamic Web Pages
Buch | Softcover
540 Seiten
2013 | 3rd Revised edition
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-9277-2 (ISBN)
35,90 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
This updated edition teaches everything you need to know to create effective web applications with the latest features in PHP 5.x. You’ll start with the big picture and then dive into language syntax, programming techniques, and other details, using examples that illustrate both correct usage and common idioms.

If you have a working knowledge of HTML, the authors’ many style tips and practical programming advice will help you become a top-notch PHP programmer.

  • Get an overview of what’s possible with PHP programs
  • Learn language fundamentals, including data types, variables, operators, and flow control statements
  • Understand functions, strings, arrays, and objects
  • Apply common web application techniques, such as form processing, data validation, session tracking, and cookies
  • Interact with relational databases like MySQL or NoSQL databases such as MongoDB
  • Generate dynamic images, create PDF files, and parse XML files
  • Learn secure scripts, error handling, performance tuning, and other advanced topics
  • Get a quick reference to PHP core functions and standard extensions

Kevin Tatroe has been a Macintosh and Unix programmer for ten years. He is an experienced PHP developer, knowledgeable in the changes coming with PHP 5. He is also co-author of the first edition of Programming PHP.

Peter MacIntyre lives and works in Charlottetown, Prince Edward Island, Canada. He has over 16 years of experience in the information technology industry, primarily in the area of software development.Peter's technical skill set includes several client/server tools and relational database systems such as PHP, PowerBuilder, Visual Basic, Active Server Pages, and CA-Visual Objects. Peter is certified by ZEND Corporation on PHP 4.x and has contributed writing material for Using Visual Objects (Que Corp.), Using PowerBuilder 5 (Que Corp.), ASP.NET Bible (Wiley Pub.), and Web Warrior Survey on Web Development Languages (Course Technology). Peter is also currently a contributing editor and author to the on-line and in-print magazine called php architect (www.phparch.com). He has also spoken several times at North American and International computer conferences including CA-World in New Orleans, USA; CA-TechniCon in Cologne, Germany; and CA-Expo in Melbourne, Australia.

Rasmus Lerdorf started the PHP Project back in 1995 and has been actively involved in PHP development ever since. Also involved in a number of other open source projects, Rasmus is a longtime Apache contributor and foundation member. He is the author of the first edition of the PHP Pocket Reference, and the co-author of the first edition of Programming PHP.

Chapter 1 Introduction to PHP
What Does PHP Do?
A Brief History of PHP
Installing PHP
A Walk Through PHP
Chapter 2 Language Basics
Lexical Structure
Data Types
Variables
Expressions and Operators
Flow-Control Statements
Including Code
Embedding PHP in Web Pages
Chapter 3 Functions
Calling a Function
Defining a Function
Variable Scope
Function Parameters
Return Values
Variable Functions
Anonymous Functions
Chapter 4 Strings
Quoting String Constants
Printing Strings
Accessing Individual Characters
Cleaning Strings
Encoding and Escaping
Comparing Strings
Manipulating and Searching Strings
Regular Expressions
Chapter 5 Arrays
Indexed Versus Associative Arrays
Identifying Elements of an Array
Storing Data in Arrays
Multidimensional Arrays
Extracting Multiple Values
Converting Between Arrays and Variables
Traversing Arrays
Sorting
Acting on Entire Arrays
Using Arrays
Iterator Interface
Chapter 6 Objects
Terminology
Creating an Object
Accessing Properties and Methods
Declaring a Class
Introspection
Serialization
Chapter 7 Web Techniques
HTTP Basics
Variables
Server Information
Processing Forms
Setting Response Headers
Maintaining State
SSL
Chapter 8 Databases
Using PHP to Access a Database
Relational Databases and SQL
MySQLi Object Interface
SQLite
Direct File-Level Manipulation
MongoDB
Chapter 9 Graphics
Embedding an Image in a Page
Basic Graphics Concepts
Creating and Drawing Images
Images with Text
Dynamically Generated Buttons
Scaling Images
Color Handling
Chapter 10 PDF
PDF Extensions
Documents and Pages
Text
Chapter 11 XML
Lightning Guide to XML
Generating XML
Parsing XML
Parsing XML with DOM
Parsing XML with SimpleXML
Transforming XML with XSLT
Chapter 12 Security
Filter Input
Cross-Site Scripting
Escape Output
Session Fixation
File Uploads
File Access
PHP Code
Shell Commands
More Information
Security Recap
Chapter 13 Application Techniques
Code Libraries
Templating Systems
Handling Output
Error Handling
Performance Tuning
Chapter 14 PHP on Disparate Platforms
Writing Portable Code for Windows and Unix
Interfacing with COM
Chapter 15 Web Services
REST Clients
XML-RPC
Chapter 16 Debugging PHP
The Development Environment
The Staging Environment
The Production Environment
php.ini Settings
Manual Debugging
Error Log
IDE Debugging
Additional Debugging Techniques
Chapter 17 Dates and Times

Appendix Function Reference
PHP Functions by Category
Alphabetical Listing of PHP Functions
Colophon

Erscheint lt. Verlag 22.2.2013
Zusatzinfo Illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 848 g
Themenwelt Informatik Web / Internet PHP
ISBN-10 1-4493-9277-6 / 1449392776
ISBN-13 978-1-4493-9277-2 / 9781449392772
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
das umfassende Handbuch

von Christian Wenz; Tobias Hauser

Buch | Hardcover (2024)
Rheinwerk (Verlag)
49,90