Welcome Guest, Not a member yet? Register   Sign In
PHP Framework: CodeIgniter vs Kohanna vs CakePHP?
#1

[eluser]Unknown[/eluser]
I'm developing a complex large-scale website and I don't have enough time to learn a hard-to-learn framework.
#2

[eluser]WanWizard[/eluser]
Then stay away from Kohanna and Cake. Smile

CodeIgniter is simple to learn, and comes with an excellent user guide. And don't forget a very active community.
#3

[eluser]Unknown[/eluser]
Agree with WanWizard ...

When i begin to learn CI. I found that CI is extremely easy to understand, powerfull and has tons of core functions including input filtering / form validation.
#4

[eluser]n0xie[/eluser]
[quote author="gouldcase" date="1287661099"]I'm developing a complex large-scale website and I don't have enough time to learn a hard-to-learn framework.[/quote]
So you're going to build a large-scale site without having ANY experience with either of the three? No wonder PHP has got such a bad name in the industry.
#5

[eluser]wiredesignz[/eluser]
lol @ noxie, that is so harsh man.
#6

[eluser]WanWizard[/eluser]
@n0xie,

Give the dude some credit. He might have years of PHP experience.

Altough I have to admit, the way the statement is phrased, it doesn't look like it... :cheese:
#7

[eluser]Bas Vermeulen[/eluser]
[quote author="gouldcase" date="1287661099"]I'm developing a complex large-scale website and I don't have enough time to learn a hard-to-learn framework.[/quote]

Then use a CMS/F like MODx Smile
#8

[eluser]Bart v B[/eluser]
Guy's... Maybe a more polite question for the topic starter is offcourse:
What experiance he has. Does he knows something about MVC, OO, classes, things like that.
What kind of "complex large-scale website" is it?

What "must haves" have the framework on what you need?
#9

[eluser]Phil Sturgeon[/eluser]
Let's assume you know PHP but nothing about the frameworks, the strongest point here will be documentation.

CodeIgniter has a LOT of documentation which is of much better quality than CakePHP's documentation. Kohana basically has none.

If you'll be building a massive app you will need to know how and how quickly, CodeIgniter is the best way to do that. It is also flexible enough for you to do whatever the heck you like without it bossing you into certain conventions - something that CakePHP is full of.
#10

[eluser]tonanbarbarian[/eluser]
i have not really reviewed kohana, but a few years ago i compared CI to Cake and even wrote a post about it in here somewhere
the main difference between the 2 is that cake will do so much stuff automatically, such as loading related data, but it is not easy to turn any of that off.
the end result is using CI is easier and it ends up performing better
this is because CI is NOT doing all of the extra bells and whistles which in a lot of cases you do not need.

take for example the case where you have a site that does some simple crud
you can list the records from a table, add, edit and delete them.
now in Cake if there is a related table and you have told the model about the relation then every time you select 1 or more records from the main table all of the related records are also retrieved from the database, whether you need them or not. this takes extra processing time and uses extra memory
then take the example of you are editing a record and decide to cancel the edit and return to the list of records
now if you create a method called cancel which redirects to the list page (i know you could link directly to the list but humor me) in CI you can write it so that nothing but the redirect happens, no connection to the database, no queries run etc, but in cake it will always connect to the database and in this case may even query the database whether you want it to or not.

so basically CI can be coded easily to use way less resources than Cake
The test example I did a few years ago had a CI and Cake app built to to CRUD on a simple table.
The CI app even had a bit more functionality like filtering of the records, which I did not add to the Cake version
The CI version of the page used less than 1 Meg or memory to process the pages
The Cake version used nearly 3 Mb I beleive.

Now this does not sound that dramatic you might think
But if you have a server receiving lots of traffic you want each request to process as quickly as possible and to use as little memory as possible so that you site and the server performs as well as possible.

That is one of the reasons I use CI over Cake




Theme © iAndrew 2016 - Forum software by © MyBB