RSS

Archive | CodeIgniter RSS feed for this section

Controller, Model, and URL design

8. August 2008

0 Comments

Controller, Model, and URL design

What’s in a name? Like I would imagine many programmers, I have a tendency to get a little anal about naming my Controllers and Models. Combine this with the default behaviour of CodeIgniter to parse the URL segments into controller/function/id parts, and it all begins to get very messy unless some careful thought is put into [...]

Continue reading...

To Parse or not to Parse, that is the question

12. July 2008

0 Comments

To Parse or not to Parse, that is the question

When I first began to consider building a web application using CodeIgniter, one of the key aspects I had in my mind was to keep the HTML template files (the View in Model-View-Controller) as PHP-free as humanly possible. At that time, I was planning to develop an e-commerce application (this was before the launch of Magento), [...]

Continue reading...

Moving the system folder in CodeIgniter

9. July 2008

2 Comments

It’s the first real night of actual work on the app, and already I’ve run into my first gotcha! For security reasons I decided to move the /system folder - which contains everything needed to run an application on CodeIgniter apart from the index.php file - outside of the web root. This is easily accomplished by [...]

Continue reading...