Addons.mozilla.org to move from CakePHP to Django in 2010
1–10 of 18 posts
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#2Good luck and godspeed on the migration, AMO.
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#3i kid, i kid...
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#4For what it's worth, I believe a lot of these issues are solved with 1.2 (AMO claims to be still on 1.1 which is at least two years old now). It sounds as if their system is just defining relations in their models and letting the database layer pull up all the objects for them. Which of course creates problems. They should shift to using "contains" to limit the depth of the objects retrieved.
The only real issues I've run into in the most recent version of Cake have been an inability to define a separate join table on one of the basic relationships (hasMany?). I seem to remember rails making this possible through an intermediary table, but it is somewhat advanced in any case and the easiest solution ended up being to write an SQL function in the model and use that to fetch the data. It was not hard.
Good luck to them with the re-write.
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#5Seems like they have the resources to keep php and python running under duress.
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#6Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#7Didn't know they were running CakePHP, but I can understand it being insufficient. Unfortunately, its attempts to copy Rails have left it as a framework designed for the wrong language. It's OK for beginners, but not something you really want to get locked into. Good luck and godspeed on the migration, AMO.
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#8Didn't know they were running CakePHP, but I can understand it being insufficient. Unfortunately, its attempts to copy Rails have left it as a framework designed for the wrong language. It's OK for beginners, but not something you really want to get locked into. Good luck and godspeed on the migration, AMO.
I unfortunately have had way too much experience with CakePHP. It is the second to worst framework I have used. Second to .NET 2. CakePHP trying to emulate Rails while supporting PHP was an idea destined to fail especially when trying to support PHP 4.x.
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#9"When it did work it would return enormous nested arrays of data causing massive CPU and memory usage (out of memory errors plague us on AMO). When it didn’t work, we’d end up doing queries directly which kind of defeats the purpose." For what it's worth, I believe a lot of these issues are solved with 1.2 (AMO claims to be still on 1.1 which is at least two years old now). It sounds as if their system is just defini…
Its too bad for such a high profile project to bail on Cake without giving the new version a try. It really is an excellent framework for many projects.
Re: Addons.mozilla.org to move from CakePHP to Django in 2010
#10Earlier quoted context omitted.
I unfortunately have had way too much experience with CakePHP. It is the second to worst framework I have used. Second to .NET 2. CakePHP trying to emulate Rails while supporting PHP was an idea destined to fail especially when trying to support PHP 4.x.
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.