Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Programming PHP - Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre

Programming PHP

Buch | Softcover
540 Seiten
2006 | 2nd Revised edition
O'Reilly Media (Verlag)
978-0-596-00681-5 (ISBN)
CHF 48,65 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
When it comes to creating websites, the PHP scripting language is truly a red-hot property. This book contains chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP. It offers coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies.
Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million websites, surpassing Microsoft's ASP .NET technology in popularity. Programmers love its flexibility and speed; designers love its accessibility and convenience. As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP.
Contents include: * Detailed information on the basics of the PHP language, including data types, variables, operators, and flow control statements * Chapters outlining the basics of functions, strings, arrays, and objects * Coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies * Material on interacting with relational databases, such as MySQL and Oracle, using the database-independent PEAR DB library and the new PDO Library * Chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP * Advanced topics, such as creating secure scripts, error handling, performance tuning, and writing your own C language extensions to PHP * A handy quick reference to all the core functions in PHP and all the standard extensions that ship with PHP Praise for the first edition: "If you are just getting into the dynamic Web development world or you are considering migrating from another dynamic web product to PHP, Programming PHP is the book of choice to get you up, running, and productive in a short time."
--Peter MacIntrye, eWeek "I think this is a great book for programmers who want to start developing dynamic websites with PHP. It gives a detailed overview of PHP, lots of valuable tips, and a good sense of PHP's strengths." --David Dooling, Slashdot.org

Kevin Tatroe has been a Macintosh and Unix programmer for ten years. Being lazy, he's attracted to languages and frameworks that do much of the work for you, such as the AppleScript, Perl, and PHP languages and the WebObjects and Cocoa programming environments. Kevin, his wife Jenn, his son Hadden, and two cats live on the edge of the rural plains of Colorado, just far away enough from the mountains to avoid the worst snowfall, and just close enough to avoid tornadoes. The house is filled with LEGO creations, action figures, and other toys. 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 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.

Foreword Preface 1. Introduction to PHP What Does PHP Do? A Brief History of PHP Installing PHP A Walk Through PHP 2. Language Basics Lexical Structure Data Types Variables Expressions and Operators Flow-Control Statements Including Code Embedding PHP in Web Pages 3. Functions Calling a Function Defining a Function Variable Scope Function Parameters Return Values Variable Functions Anonymous Functions 4. Strings Quoting String Constants Printing Strings Accessing Individual Characters Cleaning Strings Encoding and Escaping Comparing Strings Manipulating and Searching Strings Regular Expressions POSIX-Style Regular Expressions Perl-Compatible Regular Expressions 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 6. Objects Terminology Creating an Object Accessing Properties and Methods Declaring a Class Introspection Serialization 7. Web Techniques HTTP Basics Variables Server Information Processing Forms Setting Response Headers Maintaining State SSL 8. Databases Using PHP to Access a Database Relational Databases and SQL PEAR DB Basics Advanced Database Techniques Sample Application 9. Graphics Embedding an Image in a Page The GD Extension Basic Graphics Concepts Creating and Drawing Images Images with Text Dynamically Generated Buttons Scaling Images Color Handling 10. PDF PDF Extensions Documents and Pages Text 11. XML Lightning Guide to XML Generating XML Parsing XML Parsing XML with DOM Parsing XML with SimpleXML Transforming XML with XSLT Web Services 12. Security Filter Input Escape Output Cross-Site Scripting Session Fixation File Uploads File Access PHP Code Shell Commands More Information Security Recap 13. Application Techniques Code Libraries Templating Systems Handling Output Error Handling Performance Tuning 14. Extending PHP Architectural Overview What You'll Need Building Your First Extensions The config.m4 File Memory Management The pval/zval Data Type Parameter Handling Returning Values References Global Variables Creating Variables Extension INI Entries Resources Where to Go from Here 15. PHP on Windows Installing and Configuring PHP on Windows Writing Portable Code for Windows and Unix Interfacing with COM Interacting with ODBC Data Sources A. Function ReferenceB. Extension Overview Index

Erscheint lt. Verlag 6.6.2006
Zusatzinfo 1, black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 180 x 234 mm
Gewicht 876 g
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Informatik Web / Internet PHP
ISBN-10 0-596-00681-0 / 0596006810
ISBN-13 978-0-596-00681-5 / 9780596006815
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)
CHF 69,85