Archive for April, 2009

Installing mysql ports on FreeBSD and backing up mysql

Monday, April 20th, 2009

Here is another post moved over from old blog about mysql installation on FreeBSD. Installing the mysql ports   I will be using mysql50-server from the ports section of FreeBSD 7.0 ?View Code BASH1 2 cd /usr/ports/databases/mysql50-server make install clean The above command will build and store the database in /var/db/mysql One will also need [...]

  • Share/Bookmark

How to upgrade ports in FreeBSD

Sunday, April 19th, 2009

This is a repost of my old blog wanted to move the post over, since I used to use a lot of FreeBSD in my previous position, and still love the OS wanted to continue posting stuff about it. In this little tutorial I will teach how to upgrade ports in FreeBSD Install and use [...]

  • Share/Bookmark

Extract and Override refactoring technique part 2

Friday, April 17th, 2009

This is part 2 of Extract and Override technique. You can find part 1 in my previous post. I am going to show another technique by using Factory Method to break dependency in your code. *WARNING* *WARNING* Before I begin I would like to say all these techniques are not the best design but they [...]

  • Share/Bookmark

Java for Google App Engine

Thursday, April 9th, 2009

Just a link post today since google started supporting Java for their app engine rather than just Python, this will very likely bring lots of developers on board. http://code.google.com/appengine/ Google AppEngine http://code.google.com/eclipse/ Eclipse Plugin http://blog.springsource.com/2009/04/07/write-your-google-app-engine-applications-in-groovy/ App Engine in Groovy Time to start writing some apps in it

  • Share/Bookmark

Law of Demeter (Principle of Least Knowledge)

Friday, April 3rd, 2009

The Law of Demeter (LoD), or Principle of Least Knowledge, is a design guideline for developing software, particularly object-oriented programs. (wikipedia) While everyday working on code that was written by lazy coders or junior coders I see a lot of violation of this law. I think every programmer should know the Law of Demeter by [...]

  • Share/Bookmark