Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

LEARNING PHP. A GENTLE INTRODUCTION TO THE WEB´S MOST POPULAR LANGUAGE
Título:
LEARNING PHP. A GENTLE INTRODUCTION TO THE WEB´S MOST POPULAR LANGUAGE
Subtítulo:
Autor:
SKLAR, D
Editorial:
O´REILLY
Año de edición:
2016
Materia
PROGRAMACION INTERNET
ISBN:
978-1-4919-3357-2
Páginas:
416
41,95 €

 

Sinopsis

If you want to get started with PHP, this book is essential. Author David Sklar (PHP Cookbook) guides you through aspects of the language you need to build dynamic server-side websites. By exploring features of PHP 5.x and the exciting enhancements in the latest release, PHP 7, you'll learn how to work with web servers, browsers, databases, and web services. End-of-chapter exercises help you make the lessons stick.

Whether you're a hobbyist looking to build dynamic websites, a frontend developer ready to add server-side programs, or an experienced programmer who wants to get up to speed with this language, this gentle introduction also covers aspects of modern PHP, such as internationalization, using PHP from the command line, and package management.

Learn how PHP interacts with browsers and servers
Understand data types, variables, logic, looping, and other language basics
Explore how to use arrays, functions, and objects
Build and validate web forms
Work with databases and session management
Access APIs to interact with web services and other websites
Jumpstart your project with popular PHP web application frameworks



Chapter 1Orientation and First Steps
PHP's Place in the Web World
What's So Great About PHP?
PHP in Action
Basic Rules of PHP Programs
Chapter Summary
Chapter 2Data: Working with Text and Numbers
Text
Numbers
Variables
Chapter Summary
Exercises
Chapter 3Logic: Making Decisions and Repeating Yourself
Understanding true and false
Making Decisions
Building Complicated Decisions
Repeating Yourself
Chapter Summary
Exercises
Chapter 4Groups of Data: Working with Arrays
Array Basics
Looping Through Arrays
Modifying Arrays
Sorting Arrays
Using Multidimensional Arrays
Chapter Summary
Exercises
Chapter 5Groups of Logic: Functions and Files
Declaring and Calling Functions
Passing Arguments to Functions
Returning Values from Functions
Understanding Variable Scope
Enforcing Rules on Arguments and Return Values
Running Code in Another File
Chapter Summary
Exercises
Chapter 6Data and Logic Together: Working with Objects
Object Basics
Constructors
Indicating a Problem with Exceptions
Extending an Object
Property and Method Visibility
Namespaces
Chapter Summary
Exercises
Chapter 7Exchanging Information with Users: Making Web Forms
Useful Server Variables
Accessing Form Parameters
Form Processing with Functions
Validating Data
Displaying Default Values
Putting It All Together
Chapter Summary
Exercises
Chapter 8Remembering Information: Databases
Organizing Data in a Database
Connecting to a Database Program
Creating a Table
Putting Data into the Database
Inserting Form Data Safely
A Complete Data Insertion Form
Retrieving Data from the Database
Changing the Format of Retrieved Rows
Retrieving Form Data Safely
A Complete Data Retrieval Form
Chapter Summary
Exercises
Chapter 9Working with Files
Understanding File Permissions
Reading and Writing Entire Files
Reading and Writing Parts of Files
Working with CSV Files
Inspecting File Permissions
Checking for Errors
Sanitizing Externally Supplied Filenames
Chapter Summary
Exercises
Chapter 10Remembering Users: Cookies and Sessions
Working with Cookies
Activating Sessions
Storing and Retrieving Information
Configuring Sessions
Login and User Identification
Why setcookie() and session_start() Want to Be at the Top of the Page
Chapter Summary
Exercises
Chapter 11Talking to Other Websites and Services
Simple URL Access with File Functions
Comprehensive URL Access with cURL
Serving API Requests
Chapter Summary
Exercises
Chapter 12Debugging
Controlling Where Errors Appear
Fixing Parse Errors
Inspecting Program Data
Handling Uncaught Exceptions
Chapter Summary
Exercises
Chapter 13Testing: Ensuring Your Program Does the Right Thing
Installing PHPUnit
Writing a Test
Isolating What You Test
Test-Driven Development
More Information About Testing
Chapter Summary
Exercises
Chapter 14Software Engineering Practices You Should Be Aware Of
Source Control
Issue Tracking
Environments and Deployment
Scaling Eventually
Chapter Summary
Chapter 15Handling Dates and Times
Displaying the Date or Time
Parsing a Date or Time
Calculating Dates and Times
Working with Timezones
Chapter Summary
Chapter 16Package Management
Installing Composer
Adding a Package to Your Program
Finding Packages
Getting More Information on Composer
Chapter Summary
Chapter 17Sending Email
Swift Mailer
Chapter Summary
Chapter 18Frameworks
Laravel
Symfony
Zend Framework
Chapter Summary
Chapter 19Command-Line PHP
Writing Command-Line PHP Programs
Using PHP's Built-in Web Server
Running a PHP REPL
Chapter Summary
Chapter 20Internationalization and Localization
Manipulating Text
Sorting and Comparing
Localizing Output
Chapter Summary
Appendix Installing and Configuring the PHP Engine
Using PHP with a Web-Hosting Provider
Installing the PHP Engine
Modifying PHP Configuration Directives
Appendix Summary
Appendix Answers to Exercises
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13