This is an overview of my local nginx server setup. If you just want to get up and running quickly, using the built in web server on OS X Lion or even MacPorts or HomeBrew is probably a better idea for you. I’ve installed from source so that I can mess around with all the […]
Often, web developers turned database designers begin their coding endeavors by picking up whatever snippets are printed in the O’reilly title at hand or whatever Google throws their way. Building a database-driven website is easy. Making it fast is not. A little attention to schema, indexes, query optimization, and benchmarking could give your app the […]
This is a simple mysql connection class that I’ve been using. I follow Jay Pipes advice about lazy loading from this post. Here are the files in text. includes/database.inc.php (txt) includes/db.php (txt) dbtest.php (txt)