MongoDB Sharding

Filed in Development | General Leave a comment

Today I had to create a MongoDB sharding setup on 4 VM servers.  One of the servers would be the primary shard and also contain the MongoS process and the MongoD configdb process. You can find out more about Mongo sharding here. There were some things that are not spelled out in the documentation and were not obvious to me so I figured I would list them here for reference.

Continue Reading

PHP class autoloader

Filed in Development | General Leave a comment

I have been working on a version of the PHP class autoloader. I have a config file that sets up the path information for the program. Generally you would want to include the config and the includes file in the entry point of the program. Continue Reading

Phantom JS on Centos5

Filed in Dev Tools | Development | General Leave a comment

I spent the last 3 hours jumping through burning hoops of Linux fun to get Phantom JS installed on my Centos5 (64) system running in Virtual Box. Continue Reading

,

MongoDB and Node.js

Filed in Dev Tools | General Comments Off on MongoDB and Node.js

MongoDB and Node.js together is better than peanut butter and chocolate. In order to use MongoDB with Node.js you need to install the mongodb module. To do this use the Node.js package manager or npm for short. I had to install that separately, but its quite simple: http://npmjs.org/ to do. Continue Reading

,

Virtual Box and CentOS

Filed in Dev Tools Leave a comment

This is should probably be a two part post but seeing as I loaded Virtual Box for Windows 7 specifically so I could run Linux I’ll do it as one.

The problem was that I need to run Node.js locally because I dont always have access to the server that runs it at my office. Continue Reading

,

PHP, MySQL, and Apache on Windows 7

Filed in Dev Tools Leave a comment

I started my new position with McAfee last week and got a brand new Windows 7 laptop. To get my development environment up and running I had to install PHP, MySQL, and Apache. I ran into a problem with the mysql extension for PHP. Continue Reading

,

Installing Node.JS

Filed in Development Leave a comment

I wanted to look into Node.JS to see what its all about. My first install was on CentOS 5.

  1. Download the source from: http://nodejs.org/#download
  2. tar -xzf node-v0.4.8.tar.gz
  3. cd node-v0.4.8
  4. ./configure
  5. make
  6. make install Continue Reading

Shibboleth SdP Flow Diagram

Filed in Development Leave a comment

In an effort to better understand how Shibboleth works I did a quick flow chart. Visuals help me to remember things a little bit better. Continue Reading

Installing Shibboleth 2.x SP on Red Hat 4

Filed in Development Leave a comment

I was tasked with reviewing solutions for implementing SAML into our applications. The first thing I tried was Shibboleth.

Continue Reading

Mobile development and CakePHP

Filed in Development Leave a comment

I have been working on an EPG (electronic program guide) and RDVR system written using CakePHP, Mongo DB and jQuery. One of the phase two requirements was to have the guide and RDVR system work on mobile devices, starting with iPhones. Continue Reading

TOP