Welcome Guest, Not a member yet? Register   Sign In
Why Codeigniter is better than laravel?
#11

CodeIgniter is tried by several thousand of developers that utilization it underway. This implies it's hard for any bugs or problems to go unnoticed. Even when another variant is out, bugs are rapidly found and patched up.
Reply
#12

(This post was last modified: 12-12-2018, 04:26 AM by Susan Burling. Edit Reason: correction for easy to understand )

(08-01-2018, 06:55 AM)avcosh Wrote: Hello, everybody!
Why Codeigniter is better than laravel?
Your opinion?
Thanks!

Hi!, I've seen this question many times and the appropriate response is not easy because every individual will give you his opinion based on his experience. Answer is completely depends on your business requirements.
Here I want to say something over CodeIgniter. Compared to other PHP frameworks, CodeIgniter is well-known for its speed. CodeIgniter Supports plenty of databases than Laravel. For an example CodeIgniter is more effective if you are having an Oracle or MSSQL Server Database (But latest version Laravel support MSSQL Server as well). There are many other databases as well.
Reply
#13

I like CodeIgniter, it is very Simple, and extensible. No SPaghety code or non-usable library/helpers. choose what you need, and web app will run more faster. Think than PHP is read code line by line if our code is very huge and a lot of spaghety code, our web app will decrease its performance. Also, think about web Server choice, are you using Apache? apache in windows or linux? or Nginx? for surprising Apache on Linux more faster than apache in windows, only apache Longue on windows have almost same speed than apache in linux. But how about NGINX? nginx for PHP is more slowly than static web contents. So if you use apache or nginx, it will affect your web app performance. Only CI that have what only needed, without waste in vain codes.
Reply
#14

Thank you for replies!
I use Apache Linux
Reply
#15

After doing my homework and looking at Laravel and CI. CI Came on top for me as its less complicated to get going. Laravel seems to just be complicated for complicated sake and really adds very little apart from having a learning curve of a brick wall. Combine that with the CI anything goes attitude its great (Even if it throws some curve balls at you coz of it!)
Reply
#16

I think CI is better than Laravel for the following reasons:

1- CI has it's own templating engine built-in.
2- CI lets you cache the web pages in order to decrease loading times and increase efficiency and performance.
3- CI have more database compared to Laravel.
4- CI has a small footprint.
5- Setting up is quick and easy.
6- There are also a lot of guides and tutorials and the documentation is clear, structured and thorough.
7- There is an active community of developers behind it.
8- Even when a new version is out, bugs are quickly found and patched up.
No SEO spam, per forum policy
Reply
#17

Laravel is good if you want create someting with artisan commands, but if artisan ends, you got problem Smile
Reply
#18

Wow seriously continue with these elitism? ... CodeIgniter is the best because I use it and control it in its entirety, others would say that it is x and because they know how to use it and control it, use it or not. And turn the apagina over.
Reply
#19

codeigniter > laravel
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply
#20

Even i sometimes get dilemma on this too. Its hard to compare and choose between these two frameworks since they both pretty capable to make your web application rise to the top and stable.

I read many articles that i can find about laravel vs codeigniter. Most of the answer and opinion are point to the same thing.

From my point of view, the simple words that i can give to you or anyone that read this post is that:

Laravel performs a lot of magic and keep the "user convenience" style while,
Codeigniter only gives you a small footprint to get you started building your web application. (which is exactly like it is written on the docs)

Now this seems a little bit general in terms but i'm sure you get the idea a bit on how both framework works.

Laravel uses a lot of command artisan almost for anything such as migrates, seeding, faker(popular nowadays), creating the model view controller component, up and down servers, job scheduling and a lot more. You can get a lot of thing with only simple command line. Most of your works done just by using this "artisan" thing which is make your life easy and convenience. In addition, Laravel uses Eloquent Relationship Model which also pretty much convenience since you won't see something like (SELECT * FROM tables) anymore.(Thank god it have query builder & raw sql as well) This is the famous answers you get when you ask about the advantage of laravel. They tend to drive you to this point because it is the biggest advantage of Laravel which makes your life easier (again. Angel )No more seeing a whole SQL query. Convenience is it? Tongue  I won't talk about coding and stuff since to me they are pretty much the same structure since both are MVC. Confused


How about Codeigniter?
Only gives you small footprint, and mostly back to basic of PHP. If you understand a lot of natives PHP, then Codeigniter would be piece of cheese to you. Don't get me wrong, even beginners find it easier to build web application with Codeigniter, but seems to me codeigniter won't take you far from native PHP which is good to me. 
However No ORM, No Command Line, No Artisan. What the? Then my life will be disaster with codeigniter? Because no convenience stuff?

Well from here and out i will tell you why i choose Codeigniter over Laravel (CI > Laravel).
For me, whatever you do, whatever project you do, whatever framework or language you use, the basic thing is that you need is to 

1)Understand what are you trying to achieve (pre)
2)Understand how you are trying to achieve (mid)
3)Understand what happen when it is achieved (post)

That's it. My personal opinion why i choose codeigniter is that:
1) I don't want whole bloated unnecessary things inside my project without even before i (the owner of the project) get started to code. Tongue Small footprint is enough for me to get started which is like CI.

2) I need to know what happen mostly inside my web apps. I don't want everything should be done "magically" without me knowing. It would be disaster if you keep relying on framework and not relying your head most of the time. Use the gift we have and not the framework gave you.

3) Don't stay far away from native PHP. Sometimes this point can get into a little sensitive. For me, if we think back, without PHP there will be no these whole forsaken framework. However the opposite of this statement are valid isn't it? So which is the father of all? That you should focus on learning and strive into the core rather than framework. Some might says, you do not need to reinvent the wheel which is correct if you see from certain point of view. However, some mistakenly says that statement when in fact we just want to learn about the core of the language itself. 
This point seems out of topic isn't it? Tongue . Well mainly i was pointed on how laravel seems to focus on user convenience rather than learning which of course makes life easier but by creating a framework that make us forget about PHP? No way.


As you can see, Codeigniter which is pretty much suitable for people like me. Just give me to get started and don't went overboard by include everything or doing something behind my back or in front of me without me knowing it. I find it pretty annoying. Some might ask, why not develop without framework then? I can but building web appllication without framework sometimes i find it time consuming to organize your file structure. Which is why i need codeigniter comes to the rescue. Even if you build your own framework just to support MVC module, depends on the person knowledge exactly. I am not an expert so i need framework like CI.

I hope i answers some of your questions since me too face the same dilemma like you. This is just personal opinion and nothing more. Actually the topic should be User Convenience vs Learning. You can choose which path you gonna take.

Never stop learning and never stop relying on your head because someday, laravel gonna be like codeigniter someday which is hated for century. Just like currently jQuery being hated right now and angular/react/vue rise to the top. Someday, those 3 gonna face the same fate like jQuery. The growth of technology would never stop and so nothing is permanent.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB