24Apr/090

PHP Coffee Mug v1.0

A co-worker and myself went to Starbucks today where I decided that I really could use an office coffee mug to keep at work. I of course chose the largest mug they had which also just happens to come with a porcelain pen that you can use to write on it and eventually heat treat to make permanent. As I was sitting here writing code for work I was also thinking about what clever sayings or cool pictures I could put on my new coffee mug. The mixture of work and play came out as a random coffee mug php script I have come to label as "PHP Coffee Mug v1.0".

I hope you enjoy my random and utterly useless coffee mug script!


// PHP Coffee Mug v1.0 | Stephen R. Blair | www.srblair.com 

require_once('coffee_cup.php');

if($coffeeCup == empty) {

	//Check to see if there is a fresh pot of coffee
	if($coffeePot != 'fresh') {

		//Make a fresh pot of coffee
		makeCoffee();

	} else {

		//Pour coffee into the coffee cup
		pourCoffee();

		//Drink the coffee!
		drinkCoffee();

	}

} else {

	//Check the date for the coffee in the mug
	if($date > $dateExpire) {

		//Rinse out the cup if it is old coffee
		rinseCup();

		//Check to see if there is a fresh pot of coffee
		if($coffeePot != 'fresh') {

			//Make a fresh pot of coffee
			makeCoffee();

		} else {

			//Pour coffee into the coffee cup
			pourCoffee();

		}

	} else {

		//The coffee is fine, drink it!
		drinkCoffee();

	}

}


18Apr/070

Building a System

This Tuesday was a very interesting and busy day at Rich Dad. We had our Tuesday meeting centered around an article written in Vanity Fair Titled Washington's $8 Billion Shadow. A co-worker of mine has a wonderful blog called Rich Dad Underground and had a very good interpretation of the article that fit what I was going to say quite well. Please check it out, he has had a very good look at the inner workings of the Rich Dad Company for quite some time now.

Robert took myself and a co-worker out to lunch shortly after the meeting. We talked very little about actual Rich Dad business and more so just on general thoughts about different types of investing. As we were in a restaurant in the middle of Scottsdale we talked quite a bit about the restaurant business which also lead to good conversation about franchising. Robert's thoughts on the restaurant business were very much like my own. I would very much love to start one, but would never want to run one. By this I mean I would love to be in every stage of the development of a new restaurant and setting up a system for it to run on it's own, but would never do it if it required me to be there to operate successfully on a daily basis.

Reading the Rich Dad Poor Dad book and now working directly with Robert I have come to feeling this way about all business ideas. I only want to create something and be there for the beginning stages. I do not want to run a business, I want to create systems that run themselves. I want to hire people to run my system's, no matter what market I decide to venture into. This can be done in any market, for any business idea.