Posted on November 30, 2010 in Development with 1 comment.
Since working with Mongo I have come across a few small quirks. They are not necessarily good or bad, but simply things you just need to be aware of when working with Mongo. One such quirk is that you need to define your variable type within PHP before you store or fetch data in a [...]
Continue Reading →
Posted on September 29, 2010 in Development with 2 comments.
I started messing around with Vim a little bit this evening. Mostly because I am curious to see why everybody talks about it as such a powerful editor. The first thing I wanted to do was install a color scheme for syntax highlighting. I like dark backgrounds with bright text, so I decided to go [...]
Continue Reading →
Posted on September 20, 2010 in Development with 0 comments.
You may have noticed that when doing a MySQL query and using the WHERE clause that your query will be performed without taking the case of your letters into consideration. So if you are looking for rows which have the word “case” in them, rows which contain the word “Case” will also appear in your [...]
Continue Reading →
Posted on September 14, 2010 in Development with 5 comments.
In order to get PHP talking to MongoDB you need to install the MongoDB PECL module. The process is really simple of you are using MAMP. Obviously, make sure that MongoDB is installed on OS X first. First you need to download the precompiled MongoDB PECL extension. You can find it on their GitHub page. [...]
Continue Reading →
Posted on September 13, 2010 in Development with 1 comment.
How to install MongoDB on OS X I’m about to starting using MongoDB on a bunch of different projects, including my arcade and needed to install it on my Macbook for testing these projects locally. Thanks to the article above, it was a 2 minute process.
Continue Reading →
Posted on August 24, 2010 in Development with 0 comments.
We recently switched over our source code version control at Aduity from Subversion to GIT. We made this change as we pivoted which made the transition pretty painless. As with learning anything new, I searched for some useful resources to help me (and the team) come to grips with GIT really quickly and I found [...]
Continue Reading →
Posted on August 23, 2010 in Development with 1 comment.
If you are building an API with PHP and want to make it RESTful, you will quickly find out that default PHP only accepts and parses GET and POST HTTP requests. These are typically used in conjunction with the submission of web forms. By building an API with a strict REST architecture, you are going [...]
Continue Reading →
Posted on August 18, 2010 in Development with 0 comments.
If you are using search engine friendly URL’s in your CodeIgniter project you will most likely have noticed that by default, CodeIgniter strips out any query strings in your URL. Thus, you are unable to access any PHP GET variables. This may not be an issue for the most part, but there are situations when [...]
Continue Reading →
Posted on August 12, 2010 in Development with 1 comment.
When building the theme for this website, I wanted to use the built in WordPress menu system for the top navigational menu. That’s easy enough, I registered the menu in my functions.php file and set it up under Appearance > Menus. The trouble came when I wanted to add a link to the menu called [...]
Continue Reading →
Posted on August 10, 2010 in Development with 0 comments.
How to build your own CDN using BIND, GeoIP, Nginx, and Varnish I found this article yesterday on HackerNews and thought I would share it. It runs you through setting up your own global CDN for static content storage. It uses Nginx, BIND9, GeoIP and Varnish. I am soon going to be creating an arcade [...]
Continue Reading →