This concise book shows you how to create PHP Command Line Interface (CLI) scripts, including user interaction and scripts to automate and assist your workflow. Learn to quickly create useful and effective Command Line software and scripts using the world's most popular web scripting language, PHP. Enjoy the benefits of writing CLI scripts in PHP: Save money by redeploying existing skills, not learning new ones. Save time and increase productivity by using a high-level language. Make money by providing your clients with a full-stack service.

With PHP CLI readers will:

  • Learn about the PHP CLI SAPI
  • Discover how to use it to run PHP scripts off-line
  • Easily deal with user input and console output
  • Work with helper libraries and software
  • Find out the differences between programming for the web and for the CLI



Autorentext
Rob Aley has been programming commercially and academically in a variety of programming languages, with over 10 years of PHP experience, since graduating in Computer Science from the University of Leeds in 1999. Having had a varied career working in industries from coffee to condoms, as well as doing freelance software development, Rob is now a Database Programmer at the University of Oxford working in healthcare related data analysis. He uses PHP almost exclusively now, out of choice. When he's not working or writing books, he spends time with his wife, three young children, and most importantly his cat.


Zusammenfassung
This concise book shows you how to create PHP command line interface (CLI) scripts, including user interaction and scripts to automate and assist your workflow. Learn to quickly create useful and effective command line software and scripts using the world's most popular web scripting language, PHP. Enjoy the benefits of writing CLI scripts in PHP: save money by redeploying existing skills, not learning new ones. Save time and increase productivity by using a high-level language. Make money by providing your clients with a full-stack service.


What You'll Learn
  • Learn about the PHP CLI SAPI
  • Find out how to use it to run PHP scripts off-line
  • Easily deal with user input and console output
  • Work with helper libraries and software
  • Find out the differences between programming for the web and for the CLI

Who This Book Is For

Experienced PHP programmers and web developers.


Inhalt

1. Introduction

2. An Overview of CLI Programming in PHP

3. Understanding and Using the CLI SAPI

4. User Facing Software

5. PHP CLI Scripts and Your System

6. Where to Now?

Appendix A. Compiling and Installing PHP, Extensions, and Libs

Appendix B. Sources for Help

Titel
PHP CLI
Untertitel
Create Command Line Interface Scripts with PHP
EAN
9781484222386
ISBN
978-1-4842-2238-6
Format
E-Book (pdf)
Hersteller
Herausgeber
Veröffentlichung
05.09.2016
Digitaler Kopierschutz
Wasserzeichen
Dateigrösse
3.16 MB
Anzahl Seiten
62
Jahr
2016
Untertitel
Englisch