jQuery and Reddits Pics

With the recent release of jQuery 1.4, I decided to play with it and ended up with a site that can be used to browse pictures submitted to Reddit.com.

Obviously inspired by CoolIris, I built it using jQuery 1.4, the jQuery Lightbox and Reflection plugins, JSON2, and JSONRPC.

On the server side, data is pulled from Reddit in JSON format and deserialized into PHP objects and arrays. In particular, I only accept items that have thumbnails and have URLs that point to the images themselves. Data is then compressed and cached on the server with XCache for an hour at a time (which is pulled during each AJAX JSON RPC request for any given subreddit and item ID number).

Enjoy the site.

jQuery 1.4 Is Out!

Geesh… I haven’t written anything in a while (well anything that isn’t code). And I still don’t have much to say except that a new version of jQuery has been released. jQuery 1.4 is sporting some serious performace enhancements not to mention that their API site has been completely rewritten.
I highly suggest checking it out.

My “Super Sexy” Mortgage Calculator

A couple months ago I received, as I’m sure as did many others, an email about the $10,000 MortgageLoanPlace.com “Super Sexy” Mortgage Calculator contest. I decided that I’d be worth a shot and it’d give me a good opportunity to dig a bit more in depth into jQuery.
Also, and this is something I’ve always loved about programming aside from the actual coding, it gave me the opportunity to work with something that I’ve never had the chance to tackle (in this case mortgage calculations). I’ve worked on payroll and timekeeping projects before but I’ve never worked on anything that had [...]

Zend Framework and Stored Procedures

I’m been playing with the Zend Framework and, whenever I’m faced with a new data abstraction layer [Zend_Db in this case], I cannot help but rethink the great debate over whether to use (or not use) stored procedures [more].

jQuery Prototype Library – A Polygamous Affair

I have something that I must confess… I’m in love with two JavaScript frameworks at the same time.
Yep, I’m in love with both jQuery and Prototype. Each has qualities that I like and each some that I don’t. jQuery, for instance, is almost beautiful in its design and how such a simplistic approach can be made so powerful. Prototype, on the other hand, adds so much that is missing in JavaScript and makes an already capable language much more usable.
In a perfect world, I’d want to use both of them. The problem is that there is too much overlap in [...]