roozbubu
roozbubu

Reputation: 1176

are code igniter conventions enforced?

I am new to code igniter, coming from a solid CakePHP background. The user guide covers certain conventions to follow when naming controllers, models, views, and then classes + functions but are they actually enforced anywhere? You manually load both views and models, and controllers can be routed to. So is there any real reason to follow the conventions? I personally think they just make all my files and underlying code look pretty fugly and id rather just override them.

Upvotes: 1

Views: 205

Answers (1)

Narf
Narf

Reputation: 14752

No, CodeIgniter will never enforce anything on you, except for cases where it's a security or functional requirement.

Upvotes: 1

Related Questions