Source for my DB site

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
9 posts • Page 1 of 1
User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Source for my DB site

Post by dougal2 » Thu May 22, 2008 12:26 pm

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.
Attachments
indigomaterials_db.zip
(3.11 MiB) Downloaded 304 times

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Thu May 22, 2008 12:30 pm

great! thanks doug!

User avatar
beta
Posts: 83
Joined: Mon Mar 17, 2008 7:22 pm

Post by beta » Mon May 26, 2008 8:42 am

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 :D
thx!!

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Mon May 26, 2008 8:47 am

I built it on the CodeIgniter MVC framework
http://www.codeigniter.com/

User avatar
beta
Posts: 83
Joined: Mon Mar 17, 2008 7:22 pm

Post by beta » Mon May 26, 2008 8:55 am

aha i'll take a look at it... thx!!
long life to the opensource software!!!
bb!

User avatar
beta
Posts: 83
Joined: Mon Mar 17, 2008 7:22 pm

Post by beta » Mon May 26, 2008 5:36 pm

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!

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Mon May 26, 2008 10:46 pm

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

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Mon May 26, 2008 11:15 pm

sounds a bit complicated for a piece of php :)

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Tue May 27, 2008 1:25 am

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 :)

Post Reply
9 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 33 guests