Today is a free download without charge Download

Doug Bierer - PHP 7 Programming Cookbook [2016, PDF/EPUB, ENG] + Code

Reply to topic
 
Author
Message

Omen ®

Longevity: 8 years 4 months

Posts: 181087

Торрент-статистика

Post 29-Oct-2016 01:00

[Quote]

PHP 7 Programming Cookbook
Год издания: 2016
Автор: Doug Bierer
Издательство: Packt Publishing
ISBN: 9781785883446
Язык: Английский
Формат: PDF/EPUB
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 610
Описание: Over 80 recipes that will take your PHP 7 web development skills to the next level!
About This Book
• This is the most up-to-date book in the market on PHP
• It covers the new features of version 7.x, best practices for server-side programming, and MVC frameworks
• The recipe-based approach will allow you to explore the unique capabilities that PHP offers to web programmers
Who This Book Is For
If you are an aspiring web developer, mobile developer, or backend programmer, then this book is for you as it will take your PHP programming skills to next level. Basic knowledge of PHP programming is assumed.
What You Will Learn
• Use advanced PHP 7 features, such as the Abstract Syntax Tree, Uniform Variable Syntax, Scalar Type Hints, Generator Delegation, Anonymous Classes, and the Context Sensitive Lexer
• Discover where and when PHP 5 code needs to be re-written to avoid backwards-compatibility breaks
• Improve the overall application security and error handling by taking advantage of classes that implement the new throwable interface
• Solve practical real-world programming problems using PHP 7
• Develop middle-wareclasses that allow PHP developers to gluedifferent open source libraries together seamlessly
• Define and Implement PSR-7 classes
• Create custom middleware using PSR-7 compliant classes
• Test and debug your code, and get to know the best practices
In Detail
PHP 7 comes with a myriad of new features and great tools to optimize your code and make your code perform faster than in previous versions. Most importantly, it allows you to maintain high traffic on your websites with low-cost hardware and servers through a multithreading web server.
This book demonstrates intermediate to advanced PHP techniques with a focus on PHP 7. Each recipe is designed to solve practical, real-world problems faced by PHP developers like yourself every day. We also cover new ways of writing PHP code made possible only in version 7. In addition, we discuss backward-compatibility breaks and give you plenty of guidance on when and where PHP 5 code needs to be changed to produce the correct results when running under PHP 7. This book also incorporates the latest PHP 7.x features.
By the end of the book, you will be equipped with the tools and skills required to deliver efficient applications for your websites and enterprises.

Примеры страниц

Оглавление

Preface
Chapter 1: Building a Foundation
PHP 7 installation considerations
Using the built-in PHP web server
Defining a test MySQL database
Installing PHPUnit
Implementing class autoloading
Hoovering a website
Building a deep web scanner
Creating a PHP 5 to PHP 7 code converter
Chapter 2: Using PHP 7 High Performance Features
Understanding the abstract syntax tree
Understanding differences in parsing
Understanding differences in foreach() handling
Improving performance using PHP 7 enhancements
Iterating through a massive file
Uploading a spreadsheet into a database
Recursive directory iterator
Chapter 3: Working with PHP Functional Programming
Developing functions
Hinting at data types
Using return value data typing
Using iterators
Writing your own iterator using generators
Chapter 4: Working with PHP Object-Oriented Programming
Developing classes
Extending classes
Using static properties and methods
Using namespaces
Defining visibility
Using interfaces
Using traits
Implementing anonymous classes
Chapter 5: Interacting with a Database
Using PDO to connect to a database
Building an OOP SQL query builder
Handling pagination
Defining entities to match database tables
Tying entity classes to RDBMS queries
Embedding secondary lookups into query results
Implementing jQuery DataTables PHP lookups
Chapter 6: Building Scalable Websites
Creating a generic form element generator
Creating an HTML radio element generator
Creating an HTML select element generator
Implementing a form factory
Chaining $_POST filters
Chaining $_POST validators
Tying validation to a form
Chapter 7: Accessing Web Services
Converting between PHP and XML
Creating a simple REST client
Creating a simple REST server
Creating a simple SOAP client
Creating a simple SOAP server
Chapter 8: Working with Date/Time and International Aspects
Using emoticons or emoji in a view script
Converting complex characters
Getting the locale from browser data
Formatting numbers by locale
Handling currency by locale
Formatting date/time by locale
Creating an HTML international calendar generator
Building a recurring events generator
Handling translation without gettext
Chapter 9: Developing Middleware
Authenticating with middleware
Using middleware to implement access control
Improving performance using the cache
Implementing routing
Making inter-framework system calls
Using middleware to cross languages
Chapter 10: Looking at Advanced Algorithms
Using getters and setters
Implementing a linked list
Building a bubble sort
Implementing a stack
Building a binary search class
Implementing a search engine
Displaying a multi-dimensional array and accumulating totals 384
Chapter 11: Implementing Software Design Patterns
Creating an array to object hydrator
Building an object to array hydrator
Implementing a strategy pattern
Defining a mapper
Implementing object-relational mapping
Implementing the Pub/Sub design pattern
Chapter 12: Improving Web Security
Filtering $_POST data
Validating $_POST data
Safeguarding the PHP session
Securing forms with a token
Building a secure password generator
Safeguarding forms with a CAPTCHA
Encrypting/decrypting without mcrypt
Chapter 13: Best Practices, Testing, and Debugging
Using Traits and Interfaces
Universal exception handler
Universal error handler
Writing a simple test
Writing a test suite
Generating fake test data
Customizing sessions using session_start parameters
Appendix: Defining PSR-7 Classes
Introduction
Implementing PSR-7 value object classes
Developing a PSR-7 Request class
Defining a PSR-7 Response class
Index
Other forum [Profile] [PM]
Display posts from previous:    
Reply to topic

The time now is: Today 09:07

All times are GMT + 3 Hours



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum