CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread Shukuboy
Hi guys,

I have already started my first project in Cake 1.3, and have managed
to set everything up the way I want it, that includes the basics,
authentication, unit testing, i18n and a few other things.

I had a look at the change logs of Cake 2.0 and all the updates look
like good stuff.   However I'm not sure if upgrading at this point of
time would be so wise as it'd mean upgrading a whole lot of
components, behaviors, tests and may end up costing a lot of time in
the future, due to lack of compatibility with existing plugins written
for 1.3.

Hence, I was wondering about your opinion on these :
-  Are the non-tangible benefits of Cake 2.0 (such as performance and
code clean-ness) worth the pain of upgrading ?
-  How much effort was involved in upgrading all your stuff to 2.0 ?
-  What's your experience been like so far with the new framework ?

Cheers,
Shukuboy

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread Richard@Home
I'm also upgrading a 1.3 app but it's proving to be problematic :-S

I'd say if you aren't too far along in your project then upgrade, but
If you're using custom plugins and behaviors prepare for a bit of hair
pulling ;-)

On Oct 27, 1:38 pm, Shukuboy shuku...@gmail.com wrote:
 Hi guys,

 I have already started my first project in Cake 1.3, and have managed
 to set everything up the way I want it, that includes the basics,
 authentication, unit testing, i18n and a few other things.

 I had a look at the change logs of Cake 2.0 and all the updates look
 like good stuff.   However I'm not sure if upgrading at this point of
 time would be so wise as it'd mean upgrading a whole lot of
 components, behaviors, tests and may end up costing a lot of time in
 the future, due to lack of compatibility with existing plugins written
 for 1.3.

 Hence, I was wondering about your opinion on these :
 -  Are the non-tangible benefits of Cake 2.0 (such as performance and
 code clean-ness) worth the pain of upgrading ?
 -  How much effort was involved in upgrading all your stuff to 2.0 ?
 -  What's your experience been like so far with the new framework ?

 Cheers,
 Shukuboy

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread zuha
It took me 7, 15 hour days to get my app mostly back to normal after the 
upgrade.   Its pretty painful, but the performance upgrade is worth it in 
my opinion.  (1.3 is so slow, its close to unusable for larger 
applications, so far 2.0 has been a substantial upgrade in performance)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread Shukuboy
Well in my case, I've written a couple of bits and pieces myself, but
haven't used too many plugins yet.

Question is if there will be plenty of grief in using custom plugins
working in the future ?

Performance is definitely a key thing, so I might give this upgrade a
try.  Plus things like improved Auth and removal of shortcut methods,
more use of statics and inherent functions are definitely good things.


On Oct 27, 1:14 pm, zuha rich...@razorit.com wrote:
 It took me 7, 15 hour days to get my app mostly back to normal after the
 upgrade.   Its pretty painful, but the performance upgrade is worth it in
 my opinion.  (1.3 is so slow, its close to unusable for larger
 applications, so far 2.0 has been a substantial upgrade in performance)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread Miles J
I would love to see some benchmarks on this. I have a pretty traffic
heavy site that does just fine on 1.3.

And if anything, the speed improvements in 2.0 may be negligible to
notice, especially if caching is on.

On Oct 27, 9:14 am, zuha rich...@razorit.com wrote:
 It took me 7, 15 hour days to get my app mostly back to normal after the
 upgrade.   Its pretty painful, but the performance upgrade is worth it in
 my opinion.  (1.3 is so slow, its close to unusable for larger
 applications, so far 2.0 has been a substantial upgrade in performance)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread zuha
How many tables are in your database for this site, and do you use ACL? 
 I'd like to see some bench marks too, but don't necessarily think that the 
biggest improvements would be shown in a straight setup.  Instead, I'd like 
to see benchmarks based on some use cases of core components. 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread euromark
using the current core UpgradeShell would be very painful indeed.
I have hundreds of those files as well.

Without my custom UpgradeShell I would have never ported it.
I also submitted a lot of my improvements. Maybe they will find their
way into the core shell.
As soon as you have more than 20-40 models/controllers each it gets
ugly really fast otherwise.
Not counting 5-10 plugins.

Anyway. The improvements are huge. First of all speed and performance.
At least some small and middle-sized apps are almost 4 times faster
(or so it feels).

Its not yet totally bugfree and stable. But the core team is fast on
fixing the important bugs.
Many things are solved cleaner than in 1.3. Many things are more
extensible and customizable.
After all its probably worth a try.



