Welcome Guest, Not a member yet? Register   Sign In
Codeigniter popularity : why ?
#18

(06-30-2015, 10:39 AM)calcio Wrote:
(05-19-2015, 08:39 AM)Mohammadhzp, Wrote:
(05-19-2015, 07:59 AM)calcio Wrote: I think CI it's popular because, it's very simple to learn and implements his features.
But, like PHP is to easy to learn, most of people use it for a wrong way. To me it's a bad thing to CI.

Agreed
What do you mean when you say "most of people use it for a wrong way" ?

@Mohammadhzp I'm so sorry my delay.

When I said "most of people use it for a wrong way" I wanted to say that people use the MVC wrongly. CI and other frameworks induce developers create fat Controllers and thin Models. By default Models must be fat and Controllers must be thin.

Other examples is... How to use Library or Helper? Library must be used in Models and sometimes in Controllers, Helper must bu used on View.

Actually, the true beauty of CI is that you don't have to do anything the way somebody else is telling you to do it. If you want to have fat controllers, do it so you can sleep better. If you don't even want to use models, then do it because it makes you happy. Especially if you don't have a boss breathing down your neck, you have freedom and ease of use.

The one thing I hate most is when people try to tell me how to code, even to the point of telling me what coding style I should be using. Unless a person is paying me to adhere to that way, I'm doing it my way.

Now, is that the "right" way, well maybe not. If you're looking at doing things the "right" way, maybe CodeIgniter is not for you. Heck, if you're doing what everyone else is doing, then you probably want to use Laravel or Symfony.
Reply


Messages In This Thread
Codeigniter popularity : why ? - by jenesaisquoi - 05-19-2015, 02:18 AM
RE: Codeigniter popularity : why ? - by ipun.amin - 05-19-2015, 05:45 AM
RE: Codeigniter popularity : why ? - by llebkered - 05-19-2015, 07:08 AM
RE: Codeigniter popularity : why ? - by calcio - 05-19-2015, 07:59 AM
RE: Codeigniter popularity : why ? - by calcio - 06-30-2015, 10:39 AM
RE: Codeigniter popularity : why ? - by skunkbad - 07-20-2015, 03:08 PM
RE: Codeigniter popularity : why ? - by kilishan - 05-19-2015, 12:15 PM
RE: Codeigniter popularity : why ? - by mwhitney - 05-20-2015, 07:56 AM
RE: Codeigniter popularity : why ? - by Narf - 05-20-2015, 08:24 AM
RE: Codeigniter popularity : why ? - by zaria - 05-20-2015, 09:06 PM
RE: Codeigniter popularity : why ? - by Hobbes - 07-21-2015, 04:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB