# |
Apr 13th 2018, 18:28 |
alexmax |
Now I'm having a different problem |
# |
Apr 13th 2018, 18:28 |
alexmax |
Hrm |
# |
Apr 13th 2018, 18:20 |
jeremyharris |
:+1: glad you found it! |
# |
Apr 13th 2018, 18:20 |
alexmax |
you were right on the money |
# |
Apr 13th 2018, 18:20 |
alexmax |
so it wasn't looking at the correct configuration file |
# |
Apr 13th 2018, 18:20 |
alexmax |
We have a "local config" override that I copied over by accident |
# |
Apr 13th 2018, 18:19 |
alexmax |
PBKAC |
# |
Apr 13th 2018, 18:13 |
jeremyharris |
debug kit might just be the first to catch the issue, but I’m sure if you disabled debug kit you’d see other errors related to cache |
# |
Apr 13th 2018, 18:11 |
alexmax |
that might be it, I've just merged two long running branches, and I bet there are some config differences |
# |
Apr 13th 2018, 18:07 |
jeremyharris |
so what’s you’re cache config look like? |
# |
Apr 13th 2018, 18:07 |
jeremyharris |
I don’t think it could even build a cache engine without a class |
# |
Apr 13th 2018, 18:05 |
jeremyharris |
what version of cake? |
# |
Apr 13th 2018, 18:03 |
alexmax |
nope, updating fixed nothing |
# |
Apr 13th 2018, 17:58 |
alexmax |
maybe i should update |
# |
Apr 13th 2018, 17:58 |
alexmax |
according to this I'm using DebugKit 3.2.8 |
# |
Apr 13th 2018, 17:57 |
alexmax |
Notice (8): Undefined index: className [ROOT/vendor/cakephp/debug_kit/src/Panel/CachePanel.php, line 43] |
# |
Apr 13th 2018, 17:57 |
alexmax |
After updating PHP and CakePHP, DebugKit is throwing notices |
# |
Apr 13th 2018, 17:57 |
alexmax |
Hrm, this is weird |
# |
Apr 13th 2018, 17:33 |
vn.sieu |
Okay, I need research more than :slightly_smiling_face: |
# |
Apr 13th 2018, 17:31 |
jeremyharris |
usually I use the existing setup and build off of that |
# |
Apr 13th 2018, 17:31 |
jeremyharris |
the basic skeleton can handle all of those already, however it depends on your application. if you have a JS application that consumes a cake-baked API, then most of your cake app’s templating would not be needed |
# |
Apr 13th 2018, 17:29 |
vn.sieu |
I see, My application have Backend, Frontend, API. I dont know any stucture for it |
# |
Apr 13th 2018, 17:27 |
jeremyharris |
usually cake tries to leave the advanced things up to the dev, because everyone wants something different and cake can do many things |
# |
Apr 13th 2018, 17:27 |
jeremyharris |
@vn.sieu it has a basic skeleton `composer create-project cakephp/app`. what would you like to see in an “advanced” skeleton? |
# |
Apr 13th 2018, 17:26 |
joopm |
it makes scaffold application |
# |
Apr 13th 2018, 17:26 |
joopm |
cake has the bake shell |
# |
Apr 13th 2018, 17:25 |
joopm |
well i am not a pro, i am writing my thesis about app development in cake,so i have to describe how it works |
# |
Apr 13th 2018, 17:25 |
vn.sieu |
Hi everyone, I dont know why CakePHP dont build skeleton Advanced/Basic like Yii2 |
# |
Apr 13th 2018, 17:22 |
jeremyharris |
at the very least I think the inconsistencies could be addressed |
# |
Apr 13th 2018, 17:21 |
jeremyharris |
you can open an issue on the docs repository to see how others feel |
# |
Apr 13th 2018, 17:21 |
joopm |
maybe i would add additional arrows to show it better |
# |
Apr 13th 2018, 17:21 |
jeremyharris |
I think the model arrow is right, and those other ones are wrong, personally |
# |
Apr 13th 2018, 17:20 |
joopm |
yes you are right, model which feed the controller |
# |
Apr 13th 2018, 17:20 |
jeremyharris |
same with helpers, cells, and components |
# |
Apr 13th 2018, 17:20 |
jeremyharris |
if the arrow pointed the other way, it might suggest “controllers feed into the model” but then where does the request go? |
# |
Apr 13th 2018, 17:20 |
joopm |
is also necessrly |
# |
Apr 13th 2018, 17:20 |
joopm |
yes i think controller -> model |
# |
Apr 13th 2018, 17:19 |
jeremyharris |
I think the diagram is meaning to say “model data feeds into the controller” |
# |
Apr 13th 2018, 17:19 |
jeremyharris |
I suppose the arrow should go the other way, if that’s what you’re thinking |
# |
Apr 13th 2018, 17:19 |
jeremyharris |
oh |
# |
Apr 13th 2018, 17:19 |
jeremyharris |
I don’t see a problem with it. |