• Home
  • About
  • Photos
  • Archive

Home! Work?

Home home home. In need of work.

Photos

Ecuador, Bogota, Tayrona Park and Cartagena.

Eduardo 4

One more picture of the Eduardo IV posted in Amazone boat trip.

Colombia

ocke is checking if Bogotà is that great.

Photos

New photos in the Amazone boat trip section and a whole new thread on Kuèlap.

MVC all the way

Posted on: 2007-11-22 14:06:44 - Comments (0)

This will be a technical post about some changes I made to this blog. For everybody not interested in technical stuff, stop reading now ;-).

I learned PHP about 5 years ago. I tried to build a website with HTML when I was 15, but oh boy, was that boring, so I never looked further into web development. Five years ago, while working an intern ship, my tutor throw a (very) big book on my desk: "read this." It was a PHP book. Although I didn't know anything about PHP, I had some (basic) experience with programming. That is how my first dynamic website, with help of MySQL, came to life.

After a while you learn Object Oriented, you hear of template systems, and while I was using this happily I noticed my own build template systems did have some major flaws. I looked around for template systems, and quickly learned of Smarty. Smarty was way over-the-top for my websites, thus I looked further, ending up with CodeIgniter (CI). CI is a MVC which is all about splitting your view (html, logical presentation), model (sql, data presentation) and controller (putting it al together).

To practise I rebuild this website with the use of CI. It looks all the same, I know, but under the hood it is a complete new site. I hope I can enjoy this as much as my old site :-).

Place a comment

Name E-mail


Please enter the image code:
number image
© 2007 ocke