On 27 Okt., 20:48, zuha rich...@razorit.com wrote:
 How many tables are in your database for this site, and do you use ACL?
  I'd like to see some bench marks too, but don't necessarily think that the
 biggest improvements would be shown in a straight setup.  Instead, I'd like
 to see benchmarks based on some use cases of core components.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread Jamie
My experience - I'm in the middle of doing my first upgrade. The
application that I'm upgrading is quite mature (started as 1.2, then
upgraded to 1.3, now going to 2.0) and has 22 plugins, for a total of
85 controllers, 75 models, and a ton of other stuff (components,
behaviors, helpers, view files, etc.). The MySQL database has around
2.5GB of data in 81 tables.

I've been at it for about three days. To say it's been painful would
be the understatement of the year. :) I like the changes made in 2.0,
but, with the amount of time I'm going to have invested in upgrading
by the end, I'm wondering if the improvements will be drastic enough
to justify the time spent.

On Oct 27, 5:38 am, Shukuboy shuku...@gmail.com wrote:
 Hi guys,

 I have already started my first project in Cake 1.3, and have managed
 to set everything up the way I want it, that includes the basics,
 authentication, unit testing, i18n and a few other things.

 I had a look at the change logs of Cake 2.0 and all the updates look
 like good stuff.   However I'm not sure if upgrading at this point of
 time would be so wise as it'd mean upgrading a whole lot of
 components, behaviors, tests and may end up costing a lot of time in
 the future, due to lack of compatibility with existing plugins written
 for 1.3.

 Hence, I was wondering about your opinion on these :
 -  Are the non-tangible benefits of Cake 2.0 (such as performance and
 code clean-ness) worth the pain of upgrading ?
 -  How much effort was involved in upgrading all your stuff to 2.0 ?
 -  What's your experience been like so far with the new framework ?

 Cheers,
 Shukuboy

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0 upgrade - benefit vs pain scale

2011-10-27 Thread Jeremy Burns | Class Outfit
I can vouch that performance under 2.0 certainly seems much, much snappier 
(unscientific statement). I ran the upgrade script over a pretty meaty existing 
app and it just plain didn't work afterwards. I was left with a ton of errors 
I'd not seen before, so had that really uncomfortable wtf feeling. If you know 
2.0 backwards you'd be able to go straight to the problem source and fix it. If 
not, it's like being a first timer again. I stopped the migration and started 
on the tutorial, just to learn it.

The move from 1.3 to 2.0 is definitely worth it for all the reasons stated, but 
as it stands migrating is something that will take time. It's not like updating 
a Mac from one version of OS X to another where everything is over and done in 
a few minutes. It's a project that demands planning, time and knowledge. I 
wouldn't trust my own upgraded app in a production environment just yet, but I 
won't start anything new on 1.3.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 28 Oct 2011, at 01:25, Jamie wrote:

 My experience - I'm in the middle of doing my first upgrade. The
 application that I'm upgrading is quite mature (started as 1.2, then
 upgraded to 1.3, now going to 2.0) and has 22 plugins, for a total of
 85 controllers, 75 models, and a ton of other stuff (components,
 behaviors, helpers, view files, etc.). The MySQL database has around
 2.5GB of data in 81 tables.
 
 I've been at it for about three days. To say it's been painful would
 be the understatement of the year. :) I like the changes made in 2.0,
 but, with the amount of time I'm going to have invested in upgrading
 by the end, I'm wondering if the improvements will be drastic enough
 to justify the time spent.
 
 On Oct 27, 5:38 am, Shukuboy shuku...@gmail.com wrote:
 Hi guys,
 
 I have already started my first project in Cake 1.3, and have managed
 to set everything up the way I want it, that includes the basics,
 authentication, unit testing, i18n and a few other things.
 
 I had a look at the change logs of Cake 2.0 and all the updates look
 like good stuff.   However I'm not sure if upgrading at this point of
 time would be so wise as it'd mean upgrading a whole lot of
 components, behaviors, tests and may end up costing a lot of time in
 the future, due to lack of compatibility with existing plugins written
 for 1.3.
 
 Hence, I was wondering about your opinion on these :
 -  Are the non-tangible benefits of Cake 2.0 (such as performance and
 code clean-ness) worth the pain of upgrading ?
 -  How much effort was involved in upgrading all your stuff to 2.0 ?
 -  What's your experience been like so far with the new framework ?
 
 Cheers,
 Shukuboy
 
 -- 
 Our newest site for the community: CakePHP Video Tutorials 
 http://tv.cakephp.org 
 Check out the new CakePHP Questions site http://ask.cakephp.org and help 
 others with their CakePHP related questions.
 
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php