# |
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 |
# |
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 |