Log message #4123284

# At Username Text
# Mar 8th 2018, 18:54 savant The core team has experience with a wide range of technologies and languages, and we bring that to bear in the CakePHP framework. Thus, we are very deliberate about any changes we introduce, waiting for those things to mature before adopting (like all the PSRs)
# Mar 8th 2018, 18:53 savant And the fact that there is a large group of core developers supporting the project, so it is unlikely that the project itself dies. In fact, we’ve lost half the dev team in the past and we’re still chugging along just fine, and should anything happen to any one core member, others will pick up the slack :slightly_smiling_face:
# Mar 8th 2018, 18:53 savant @angelxmoreno I would talk about the stability of the project - we don’t make BC-incompatible changes often and include _many_ regression tests - as a factor for choosing us
# Mar 8th 2018, 18:51 meder so i guess the behaviour of include() may differ from staging vs dev
# Mar 8th 2018, 18:51 meder hm, Router.php "include()"'s router.php
# Mar 8th 2018, 18:51 angelxmoreno @dereuromark i have to fight a fleet of Berlin developers who prefer to reinvent every wheel possible :(
# Mar 8th 2018, 18:20 meder can you control if the global route is picked up at all?
# Mar 8th 2018, 18:20 meder really weird..
# Mar 8th 2018, 17:53 meder what would prevent debugging from happening with debug->true in config/routes.php? if i put a dd('routes') it doesn't render. app.php, however, does
# Mar 8th 2018, 17:33 dereuromark with silex being dead should be super easy :slightly_smiling_face: especially with your pre-experience in the field of cake rapid development
# Mar 8th 2018, 17:32 angelxmoreno greetings bakers! I am tasked to sell CakePHP to my company. right now we use silex. Is there a document out in the wild for achieving this goal with maximum efficiency ?
# Mar 8th 2018, 16:58 cpierce but i can start with a simple solution and iterate
# Mar 8th 2018, 16:58 cpierce i actually wanna say where they ARE NOT
# Mar 8th 2018, 16:58 cpierce whats the best way to compare two fields in a condition .. i wanna say where 'Table1.a' => 'Table2.b'
# Mar 8th 2018, 16:31 savant you’d need to suss out how that pr is intended to work and try to hack your version
# Mar 8th 2018, 16:31 savant I dont have any other specific bits of knowledge
# Mar 8th 2018, 16:31 savant heh
# Mar 8th 2018, 16:31 meder savant: it's a huge site and that would take time the client wouldn't pay for
# Mar 8th 2018, 16:31 jojomartius @ricksaccous yes, thats with thing with euro’s and cents
# Mar 8th 2018, 16:30 savant upgrade to latest cakephp?
# Mar 8th 2018, 16:30 meder anyone know how i'd go about implementing the core pull updates in https://github.com/cakephp/cakephp/pull/11765 to 3.3? is it possible through middleware? there are updates to Router.php but can I override that?
# Mar 8th 2018, 16:28 ricksaccous oh well, you'll figure it out
# Mar 8th 2018, 16:27 ricksaccous is that 3 euros 45 cents?
# Mar 8th 2018, 16:27 ricksaccous like 3,45
# Mar 8th 2018, 16:27 ricksaccous wait do commas in european prices work like cents?
# Mar 8th 2018, 16:25 ricksaccous lol
# Mar 8th 2018, 16:25 ricksaccous int it up dyud
# Mar 8th 2018, 16:25 jojomartius stupid shit
# Mar 8th 2018, 16:25 jojomartius but my friend here is comming with a english IE, typing in german numbers and because IE is not able to send floats out and mysql is not accepting comma seperated decimals i loose information :(
# Mar 8th 2018, 16:25 lorenzo you could have a select for “use comma as separator, or use dot as separator” and use that as the hint
# Mar 8th 2018, 16:24 lorenzo it’s difficult to guess
# Mar 8th 2018, 16:24 jojomartius yes.. thats the theory ;)
# Mar 8th 2018, 16:23 lorenzo or at least that will give you a good hint
# Mar 8th 2018, 16:23 lorenzo in theory the format should be dependent on the browser’s locale
# Mar 8th 2018, 16:22 ricksaccous in view always divide number by 100
# Mar 8th 2018, 16:22 ricksaccous just take out all , or . and multiply number by 100
# Mar 8th 2018, 16:22 ricksaccous store number as int and then use step=any in the textfield
# Mar 8th 2018, 16:20 jojomartius but what i dont like is that i need to know how the user will enter its number... if the german user uses an english format, it returns 0 and the otherway around ;)
# Mar 8th 2018, 16:14 jojomartius good idea ;)) thanks
# Mar 8th 2018, 16:05 lorenzo @jojomartius my suggestion would be to either use a beforeMarshal callback or use a custom database type
# Mar 8th 2018, 16:04 jojomartius ;) sounds like a quite good solution ;) and if we do this in the model directly while setting the value it should happen "automatically" ;)