PHP Solutions Dynamic Web Design Made Easy

This is the third edition of David Powers' highly-respected PHP Solutions: Dynamic Web Design Made Easy. This new edition has been updated by David to incorporate changes to PHP since the second edition and to offer the latest techniques—a classic guide modernized for 21st century PHP technique...

Descripción completa

Detalles Bibliográficos
Autor principal: Powers, David. author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Berkeley, CA : Apress 2014.
Edición:3rd ed. 2014.
Colección:Expert's voice in Web development.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629473706719
Tabla de Contenidos:
  • Contents at a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: What Is PHP-And Why Should I Care?; How PHP Has Grown; How PHP Makes Pages Dynamic; Creating Pages That Think for Themselves; How Hard Is PHP to Use and Learn?; Can I Just Copy and Paste the Code?; How Safe Is PHP?; What Software Do I Need to Write PHP?; What to Look for When Choosing a PHP Editor; So, Let's Get on with It . . .; Chapter 2: Getting Ready to Work with PHP; Checking Whether Your Website Supports PHP; Deciding Where to Test Your Pages
  • What You Need for a Local Test EnvironmentIndividual Programs or an All-in-one Package?; Setting Up on Windows; Getting Windows to Display Filename Extensions; Choosing a Web Server; Installing an All-in-one Package on Windows; Setting Up on Mac OS X; Installing MAMP; Testing and configuring MAMP; Where to Locate Your PHP Files (Windows & Mac); Using Virtual Hosts; Checking Your PHP Settings; Displaying the Server Configuration with phpinfo(); Editing php.ini; What's Next?; Chapter 3: How to Write PHP Scripts; PHP: The Big Picture; Telling the Server to Process PHP; Embedding PHP in a Webpage
  • Storing PHP in an External FileUsing Variables to Represent Changing Values; Naming Variables; Assigning Values to Variables; Ending Commands With a Semicolon; Commenting Scripts; Single-line Comments; Multi-line Comments; Using Arrays to Store Multiple Values; PHP's Built-in Superglobal Arrays; Understanding When to Use Quotes; Special Cases: True, False, and Null; Making Decisions; Making Comparisons; Using Indenting and Whitespace for Clarity; Using Loops for Repetitive Tasks; Using Functions for Preset Tasks; Understanding PHP Classes and Objects; Displaying PHP Output
  • Using Echo Shortcut SyntaxJoining Strings Together; Working With Numbers; Understanding PHP Error Messages; Why is My Page Blank?; Handling Exceptions; PHP: A Quick Reference; Using PHP in an Existing Website; Data Types in PHP; Doing Calculations with PHP; Arithmetic Operators; Determining the Order of Calculations; Combining Calculations and Assignment; Adding to an existing string; All You Ever Wanted to Know About Quotes-and More; How PHP Treats Variables Inside Strings; Using Escape Sequences Inside Double Quotes; Embedding Associative Array Elements in a String
  • Breaking Out Of a Loop