Welcome Guest, Not a member yet? Register   Sign In
Codeigniter vs LArave;
#11

Codeigniter is the way to go. I'm verry happy with it. If you wanna know an other simpler framework you can check Slim which has no installation whatsoever.
Reply
#12

It all depends upon your ease.I think CodeIgniter is really easy to use for web development.But people are moving towards laravel instead of this laravel configuration process is bit difficult.
The FAS Solutions
corporate web development
web designs  and development services
http://www.thefas-solutions.com

Reply
#13

(05-22-2015, 11:48 AM)no1youknowz Wrote:
(05-22-2015, 08:13 AM)CroNiX Wrote: Build a large, complex high traffic website in Laravel, then build the same in Codeigniter.

What is large?
What is complex?
What is high traffic?

Some people think having more than 10 controllers in your app is large.
Some people think having jquery in your appliction is complex.
Some people think having 10k daily impressions is high traffic.

You don't know large, complex or high traffic until you get to the billions impressions per month.

I have a split architecture for the front-end and back-end.

The front end consist of 3 all-in-one servers with Nginx/HHVM as the webserver and Aerospike as the local cache and in-memory database.
The backend consist of a 5 database server cluster running Postgres and CitusDB.
The backend server running the webserver application for analytics is Nginx/HHVM.

The traffic that the 3 FE servers are capable of doing are 7.2 billion impressions a month and that has been verified by testing.
The reports generated on this database, with billions of impressions would make a single MySQL or even a MySQL cluster just weep.

What's the backend developed on you ask?  Codeigniter 3.  I'm actually coming round to the idea, to just leave it where it is.  Until something drastic happens that I require functionality that I either cannot develop or is somewhere else.  I'll then move.  Until then, well.  Codeigniter is doing the job just fine thanks.

What do you need to learn?

Learn a good MVC framework and actual OOP principles.
Learn a javascript/jquery really well.  That is, you stop using plugins on the net and develop your own.  After that, you can extend other peoples work easily.
Learn about Message Queues.  Mainly ZeroMQ, RabbitMQ and beanstalkd.  Learn why you want to put some processes in the backend.
Learn how to develop a single page application.  Something that is heavily ajax and json driven.
Learn how to include real-time elements into your application.  Think MQ and NodeJS.
Learn how to develop backend applications.  PHP is not your friend.  Use something like Python or even GoLang.  A backend app that can be run as a system daemon for months/years without needing a restart.
Learn SQL Syntax.  Don't use that ORM or PHPMyAdmin.  Learn how queries work and do everything to the bare-metal/stored procedures to get the best performance.
Learn the differences between a RDBMS and NoSQL DB.  A NoSQL such as Aerospike can increase performance with heavily requested data compared to MySQL.

So in short, become a full stack engineer:  PHP/OOP, Javascript/jQuery, Message Queues, NodeJS, Python, GoLang, SQL, NoSQL, Postgres DB.

Man, just by reading your post, I've learned a lot.Thanks! Going back to the topic, for me, I would prefer codeigniter over laravel for personal large scale projects performance wise and aside from that, I dont mind coding stuff myself as oppose to additional beatiful code features from laravel as they say(I use both btw and also yii2). it's just my preference, I am more into coding from scratch and for large scale app, i would use codeigniter because its bare to a minimum and faster, it just reminds me of the time I build a large app using just php. Anyhow, its my personal preference, learn both and decide from there what is best that fits you. 
Reply
#14

i hate huge configuration of laravel, in codeigniter, download framework and extract it, almost that, ready to go Smile , any is not better that other you must define the problem and then select right tool,
ressan.ir
CI is nice Heart
Reply
#15

as a beginner in php i first learned the basics ( still learning ) then i wanted to try out a framework, then i tried every framework that exist,
i can tell you that CodeIgniter is the easiest to learn and to understand the code while laravel is realy hard to understand, and difficult to install, btw if you are new in php like me, codeigniter made me learn php faster then before, i just love codeigniter,
Reply
#16

(This post was last modified: 08-02-2015, 07:21 AM by ignitedcms.)

I think laravel have butchered the process. Their insistence on using composer put me off from the get go, to me it shouldn't be this ridiculously complicated, I just want to download a zip extract and use. I don't want to download a command line utility which requires it to be constantly updated to then remember some obtuse command line parameters to install a framework- sure you don't need composer, but this is what they insist.

Also tcomposer dependency is a joke, with composer you just pull in a library on git and you're good to go. No you are not. One, does that library require another dependency? Then suddenly you base file is massively bloated. Is that dependency free from bugs or is it not, github is full of all kinds of crap.

Also they're ridiculous naming acroynms, eloquent, mock, and namespacing, php butchered classes imo. I just want to take it back to how it should be. Simple easy and ready to go. Also each revision seems more and more dependent on symphony, it's almost turning into symphony. It's just really bad on all fronts. You'll never catch me using composer.

Mind you this is my biased opinion, and we are on a codeigniter forum. With CI 3.0 ticks all the boxes.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply
#17

(05-22-2015, 11:48 AM)no1youknowz Wrote:
(05-22-2015, 08:13 AM)CroNiX Wrote: Build a large, complex high traffic website in Laravel, then build the same in Codeigniter.

What is large?
What is complex?
What is high traffic?

