Live data from Hacker News

Addons.mozilla.org to move from CakePHP to Django in 2010

micropipes.com

11–18 of 18 posts

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#11
post #10

Earlier quoted context omitted.

So what do people around here recommend for a php framework? I normally use and love Django, but I would like to add a php framework into my toolset.

Personally I use (and recommend) Kohana. Especially in recent versions they have made a lot of improvements to the MVC model for PHP.

That's based on Codeigniter, right? How do the two compare?

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#12
post #11
post #10

Earlier quoted context omitted.

Personally I use (and recommend) Kohana. Especially in recent versions they have made a lot of improvements to the MVC model for PHP.

That's based on Codeigniter, right? How do the two compare?

Well it was originally a fork of CI. Version 2 was a recode but using the same inspiration. Version 3 is another rebuild but a more developed version of the idea (i.e. unrecognisable from it's CI origins).

It's about preference I guess: Kohana takes advantage of a lot of the PHP5 extra's and also unfucks some of the "gotcha's" CI had (especially in the area of loading stuff). Also it is updated more regularly and is community developed.

CI is still good, I personally prefer Kohana's way of doing it.

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#13
post #12
post #11

Earlier quoted context omitted.

That's based on Codeigniter, right? How do the two compare?

Well it was originally a fork of CI. Version 2 was a recode but using the same inspiration. Version 3 is another rebuild but a more developed version of the idea (i.e. unrecognisable from it's CI origins). It's about preference I guess: Kohana takes advantage of a lot of the PHP5 extra's and also unfucks some of the "gotcha's" CI had (especially in the area of loading stuff). Also it is updated more regularly and is…

I thought it was a recent fork of the project - I stand corrected. Kohana certainly does look good. I'm just getting to grips with CI now. Authentication has been a matter of bolting on a 3rd party library. Would you recommend a switch to Kohana? I'm mostly concerned by the long-term support and development for each of them.

EDIT: Just realised that I'm asking you to sum up a lot to recommend one over the other. I'm currently looking at both in detail, cheers.

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#14
post #13
post #12

Earlier quoted context omitted.

Well it was originally a fork of CI. Version 2 was a recode but using the same inspiration. Version 3 is another rebuild but a more developed version of the idea (i.e. unrecognisable from it's CI origins). It's about preference I guess: Kohana takes advantage of a lot of the PHP5 extra's and also unfucks some of the "gotcha's" CI had (especially in the area of loading stuff). Also it is updated more regularly and is…

I thought it was a recent fork of the project - I stand corrected. Kohana certainly does look good. I'm just getting to grips with CI now. Authentication has been a matter of bolting on a 3rd party library. Would you recommend a switch to Kohana? I'm mostly concerned by the long-term support and development for each of them. EDIT: Just realised that I'm asking you to sum up a lot to recommend one over the other. I'm…

I'd recommend it yes. Kohana is a bit of a hackers framework - you do need to dig inside it sometimes (I consider that a good thing). It also has a pretty nice ORM based / Role based auth module included which you can extend fairly easily.

In terms of LTS: V2 is pretty frozen at 2.4 right now (i.e. no API changes) though the documentation still reflects V2.3. There should only be bug fixes on the 2.x branch. 3.x is in active development (and worth looking at) and should be there for the long haul.

I personally use 2.x because that is what I started with and I haven't had chance to make the switch to 3.x (it's pretty much the same except there are changes to some naming conventions and file paths) mostly due to having to support 2.x based sites still :)

EDIT: It's a bit old (and I apologise for the abysmal writing!) but this is a comparison I wrote when I first made the switch: http://www.errant.me.uk/blog/2008/06/framework-comparision-c... might be useful.

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#15
The reasons given in this post show the ineffectiveness of the AMO development team.

I worked at Yahoo and I’ve used different Java and PHP frameworks in the past, some good, some bad. However, that never stopped us from having a continuous build running locally and an integration build running on our server, or from unit testing our code, even though we had to extend and adapt some components and unit testing frameworks. The same with debugging, it never stopped us from creating awesome tools to debug our code and monitor the performance of our applications.

After finishing building a CMS using Django, I can only say one thing: A framework doesn't make you a better programmer. If you suck, you suck.

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#16
post #14
post #13

Earlier quoted context omitted.

I thought it was a recent fork of the project - I stand corrected. Kohana certainly does look good. I'm just getting to grips with CI now. Authentication has been a matter of bolting on a 3rd party library. Would you recommend a switch to Kohana? I'm mostly concerned by the long-term support and development for each of them. EDIT: Just realised that I'm asking you to sum up a lot to recommend one over the other. I'm…

I'd recommend it yes. Kohana is a bit of a hackers framework - you do need to dig inside it sometimes (I consider that a good thing). It also has a pretty nice ORM based / Role based auth module included which you can extend fairly easily. In terms of LTS: V2 is pretty frozen at 2.4 right now (i.e. no API changes) though the documentation still reflects V2.3. There should only be bug fixes on the 2.x branch. 3.x is i…

Thanks, that's a great appraisal of the two and sums up most of what I've read so far nicely.

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#17
post #16
post #14

Earlier quoted context omitted.

I'd recommend it yes. Kohana is a bit of a hackers framework - you do need to dig inside it sometimes (I consider that a good thing). It also has a pretty nice ORM based / Role based auth module included which you can extend fairly easily. In terms of LTS: V2 is pretty frozen at 2.4 right now (i.e. no API changes) though the documentation still reflects V2.3. There should only be bug fixes on the 2.x branch. 3.x is i…

Thanks, that's a great appraisal of the two and sums up most of what I've read so far nicely.

I nearly cried reading it back - might attempt to rewrite it. As one of the most popular posts I have it probably doesnt give a great impression :D

Re: Addons.mozilla.org to move from CakePHP to Django in 2010

#18
post #17
post #16

Earlier quoted context omitted.

Thanks, that's a great appraisal of the two and sums up most of what I've read so far nicely.

I nearly cried reading it back - might attempt to rewrite it. As one of the most popular posts I have it probably doesnt give a great impression :D

Seriously, it ain't that bad! But I wouldn't complain about an update if you feel so inclined :)
Post reply on HN