Chapter 2
Laying the Foundation
IN THIS CHAPTER
Getting your directory structure set up
Creating the app database and adding the required tables
Understanding PHP sessions
Creating your app’s startup files
Making your coding life easier by taking a modular approach
Every great developer you know got there by solving problems they were unqualified to solve until they actually did it.
— PATRICK MCKENZIE
A well-built web app begins with a solid foundation. Sure, when you’ve got a great idea for a web app, it’s always tempting to work on the visible front end first, even if it’s just cobbling together a quick proof-of-concept page. However, party pooper that I am, I’m going to gently suggest that it’s a good idea to nail down at least some of the more fundamental work off the top. Not only does that give you some major items to check off your app to-do list, but having a solid foundation under your feet will help you immeasurably when it comes time to code the rest of your app.
This ...
Get Web Coding & Development All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.