A Quick Weather API with PHP
I wanted to add a small weather status to the top of a web application, just to remind me what was going on in that city. This is some really simple code, based off of WunderGround’s API, using a city … Read more…
I wanted to add a small weather status to the top of a web application, just to remind me what was going on in that city. This is some really simple code, based off of WunderGround’s API, using a city … Read more…
Google’s Nexus S (mfg. by Samsung) will officially come out for Sprint on May 8, and I was lucky to get mine a couple days early- all I can say so far, after coming from an iPhone, is that I … Read more…
We recently had a case where we created a huge form that had separate sections that we needed to validate, we call them “modules”. Our goal was to send all the form data to a single save function, and then … Read more…
After a lot database code, you realize that the majority of your methods take on the same structure. For a while now, I have started all of our Code Igniter models with five generic methods to interact with the database, … Read more…
When dealing with frameworks, such as Code Igniter, there is always a question of what type of overhead it adds to application. One rainy day not too long ago we ran some really simple tests on the difference between active … Read more…
Tiny PHP is a little tool we put into our labs that performs some “minification” on PHP code. Is it a trivial and completely academic exercise because PHP doesn’t benefit from being smaller like CSS or Javascript? Yes. But it’s … Read more…
The Problem: You have a data set (array) and you want to paginate it. You know the page you are on, and how many results per-page you want to display. The Solution: This simple script has an input of those … Read more…
Our final addition to the PHP footer chronicles is adding some basic information about our most recent blog posts. We have written about Getting Blog Posts from WordPress before, but will toss up a slightly different method in this post. … Read more…
Following our Twitter PHP blog post, we need to talk about Flickr. Flickr continues to be our choice of a photo sharing tool, mainly because their API support, and we appreciate some of their smart server-side handling of images. This … Read more…
We recently rebuilt our footer and made sure to add some of our social outlets, like our blog posts, Twitter feed, and Flickr feed. This can sometimes cause a headache for a developer because there are so many choices on … Read more…