• Home
  • About
  • Photos
  • Archive

Broer Blog Beter(?)

M'n broer blogt ook: http://streafer.nssn.nl/. Volg de verhalen van Thailand en Nieuw Zeeland!

Nieuwe foto's!

Nieuwe foto's!! Check it out!

Jungle train

Pictures online!

Fixed

the photo order :-)

Photos dates

I know the dates of the pics are messed up, i'll fix it soon!

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