Query-rific


In case you were wondering, this front page queries the database eight (8) times each time it loads up. Chris asked me if I knew and I didn’t so I found out. :) This isn’t too bad, but the next version of echo will support the ability to “cache” pages that don’t get updated that often and allow only to update it when new content is added. :) This should allow for some faster load times and the site won’t break when the database is down. This may or may not be an issue with the fact that PHP runs as the webserver, but I will have the option available. This is all part of the smarty template system which I have determined is almost perfect for what I want.

Written by Colin Bate