Hacker News new | ask | show | jobs
by Rust 5794 days ago
For a simpler project, I usually start by building a basic library of classes/functions I know I'll need (for example, a database factory class and MySQL or PostgreSQL interface, helper functions for cleaning querystrings and form fields, etc.). Then I'll do a basic mockup of the front page and at least one or two internal pages (if they differ from the default page).

Finally I start building code out, starting with a very basic theme for the front end and concentrating on any security that needs to be in place.

Yes, I generally start from a blank slate each time, just using pieces of code I already have. I don't use frameworks or CSS grids.