Posted by snek on August 23, 2010
Just stumbled upon this little program which optimizes JPEG images. In my directory of thumbnails it saved an easy 20KB for only 16 images, so that’s not half bad if you ask me. Every little bit helps I’ve been working on a little gallery in Zend Framework, and am generating thumbnails in a cache dir. [...]
Posted by snek on February 17, 2010
I’ve been working on a little project to view photos and videos from a mobile browser using Zend Framework. I’ve gotten so far as to generate a little gallery with real-time thumbnailing and pagination which shows the image at (once again real-time resized) a resolution commonly used by mobiles. Now the next step is being [...]
Posted by snek on December 22, 2009
I just found this post on Joey Rivera’s blog which will make my life a lot easier in the future. It allows for you to generate the php code Zend Framework relies on to access the database. Currently you would have to make a new file for each table (depending on which way you have [...]
Posted by snek on December 5, 2009
This was verified to work under Zend Framework 1.9.5 and 1.9.6. First we want to make a new file for the cron somewhere outside the public folder, I chose a folder called scripts. My project thus looks like this: domain.com application library logs public index.php scripts cronjob.php tests The trick with cronjobs is that you [...]
Posted by snek on December 5, 2009
I’ve been experimenting with Zend Framework (ZF) for some time now at home to try and expand my knowledge of PHP and in particular MVC patterns. I must say it took me quite a while to understand how ZF works exactly, but now the rewards are starting to come in! I’ve been building a Google [...]