# |
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. |
# |
Apr 13th 2018, 17:19 |
joopm |
i mean |
# |
Apr 13th 2018, 17:19 |
joopm |
from controller there is no arrow pointing to model |
# |
Apr 13th 2018, 17:18 |
joopm |
you |
# |
Apr 13th 2018, 17:18 |
joopm |
do think that the diagram in 3.0 is correct? |
# |
Apr 13th 2018, 17:18 |
jeremyharris |
you’re welcome! |
# |
Apr 13th 2018, 17:18 |
joopm |
hello,okey thnak you for inform me |
# |
Apr 13th 2018, 17:18 |
jeremyharris |
the relationship between controllers and models is the same between 2.x and 3.x, that is, the controller can access models |
# |
Apr 13th 2018, 17:17 |
jeremyharris |
joopm it’s not totally changed, just the dispatch process goes through middleware now |
# |
Apr 13th 2018, 16:33 |
joopm |
its seem there is no arrow from controller to model |
# |
Apr 13th 2018, 16:33 |
joopm |
i am asking you because here : https://book.cakephp.org/3.0/en/intro.html |
# |
Apr 13th 2018, 16:32 |
joopm |
https://book.cakephp.org/2.0/en/getting-started/a-typical-cakephp-request.html |
# |
Apr 13th 2018, 16:32 |
joopm |
i would like to asking you if this still valid or totally changed in 3 : |
# |
Apr 13th 2018, 16:17 |
joopm |
hello all |
# |
Apr 13th 2018, 15:53 |
neon1024 |
Should be as easy as a custom writer right? |
# |
Apr 13th 2018, 15:53 |
neon1024 |
Has anyone used the friendsofcake/cakephp-upload plugin to upload to two places at the same time? |
# |
Apr 13th 2018, 15:06 |
patsuckow |
Hello everyone, I have question about use “Migrations” (Need Help) - https://discourse.cakephp.org/t/question-about-use-migrations-need-help/4166 |