Snook.ca Now Using CakePHP

Things have been pretty busy so I haven't had much time to post about all sorts of cool CakePHP stuff but I did want to take a moment to mention that I relaunched Snook.ca with CakePHP.

I had been using Movable Type for about 3 years now but it was limiting my ability to expand on it quickly and easily. Slow rebuilds and server errors pushed me to simply rebuild from scratch. And already I've got a few new things in place...

One of the fun things I built into it was a theming system so that users can choose which design they'd like to navigate the site in. But, it's also nice in that the Work section of my site essentially uses its own theme.

CakePHP has given me the flexibility to drop in features quickly and easily. For example, the "from the network" in the top right was done via a 9rules component that I built. It fetches an OPML file, parses it, and displays a random site from the network.

I also have a Feedburner component that retrieves how many subscribers you have but it seems Dreamhost doesn't support file_get_contents for remote server requests under PHP5. Once I rewrite that, it'll be golden.

Spam filtering is working really well, too, considering how basic the setup is currently.

I still have a lot of work to do, as there is currently no admin. I'm resorting to adding new posts and moderating comments through sqlYog at the moment. All in time, as they say.

Published September 15, 2006 · Updated September 15, 2006
Categorized as CakePHP
Short URL: https://snook.ca/s/699

Conversation

4 Comments · RSS feed
Mark said on January 24, 2007

I realise this is a pretty old thread and I apologise for bugging you with such a newbie-ish question, but how did you get CakePHP to work on Dreamhost?

I have tried everything to get the URLs to display properly, and scoured the internet for a solution, with no luck.

I have to include index.php in my URL for it to work, for example: http://example.com/index.php/path/here/

Did you have this problem at all? I'm sure the solution is simple but I'm new to this and have no idea where to start, would be very grateful if you could asnwer, or point me to someone who can.

Thanks,
Mark

Jonathan Snook said on January 25, 2007

Mark: I have my server configured using PHP5 and NOT using Fastcgi. Not sure if that's the key but all I had to do was upload the files. Nothing special after that.

Mark said on January 29, 2007

I realised I had uploaded it all without the .htaccess file in the root, I guess I shouldn't have dragged and dropped the contents of that folder on mac os x (of course it was invisible).

Thanks for the suggestion anyway! Seems to be working fine now, looking forward to some success with it now!

Pilgrim said on July 13, 2007

Cheers for being such a bonehead Mark! I made the same mistake, and I found this via Google. Site looks great Jonathan! Good work. See y'all 'round.

Pilgrim

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.

Want to learn about scaling CSS for large projects?

I'm available for full and half-day workshops on scalable CSS architecture. I can provide on-site training for your team. Interested?
Get in touch.