Codeigniter MVC #1

I though about publishing some codeigniter series, just to save some steps in my memory and also to share it with other people that want’s to start with MVC. I’ve done some Model-View-Controller in the past but was time ago and with Zend 1.

So the mission is simple, I will take this events site that I made in 3 hours on holidays, and rebuilt it using codeigniter. I will try to be as methodic as possible and do regular commits on this public github.

So in this commit we will update the config file, to autoload some libraries, change the default route and connect to our database:
git commit -m 'initial configuration + public/lyve.sql db structure'
modified: .htaccess
modified: application/config/autoload.php
modified: application/config/config.php
modified: application/config/database.php
modified: application/config/routes.php
modified: application/controllers/home.php

Result of 1st weekend of self-taught MVC ist online, if you are interested take a look:

http://onstagekonzerte.de

and browse the source. Please leave comments if you are going to clone this one.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s