After completing a number of projects in codeigniter, I realize that it is the most efficient and suitable framework at this time.
There are 5 Major factors for me due to which I vote +ve for codeigniter.
- Opensource.
- MVC Based.
- Built-in Template Engine.
- Built-in classes for emailing and handling content also include captcha class. These are called helpers in CI.
- Make easy to create more effective search engine friendly urls by defining routes.
Now I would like to move to question about CI. Most of the programmers raise this question.
Q. How to define constants using 'define("foo","foo-text")' in codeigniter?
A. I always define a simple file which I include in the index.php of codeigniter. It is a very simple thing you can do to handle your define variables. If you look or search codeigniter, it will not guide or provide you any information about it. It is also common that some programmers define variables in the controllers (The executional script in CI).

No comments:
Post a Comment