PHP 7 Programming Cookbook

· Packt Publishing Ltd
電子書
610

關於本電子書

Over 80 recipes that will take your PHP 7 web development skills to the next level!About This BookThis is the most up-to-date book in the market on PHPIt covers the new features of version 7.x, best practices for server-side programming, and MVC frameworksThe recipe-based approach will allow you to explore the unique capabilities that PHP offers to web programmersWho 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 LearnUse advanced PHP 7 features, such as the Abstract Syntax Tree, Uniform Variable Syntax, Scalar Type Hints, Generator Delegation, Anonymous Classes, and the Context Sensitive LexerDiscover where and when PHP 5 code needs to be re-written to avoid backwards-compatibility breaksImprove the overall application security and error handling by taking advantage of classes that implement the new throwable interfaceSolve practical real-world programming problems using PHP 7Develop middle-wareclasses that allow PHP developers to gluedifferent open source libraries together seamlesslyDefine and Implement PSR-7 classesCreate custom middleware using PSR-7 compliant classesTest and debug your code, and get to know the best practicesIn 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.

Style and approach

This book takes a recipe-based approach, with real-world examples that can serve as building blocks for a larger application. Each recipe is self-contained with no external dependencies. This book follows a problem-solution strategy so you understand how to deal with various scenarios you may encounter while using PHP 7 in your daily activities.

關於作者

Doug Bierer has been hooked on computers since his first program, written in Dartmouth BASIC on a DEC PDP-8, in 1971. In his wide-ranging career, this author has been a professional contract programmer since 1978, having written applications in BASIC, PL/I, assembler, FORTH, C, C++, dBase/FoxBase/Clipper, Pascal, Perl, Java, and PHP. He deployed his first website in 1993 while living in San Francisco. He speaks four languages, has traveled extensively, and has lived in the USA, France, the Netherlands, England, Sweden, Scotland, and Thailand. He also spent some years doing Linux system administration and TCP/IP networking. He is also an accomplished musician (he has written over 60 songs) as well as a writer, under the pen name of Douglas Alan. Doug's own company is unlikelysource.com, which specializes in consulting, PHP programming, website development, and training (primarily for Zend Technologies Ltd and Rogue Wave Software Inc. His works of fiction published on https://www.lulu.com/ are The End, And Then? and Further Indications. Some of his technical works for O'Reilly Media are Learning PHP and MySQL, Learning PHP Security, Learning MongoDB, and Learning Doctrine.

為這本電子書評分

歡迎提供意見。

閱讀資訊

智慧型手機與平板電腦
只要安裝 Google Play 圖書應用程式 Android 版iPad/iPhone 版,不僅應用程式內容會自動與你的帳戶保持同步,還能讓你隨時隨地上網或離線閱讀。
筆記型電腦和電腦
你可以使用電腦的網路瀏覽器聆聽你在 Google Play 購買的有聲書。
電子書閱讀器與其他裝置
如要在 Kobo 電子閱讀器這類電子書裝置上閱覽書籍,必須將檔案下載並傳輸到該裝置上。請按照說明中心的詳細操作說明,將檔案傳輸到支援的電子閱讀器上。