Log message #4123336

# At Username Text
# Mar 9th 2018, 05:29 savant never used it though @cnizzardini
# Mar 9th 2018, 05:04 savant looks interesting
# Mar 9th 2018, 04:55 cnizzardini Does anyone have experience using Amphp\parallel with CakePHP?
# Mar 8th 2018, 23:22 Pedroni Can someone show me one example on how to validate if users can access a specific method in my controller on a restful api using this authentication https://github.com/ADmad/cakephp-jwt-auth ? Or any other authentications
# Mar 8th 2018, 22:04 admad @willem you are not wrong :slightly_smiling_face:
# Mar 8th 2018, 21:05 savant heh
# Mar 8th 2018, 21:00 meder thanks for being patient yesterday - i can say i'm more familiar with cake routing now
# Mar 8th 2018, 21:00 meder savant: btw, instead of adjusting the router caching - i'm refactoring the way this app builds routes. 1500 inflected routes....
# Mar 8th 2018, 20:07 slackebot correct me if i’m wrong. but this seems to work
# Mar 8th 2018, 20:07 willem it think i got it: ``` $routes->connect( '/customers', ['controller' => 'Customers', 'action' => 'index'], [ 'routeClass' => 'ADmad/I18n.I18nRoute', 'lang' => 'en' ] ); $routes->connect( '/klanten', ['controller' => 'Customers', 'action' => 'index'], [ 'routeClass' => 'ADmad/I18n.I18nRoute', 'lang' => 'nl' ] ); ```
# Mar 8th 2018, 19:59 willem both would point to the same controller e.g. Customers
# Mar 8th 2018, 19:58 willem when using @admad’s I18n plugin, is it possible (and how do i set up the routes) to have for example this ``` /nl/klanten /en/customers ```
# Mar 8th 2018, 19:37 gsitex @dereuromark postLink is not working if you have it wrapped in a <form> tag, right?
# Mar 8th 2018, 19:37 dereuromark e.g. inside forms, you need to use the non-inline script block way
# Mar 8th 2018, 19:36 dereuromark it usually only fails if you dont use it as documented
# Mar 8th 2018, 19:36 Brian_ anyone know (a) why the devs decided to use dom vars and (b) why it fails sometimes?
# Mar 8th 2018, 19:36 Brian_ this onclick handler fails sometimes because it's (rather hackishly) targeting a hidden form using dom variables instead of jquery or a vanilla js selector
# Mar 8th 2018, 19:35 Brian_ $onClick = 'document.' . $formName . '.submit();';
# Mar 8th 2018, 19:35 Brian_ I've got a workaround, but I'd like to understand the bug
# Mar 8th 2018, 19:34 Brian_ just found a bug in cake3 postLink, wondering if anyone had insight
# Mar 8th 2018, 19:18 savant something like that
# Mar 8th 2018, 19:18 angelxmoreno well, at least i know @savant is going. He is legally bound to attend 5 more cakefests
# Mar 8th 2018, 19:17 savant lol
# Mar 8th 2018, 19:14 angelxmoreno @dereuromark you are going to pay the $75 processing fee on my refund
# Mar 8th 2018, 19:14 ricksaccous lmao
# Mar 8th 2018, 19:14 angelxmoreno REFUND!!!!!
# Mar 8th 2018, 19:14 angelxmoreno wtf
# Mar 8th 2018, 19:14 ricksaccous ok
# Mar 8th 2018, 19:14 dereuromark Nope
# Mar 8th 2018, 19:13 ricksaccous just curiousssss
# Mar 8th 2018, 19:13 ricksaccous @dereuromark are you going to cakefest this year?
# Mar 8th 2018, 19:01 angelxmoreno if i move out of ny, lol
# Mar 8th 2018, 19:00 dereuromark maybe you should come work for us^^
# Mar 8th 2018, 18:58 angelxmoreno @dereuromark I work for Chegg, specifically their writing tools services: http://www.citationmachine.net/ http://www.bibme.org/ http://www.easybib.com/ http://www.citethisforme.com/
# Mar 8th 2018, 18:57 angelxmoreno I am going to write up a general doc. The goal is to move to a more opinionated framework. We have about 5 php based APIs and it it the wild-wild-west when it comes to conventions, code-styles, etc. Nothing is documented, forcing devs to spend days - weeks learning each one. I guess it was ok back when it was 3 devs but shit is getting out of hand now.
# Mar 8th 2018, 18:55 dereuromark @angelxmoreno you work for berlin company now?
# 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