Log message #4044706

# At Username Text
# Jun 27th 2017, 09:54 birdy247 using it as a way to learn how bower works
# Jun 27th 2017, 09:54 neon1024 :O
# Jun 27th 2017, 09:54 hmic at least the namespacing and other easily automated stuff will be done
# Jun 27th 2017, 09:54 birdy247 @neon1024 we are just checking out your cake exchange repo :slightly_smiling_face:
# Jun 27th 2017, 09:54 birdy247 Morning
# Jun 27th 2017, 09:54 hmic it helps with some aspects, sure
# Jun 27th 2017, 09:54 bordplate Great tips, thanks! Is the upgrade-tool a good way to go for this?
# Jun 27th 2017, 09:52 neon1024 Good opportunity to refactor!
# Jun 27th 2017, 09:52 hmic you can do that before the 3.x migration though - just keep in mind to have good seperatin implemented already, make use of events where applicable
# Jun 27th 2017, 09:51 hmic you can start - and should- remvoe the business logic from the controllers and build seperate classes for them
# Jun 27th 2017, 09:51 hmic the ORM/model level has changed completely though
# Jun 27th 2017, 09:50 bordplate Great! That’s all the motivation I need for this. I’m also trying to get developers to stop putting *all* business logic in controllers. It’s beyond annoying to have to recreate all code when adding a new feature.
# Jun 27th 2017, 09:50 hmic besides the usage of namespaces and autoloading with composer not much has changed on the surface of your controller and view levels
# Jun 27th 2017, 09:49 hmic bordplate: very feasable project. and very much worth it, if you want to develop this app for years still...
# Jun 27th 2017, 09:37 slackebot appreciated.
# Jun 27th 2017, 09:37 bordplate I need some advice here. We have a CakePHP 2.x project that is at right above 32 000 lines of code (most of which is just in controllers) and I want to migrate this over to CakePHP 3.4, because I’m sure this system will be used here and be actively developed for at least another decade. Is this an infeasible amount of work? Also, I’m kind of struggling to see how the new structure is, so any good blog posts or so about migrating would
# Jun 27th 2017, 09:30 casmo What a time to be alive haha
# Jun 27th 2017, 09:29 bernat Another case of Google indirectly improving sites.
# Jun 27th 2017, 09:29 casmo AND technicly better?! <3
# Jun 27th 2017, 09:28 dereuromark @casmo google needs it for search results to be more clear about the major version
# Jun 27th 2017, 09:28 casmo Nice, give that person a hug for me
# Jun 27th 2017, 09:27 casmo It makes me for no reason super happy
# Jun 27th 2017, 09:27 dakota Somebody requested it :slightly_smiling_face:
# Jun 27th 2017, 09:27 dakota It is
# Jun 27th 2017, 09:27 casmo I like that a lot
# Jun 27th 2017, 09:27 casmo Is that - 3.x in the <title> of the CakePHP documentation a new thing?
# Jun 27th 2017, 09:26 savant heh
# Jun 27th 2017, 09:26 savant https://github.com/cakephp/irc.cakephp.org/blob/master/src/Controller/ChannelsController.php#L23
# Jun 27th 2017, 09:26 savant its the default cakephp serialization stuff
# Jun 27th 2017, 09:26 savant https://irc.cakephp.org/channels.json
# Jun 27th 2017, 09:23 bravo-kernel thanks!
# Jun 27th 2017, 09:23 bravo-kernel I will take a look one of these days and get back here.
# Jun 27th 2017, 09:22 savant I just didnt use it because I was quickly porting it over
# Jun 27th 2017, 09:22 bravo-kernel that might even work, haha
# Jun 27th 2017, 09:22 savant in fact, it already has crud and stuff installed
# Jun 27th 2017, 09:22 bravo-kernel aha
# Jun 27th 2017, 09:22 savant its a cakephp 3 app
# Jun 27th 2017, 09:22 savant you can build an api in the same repo
# Jun 27th 2017, 09:22 bravo-kernel irc-log-api
# Jun 27th 2017, 09:22 savant why?
# Jun 27th 2017, 09:22 bravo-kernel maybe I am unclear atm but I would highly prefer a new repo