Cargando…

Jump start PHP environment /

Many entry level PHP developers want a quick path to glory, a shortcut to "knowing PHP." Too many books and tutorials go straight into a pre-made, awful environment that just wants you to code, with no regard for security, version control, or other absolutely essential practices. This book...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Škvorc, Bruno (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Collingwood, Vic. : SitePoint, [2015]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Jump Start PHP Environment; Table of Contents; Preface; The WWW; The What and Why; The Why; The What; The Who; Conventions Used; Code Samples; Tips, Notes, and Warnings; Supplementary Materials; Want to take your learning further?; The Anatomy of Web Requests; The Client and the Server; What is a client?; What is a server?; Web Request Basics; How It All Works; Front-end and Back-end; Server-side Languages; Generating Answers with Server-side Languages; For Those Who Want More; DNS Servers; What Happens When You Type ...; The Programming Environment; A Good IDE Is Worth Its File Size in Gold
  • PhpStormNetBeans; Zend Studio; The Importance of Coding Standards; The Command Line / Terminal; The Community; PHP Mentoring; PHP.net Documentation; Various Forums; Summary; The Application Environment; Application Environments; Production; Development; Hosts and Virtual Hosts; Staging and Maintenance; The Evil of *AMP Bundles; Machine Pollution; Learning is Progress, or How the Comfort of Your Comfort Zone is Overrated; Testing; The Uncleanable Mess; Production/Development Parity; Performance and Debugging; Summary; For Those Who Want More; Virtual Machines; Virtual Machines Explained
  • What are VMs?Getting to Know VirtualBox and Vagrant; The Benefits of VMs; Vagrant in a Nutshell; Vagrant Boxes; Provisioning; Using Vagrant; Homestead Improved: Explanation; Defining New Sites; Shutdown; Further Reading; Summary; Versioning Systems; Versioning Basics; Git and GitHub; Git; How does it work?; Alternatives; GitHub; Git in Action; Preparing the Environment; Creating a "Hello World" page; Git; Repo Initialization; Adding and Committing; Reset; GitHub; Useful Resources; Summary; Deployment and Hosting; Hosting; Shared Hosting; Shared Hosting is Bad; Shared Hosting Holds You Back
  • Shared Hosting is Good for Limited Use CasesCloud Hosting; (Virtual) Private Hosting; Others; Deployment; Manual; Automatic and Semiautomatic Deployment; Recommendation; Summary; Composer; Spaghetti Western; Namespaces and Ye Olde Package Management; What is Composer?; Usage Example; Bootstrapping; Installing Carbon; Testing; Cleanup; More Tricks to Try; Update versus Install and Composer Lock; require-dev and global; Is that all there is?; For Those Who Want More; Learn by Example: A Web App from Scratch; What will we be building?; Setting Up the Environment; Bootstrapping the App; Testing
  • Frameworks versus PackagesDeveloping the App; Var Dumper; Database Connection; Repo and First Push; HTML Form; index.php vs index.html; The HTML Form; Second Push; Creating the Comment Class and the Database Table; Third Push; Development vs Production Database; Fourth Push; Posting and Displaying Comments; Posting; Validation: Never Trust User Input!; Reading; CSS; Final Push; Deployment; Deploying on a Shared Host (Hostgator); Deploying on DigitalOcean; New Droplet; Prerequisites; PHP and Composer; Server Configuration; Pulling With Git; Conclusion; For Those Who Want More