RSS

Archive | Decisions 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...

Prioritising features: bit by bit, or all at once?

8. July 2008

0 Comments

With a two-page functional specification completed, I am almost ready to make with the code, but first I need to decide on the most efficient order in which to develop features. As the final application will be for multiple users, there will necessarily be a significant amount of user account creation, maintenance, and security involved - [...]

Continue reading...

Is PHP4 worth it any more?

7. July 2008

3 Comments

A week or so ago, I posed a question on Twitter: If you were going to build a PHP application for use by others, would you even bother making it PHP4 compatible any more? Responses were - with one exception - unanimous, with most people citing hosting as a key reason. Rachel Andrew, edgeofmyseat: PHP5 all the way [...]

Continue reading...