2 options
Mastering PHP 7 : design, configure, build, and test professional web appilcations in PHP 7 / Branko Ajzele.
- Format:
- Book
- Author/Creator:
- Ajzele, Branko, author.
- Language:
- English
- Subjects (All):
- PHP (Computer program language).
- Application software--Development.
- Application software.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st edition
- Other Title:
- Mastering Personal Home Page 7
- Master PHP seven
- Design, configure, build, and test professional web appilcations in PHP 7
- Place of Publication:
- Birmingham, UK : Packt Publishing, 2017.
- System Details:
- Mode of access: World Wide Web.
- text file
- Biography/History:
- Ajzele Branko: Branko Ajzele is a respected and highly accomplished software developer, book author, solution specialist, consultant, and team leader. He currently works for Interactive Web Solutions Ltd (iWeb), where he holds the role of senior developer and is the director of iWeb's Croatia office. Branko holds several respected IT certifications, including Zend Certified PHP Engineer, Magento Certified Developer, Magento Certified Developer Plus, Magento Certified Solution Specialist, Magento 2 Certified Solution Specialist, Magento 2 Certified Professional Developer, to mention just a few. He was crowned the e-commerce Developer of the Year by the Digital Entrepreneur Awards in October 2014 for his excellent knowledge and expertise in e-commerce development.
- Summary:
- Effective, readable, and robust codes in PHP About This Book Leverage the newest tools available in PHP 7 to build scalable applications Embrace serverless architecture and the reactive programming paradigm, which are the latest additions to the PHP ecosystem Explore dependency injection and implement design patterns to write elegant code Who This Book Is For This book is for intermediate level developers who want to become a master of PHP. Basic knowledge of PHP is required across areas such as basic syntax, types, variables, constants, expressions, operators, control structures, and functions. What You Will Learn Grasp the current state of PHP language and the PHP standards Effectively implement logging and error handling during development Build services through SOAP and REST and Apache Trift Get to know the benefits of serverless architecture Understand the basic principles of reactive programming to write asynchronous code Practically implement several important design patterns Write efficient code by executing dependency injection See the working of all magic methods Handle the command-line area tools and processes Control the development process with proper debugging and profiling In Detail PHP is a server-side scripting language that is widely used for web development. With this book, you will get a deep understanding of the advanced programming concepts in PHP and how to apply it practically The book starts by unveiling the new features of PHP 7 and walks you through several important standards set by PHP Framework Interop Group (PHP-FIG). You'll see, in detail, the working of all magic methods, and the importance of effective PHP OOP concepts, which will enable you to write effective PHP code. You will find out how to implement design patterns and resolve dependencies to make your code base more elegant and readable. You will also build web services alongside microservices architecture, interact with databases, and work around third-party packages to enrich applications. This book delves into the details of PHP performance optimization. You will learn about serverless architecture and the reactive programming paradigm that found its way in the PHP ecosystem. The book also explores the best ways of testing your code, debugging, tracing, profiling, and deploying your PHP application. By the end of the book, you will be able to create readable, reliable, and robust applications in PHP to meet modern day requirements in the software indu...
- Contents:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: The All New PHP
- Scalar type hints
- Return type hints
- Anonymous classes
- Generator delegation
- Generator return expressions
- The null coalesce operator
- The spaceship operator
- Constant arrays
- Uniform variable syntax
- Throwables
- Group use declarations
- Catching multiple exceptions types
- Class constant visibility modifiers
- Iterable pseudo-type
- Nullable types
- Void return types
- Summary
- Chapter 2: Embracing Standards
- PSR-1 - basic coding standard
- PSR-2 - coding style guide
- PSR-3 - logger interface
- PSR-4 - autoloading standard
- PSR-6 - caching interface
- PSR-7 - HTTP message interface
- PSR-13 - hypermedia links
- Chapter 3: Error Handling and Logging
- Error handling
- Error
- ArithmeticError
- DivisionByZeroError
- AssertionError
- ParseError
- TypeError
- Uncaught error handler
- Triggering errors
- Exception
- Creating a custom exception handler
- Rethrowing exceptions
- Uncaught Exception handler
- Logging
- Native logging
- Logging with Monolog
- Chapter 4: Magic Behind Magic Methods
- Using __construct()
- Using __destruct()
- Using __call()
- Using __callStatic()
- Using __set()
- Using __get()
- Using __isset()
- Using __unset()
- Using __sleep()
- Using __wakeup()
- Using __toString()
- Using __invoke()
- Using __set_state()
- Using __clone()
- Using __debugInfo()
- Usage statistics across popular platforms
- Chapter 5: The Realm of CLI
- Understanding PHP CLI
- The Console component
- Setting up the Console component
- Creating a console command
- Dealing with inputs
- Using Console component helpers
- Input/output streams
- Process control.
- Ticks
- Signals
- Alarms
- Multiprocessing
- Chapter 6: Prominent OOP Features
- Object inheritance
- Objects and references
- Object iteration
- Object comparison
- Traits
- Reflection
- Chapter 7: Optimizing for High Performance
- Max execution time
- Memory management
- File uploads
- Session handling
- Output buffering
- Disabling debug messages
- Zend OPcache
- Concurrency
- Chapter 8: Going Serverless
- Using the serverless framework
- Using Iron.io IronWorker
- Chapter 9: Reactive Programming
- Similarities with event-driven programming
- Using RxPHP
- Installing RxPHP
- Observable and observer
- Subject
- Operator
- Writing custom operators
- Non-blocking IO
- Using React
- Installing React
- React event loop
- Observables and event loop
- Chapter 10: Common Design Patterns
- Base patterns
- The registry pattern
- Creational patterns
- The singleton pattern
- The prototype pattern
- The abstract factory pattern
- The builder pattern
- The object pool pattern
- Behavioral patterns
- The strategy pattern
- The observer pattern
- The lazy initialization pattern
- The chain of responsibility pattern
- Structural patterns
- The decorator pattern
- Chapter 11: Building Services
- Understanding the client-server relationship
- Working with SOAP
- XML extensions
- Creating server
- Creating WSDL file
- Creating client
- Working with REST
- JSON extensions
- Working with Apache Thrift (RPC)
- Installing Apache Thrift
- Defining service
- Understanding microservices
- Chapter 12: Working with Databases
- Working with MySQL
- Installing MySQL
- Setting up sample data
- Querying via the MySQLi driver extension
- Connecting.
- Error handling
- Selecting
- Binding parameters
- Inserting
- Updating
- Deleting
- Transactions
- Querying via the PHP Data Objects driver extension
- Connecting
- Working with MongoDB
- Installing MongoDB
- Querying via the MongoDB driver extension
- Working with Redis
- Installing Redis
- Querying via the phpredis driver extension
- Chapter 13: Resolving Dependencies
- Mitigating the common problem
- Understanding dependency injection
- Understanding dependency injection container
- Chapter 14: Working with Packages
- Understanding Composer
- Understanding Packagist
- Using third-party packages
- Creating your own package
- Distributing your package
- Chapter 15: Testing the Important Bits
- PHPUnit
- Setting up the PHPUnit
- Setting up a sample application
- Writing test
- Executing tests
- Code coverage
- Behat
- Setting up Behat
- phpspec
- Setting up phpspec
- jMeter
- Chapter 16: Debugging, Tracing, and Profiling
- Xdebug
- Installation
- Debugging
- Tracing
- Profiling
- Zend Z-Ray
- Installing Zend Server
- Setting up the virtual host
- Using Z-Ray
- Chapter 17: Hosting, Provisioning, and Deployment
- Choosing the right hosting plan
- Shared server
- Virtual private server
- Dedicated server
- PaaS
- Automating provisioning
- Setting up the workstation machine.
- Setting up the server machine
- Configuring Ansible
- Provisioning a web server
- Automating the deployment
- Installing Deployer
- Using Deployer
- Continuous integration
- Jenkins
- Index.
- Notes:
- Includes bibliographical references and index.
- Description based on online resource; title from title page (Safari, viewed July 11, 2017).
- OCLC:
- 993879251
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.