Apress, 2016. — 214 p. —ISBN: 978-1-4842-2480-9
Use your existing web-based PHP skills to write all types of software: CLI scripts, desktop software, network servers, and more. This book gives you the tools, techniques, and background necessary to write just about any type of software you can think of, using the PHP you know.
PHP Beyond the Web shows you how to take your knowledge of PHP development for the web and utilise it with a much wider range of software systems. Enjoy the benefits of PHP after reading this book: save money by redeploying existing skills, not learning new ones; save time and increase productivity by using a high-level language; and make money by providing your clients a full-stack service (not just websites).
PHP is no longer just a great scripting language for websites, it's now a powerful general-purpose programming language. Expand your use of PHP into your back-end systems, server software, data processing services, desktop interfaces, and more.
What You'll LearnWrite interactive shell scripts
Work with system daemons
Write desktop software
Build network servers
Interface with electronics using PHP and the Raspberry Pi
Manage performance, deployment, licensing, and system interaction
Discover the software tools for development and get other great sources of technical information and help
Who This Book Is ForExperienced PHP programmers or experienced programmers interested in leveraging PHP outside the web development context.
Getting Away from the Web—the Basics
Understanding the CLI SAPI, and Why You Need To
Development Tools
User-Facing Software
System Software
Interacting with Other Software
Talking to the System
Performance and Stability—Profiling and Improving
Distribution and Deployment Issues
Appendix A: Compiling and Installing PHP, Extensions, and Libs
Appendix B: File and Data Format Libraries for PHP
Appendix C: Sources of Help
Appendix D: Interesting Libraries, Tools, Articles, and Projects
Appendix E: Integrated Development Environments for PHP
Afterword: Where Now?