Page 1 of 1
Source for my DB site
Posted: Thu May 22, 2008 12:26 pm
by dougal2
I'm providing here the complete source for the DB site I made.
No point in letting some of the tricks I learned whilst making it go to waste.
I should imagine that the only remotely useful things in it are the UI Javascript bits, but hey you're all welcome to any of this code.
Posted: Thu May 22, 2008 12:30 pm
by fused
great! thanks doug!
Posted: Mon May 26, 2008 8:42 am
by beta
thx since i learnt html, css, xml, php, javascript, actionscript, flash, asp and i think that's all it would be great to learn some more

thx!!
Posted: Mon May 26, 2008 8:47 am
by dougal2
I built it on the CodeIgniter MVC framework
http://www.codeigniter.com/
Posted: Mon May 26, 2008 8:55 am
by beta
aha i'll take a look at it... thx!!
long life to the opensource software!!!
bb!
Posted: Mon May 26, 2008 5:36 pm
by beta
wow i had a look at it but i cant understand pretty much anything i don't really know what's it for... is it like an engine that includes some prescripted things to make ur coding simpler? i'm pretty much confused :s
thx in advance!
Posted: Mon May 26, 2008 10:46 pm
by dougal2
The PHP that I wrote is in the system/application/imdb folder. Everything else is "engine" (framework) code that handles all the boring stuff like DB connections, URL routing _POST validation etc etc.
The code is structured in the MVC pattern. There is a folder in imdb/ for the Models, Views and Controllers.
Wikipedia explains what MVC is and how it works:
http://en.wikipedia.org/wiki/Model-view-controller
Posted: Mon May 26, 2008 11:15 pm
by fused
sounds a bit complicated for a piece of php

Posted: Tue May 27, 2008 1:25 am
by dougal2
Depends on the application. I built it this way because I wanted to learn about MVC and using frameworks.
At work I have since built a fairly complex integrated CMS and eCommerce application, and without using a framework it would have been a mess