Some people think having more than 10 controllers in your app is large.
Some people think having jquery in your appliction is complex.
Some people think having 10k daily impressions is high traffic.

You don't know large, complex or high traffic until you get to the billions impressions per month.

I have a split architecture for the front-end and back-end.

The front end consist of 3 all-in-one servers with Nginx/HHVM as the webserver and Aerospike as the local cache and in-memory database.
The backend consist of a 5 database server cluster running Postgres and CitusDB.
The backend server running the webserver application for analytics is Nginx/HHVM.

The traffic that the 3 FE servers are capable of doing are 7.2 billion impressions a month and that has been verified by testing.
The reports generated on this database, with billions of impressions would make a single MySQL or even a MySQL cluster just weep.

What's the backend developed on you ask?  Codeigniter 3.  I'm actually coming round to the idea, to just leave it where it is.  Until something drastic happens that I require functionality that I either cannot develop or is somewhere else.  I'll then move.  Until then, well.  Codeigniter is doing the job just fine thanks.

What do you need to learn?

Learn a good MVC framework and actual OOP principles.
Learn a javascript/jquery really well.  That is, you stop using plugins on the net and develop your own.  After that, you can extend other peoples work easily.
Learn about Message Queues.  Mainly ZeroMQ, RabbitMQ and beanstalkd.  Learn why you want to put some processes in the backend.
Learn how to develop a single page application.  Something that is heavily ajax and json driven.
Learn how to include real-time elements into your application.  Think MQ and NodeJS.
Learn how to develop backend applications.  PHP is not your friend.  Use something like Python or even GoLang.  A backend app that can be run as a system daemon for months/years without needing a restart.
Learn SQL Syntax.  Don't use that ORM or PHPMyAdmin.  Learn how queries work and do everything to the bare-metal/stored procedures to get the best performance.
Learn the differences between a RDBMS and NoSQL DB.  A NoSQL such as Aerospike can increase performance with heavily requested data compared to MySQL.

So in short, become a full stack engineer:  PHP/OOP, Javascript/jQuery, Message Queues, NodeJS, Python, GoLang, SQL, NoSQL, Postgres DB.

WOW, where do you work? Whats the site? Just curious. I tried to msg you, but I think you have PM disabled
Reply
#18

(08-23-2015, 12:31 AM)jLinux Wrote:
(05-22-2015, 11:48 AM)no1youknowz Wrote: The traffic that the 3 FE servers are capable of doing are 7.2 billion impressions a month
WOW, where do you work? Whats the site? Just curious. I tried to msg you, but I think you have PM disabled

Probably a porn site! Tongue
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#19

(08-01-2015, 07:29 PM)FatihAkgun Wrote: as a beginner in php i first learned the basics ( still learning ) then i wanted to try out a framework, then i tried every framework that exist,
i can tell you that CodeIgniter is the easiest to learn and to understand the code while laravel is realy hard to understand, and difficult to install, btw if you are new in php like me, codeigniter made me learn php faster then before, i just love codeigniter,

Ye im the same was learning php then got told that frameworks were the way to go so tried laravel, Codeigniter, yii and zend but found them all bar codeigniter difficult to follow and understand. But after some time using Codeigniter i do now have a better understanding on how the others work... But i still prefer Codeigniter just down to its simplicity to setup and use.
Reply
#20

(This post was last modified: 08-23-2015, 01:53 PM by jLinux.)

(08-23-2015, 07:45 AM)includebeer Wrote:
(08-23-2015, 12:31 AM)jLinux Wrote:
(05-22-2015, 11:48 AM)no1youknowz Wrote: The traffic that the 3 FE servers are capable of doing are 7.2 billion impressions a month
WOW, where do you work? Whats the site? Just curious. I tried to msg you, but I think you have PM disabled

Probably a porn site! Tongue

Hahhaa, reminds me of when I went to an interview, and the interview went awesome, it was as a Linux Engineer, and at the end, the lady was all "Well, you did great! we definitely want you here! Just one question.... how do you feel about adult entertainment?" "... Wait, is this position at CCbill?" "Yes..." "No thank you"

So I leave the interview, and no joke, as im in the lobby leaving, my buddy calls me, hes all "HEY! I can get you a job! I know a company that needs you... have you ever heard of CCBill?" hahaha

Sorry, off topic, i know, lol.

(08-23-2015, 10:08 AM)skoobi Wrote:
(08-01-2015, 07:29 PM)FatihAkgun Wrote: as a beginner in php i first learned the basics ( still learning ) then i wanted to try out a framework, then i tried every framework that exist, 
i can tell you that CodeIgniter is the easiest to learn and to understand the code while laravel is realy hard to understand, and difficult to install, btw if you are new in php like me, codeigniter made me learn php faster then before, i just love codeigniter,

Ye im the same was learning php then got told that frameworks were the way to go so tried laravel, Codeigniter, yii and zend but found them all bar codeigniter difficult to follow and understand. But after some time using Codeigniter i do now have a better understanding on how the others work... But i still prefer Codeigniter just down to its simplicity to setup and use.
Thats exactly true, its because CI doesnt yet use a lot of new features like namespaces or ORM, but I know they plan to.

I know I like CI, but I do want to try Laravel, just so I know which one I  REALLY like more, I dont wanna be one of those guys who says that one is better just because its the one im using
Reply




Theme © iAndrew 2016 - Forum software by © MyBB