Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

MODERN PHP. NEW FEATURES AND GOOD PRACTICES
Título:
MODERN PHP. NEW FEATURES AND GOOD PRACTICES
Subtítulo:
Autor:
LOCKHART, J
Editorial:
O´REILLY
Año de edición:
2015
Materia
PROGRAMACION INTERNET
ISBN:
978-1-4919-0501-2
Páginas:
268
29,49 €

 

Sinopsis

PHP is experiencing a renaissance, though it may be difficult to tell with all of the outdated PHP tutorials online. With this practical guide, you'll learn how PHP has become a full-featured, mature language with object-orientation, namespaces, and a growing collection of reusable component libraries.

Author Josh Lockhart-creator of PHP The Right Way, a popular initiative to encourage PHP best practices-reveals these new language features in action. You'll learn best practices for application architecture and planning, databases, security, testing, debugging, and deployment. If you have a basic understanding of PHP and want to bolster your skills, this is your book.

Learn modern PHP features, such as namespaces, traits, generators, and closures
Discover how to find, use, and create PHP components
Follow best practices for application security, working with databases, errors and exceptions, and more
Learn tools and techniques for deploying, tuning, testing, and profiling your PHP applications
Explore Facebook's HVVM and Hack language implementations-and how they affect modern PHP
Build a local development environment that closely matches your production server



Language Features
Chapter 1: The New PHP
Past
Present
Future
Chapter 2: Features
Namespaces
Code to an Interface
Traits
Generators
Closures
Zend OPcache
Built-in HTTP server
What's Next
Good Practices
Chapter 3: Standards
PHP-FIG to the Rescue
Framework Interoperability
What Is a PSR?
PSR-1: Basic Code Style
PSR-2: Strict Code Style
PSR-3: Logger Interface
PSR-4: Autoloaders
Chapter 4: Components
Why Use Components?
What Are Components?
Components Versus Frameworks
Find Components
Use PHP Components
Create PHP Components
Chapter 5: Good Practices
Sanitize, Validate, and Escape
Passwords
Dates, Times, and Time Zones
Databases
Multibyte Strings
Streams
Errors and Exceptions
Deployment, Testing, and Tuning
Chapter 6: Hosting
Shared Server
Virtual Private Server
Dedicated Server
PaaS
Choose a Hosting Plan
Chapter 7: Provisioning
Our Goal
Server Setup
PHP-FPM
nginx
Automate Server Provisioning
Delegate Server Provisioning
Further Reading
What's Next
Chapter 8: Tuning
The php.ini File
Memory
Zend OPcache
File Uploads
Max Execution Time
Session Handling
Output Buffering
Realpath Cache
Up Next
Chapter 9: Deployment
Version Control
Automate Deployment
Capistrano
Further Reading
What's Next
Chapter 10: Testing
Why Do We Test?
When Do We Test?
What Do We Test?
How Do We Test?
PHPUnit
Continuous Testing with Travis CI
Further Reading
What's Next
Chapter 11: Profiling
When to Use a Profiler
Types of Profilers
Xdebug
XHProf
New Relic Profiler
Blackfire Profiler
Further Reading
What's Next
Chapter 12: HHVM and Hack
HHVM
The Hack Language
Further Reading
Chapter 13: Community
Local PUG
Conferences
Mentoring
Stay Up-to-Date
Appendix: Installing PHP
Appendix: Local Development Environments