HomeBlogImages
SoC's Status: Done with Lost Season 2. That was a confusing cliffhanger. Oh well.. on to Season 3 tonight! (Updated 1 day ago.)

Image Site Update

Posted by SoC on Thursday, February 4th, 2010 16:57:03
The old image site has poor image security and bad code as I originally wrote it over the course of one weekend and didn't take the time to really test it. I ended up with hundreds of image files on my server and my host limits the number of files on my server. I began reaching that limit (though at the time I didn't realize that my image files were a very, very small part of the problem).

The new one that I was building was going to solve that problem by storing the images in the database. I have it working, but everywhere I look, other developers are saying that it slows down the server and causes more problems than it solves. Now that I've figured our the real problem with my file count (and solved it), having my images as files isn't a problem anymore.

Still I want to have a quality image site that is written in the OOP style as opposed to original site's procedural style. And I want to have better security so only the people I give access to certain images (like photos of my son) have access to them and no one else does. So I have been trying to figure out what to do.

I've decided that I also want to learn how to use some of the more popular PHP frameworks (since that is a popular requirement in the job market), so now I'm going to rebuild the image site using CakePHP. When it's done I hope to have a solid understanding of Cake including how to set up an API so I can display my images from my image site anywhere.

I'll keep you updated as work on the image site progresses.

No Comments Yet.