One of the common things we do across projects is paginate querysets and lists. Django happens to provide a base Paginator for us, but it’s usefulness is limited. It requires you to do the same repetitive tasks over and over. We’re one of those groups of people who believe that not every URL need’s to [...]
For a while now I’ve been wanting to rewrite Lifestream into a contained OO pattern. It seems to be the “best practice” when it comes to WordPress, but tutorials and what are not spread out so it took a bit of time. During the process, I also took the opportunity to speed up certain areas, [...]
Tonight I finally took the chance to finish up the sidebar widgets in LifeStream, and I think everyone who’s been waiting for them will be satisfied. The widget allows you to place one or more, using the dynamic widgets feature which is in WordPress, for any supporting themes. Each widget let’s you customize the title, [...]
I’ve been thinking about an interesting concept, and potential project lately. Most blogs have a “Blogroll”, or a list of other blogs that are typically friends or colleagues. A lot of these bloggers also subscribe to those blogs with RSS readers, or whatever tool suits them. My concept was to socialize this aspect of the [...]
Recently I’ve been incorporating alternative techniques to Captcha to prevent automated form submission on websites, which is typically spam, or something else you don’t want happening. I added our routines to the new iBegin’s submission system today, and thought that I’d share with the world what we’re doing. I’m also curious as to what everyone [...]
Just got back home this evening from DjangoCon. It was really a lot of fun. It’s always great to be able to put a face to a name, or a 100 faces to names, in this case. I met a lot of really cool people, and some of the presentations were fantastic (especially Cal Henderson’s). [...]
This weekend I took the opportunity to implement a bunch of changes, and fixes, into the wp-lifestream plugin which I created. It got a quick overhaul on the extensibility end, allowing you to do much more with complex feeds. To demonstrate the power, I went ahead and built the much-requested Pandora feed plugin. The plugin [...]
I had recently installed a plugin on my blogged called “RSS Stream”. The idea of the plugin is that it can use RSS feeds (and only RSS feeds) from sites to display a mini-feed, or mini-blog, of what you’re doing. Not being quite content with the plugin, I decided to write my own. A few [...]
Constantly, and only in Python channels, I hear the argument brought up that “PHP is <insert random insult>” or “<N> is a PHP developer so he must suck”. One of the things I hate most, is stereotypes, based on false information. Stereotypes about people from Texas being rednecks are ok, because it’s true. Now, let’s [...]
This afternoon I posted my PHP database library on Google code. It’s designed to be very lightweight, and uses the PHP4 MySQL functions as well as the PostgreSQL functions, but is built for PHP5. It uses sprintf formatting, and works must like the Python database cursor’s, to help alleviate injection concerns while you are writing [...]