# |
Jun 29th 2017, 16:36 |
NobbyNobbs |
requestHandler is enabled |
# |
Jun 29th 2017, 16:36 |
dakota |
Some people only want to write PHP with no html |
# |
Jun 29th 2017, 16:35 |
NobbyNobbs |
Am I doing sth wrong? Tried setting _jsonOptions, but still sends an array (list keys are ids, ergo integers) https://gist.github.com/NobbyNobbs38/de88041865b9a94e590ac1414f0885df |
# |
Jun 29th 2017, 16:29 |
davinci |
I can see `charset()` maybe - so you can control it in some other place later...but this one just seems excessive. |
# |
Jun 29th 2017, 16:29 |
admad |
vanity |
# |
Jun 29th 2017, 16:28 |
davinci |
What's the reason for using `echo $this->Html->docType();` as opposed to just typing it in html |
# |
Jun 29th 2017, 16:01 |
alysson-azevedo |
nvm, it seems so |
# |
Jun 29th 2017, 16:00 |
alysson-azevedo |
probably not |
# |
Jun 29th 2017, 15:51 |
spencdev |
Ah, looks to be `limit => '10,2'` |
# |
Jun 29th 2017, 15:50 |
spencdev |
With migrations, how do you make Decimals like `decimal(10,2)` |
# |
Jun 29th 2017, 15:48 |
daveozoalor |
Whoever recommended Cake's ORM to me, I appreciate. Its amazing. |
# |
Jun 29th 2017, 15:48 |
daveozoalor |
That's true. |
# |
Jun 29th 2017, 15:37 |
neon1024 |
I found building a framework very enlightening, lots of challenges to overcome |
# |
Jun 29th 2017, 15:31 |
daveozoalor |
@neon1024 yes, learning a lot at every step. |
# |
Jun 29th 2017, 15:27 |
hmic |
the CLI will though |
# |
Jun 29th 2017, 15:27 |
neon1024 |
Did you learn any interesting lessons from building it @daveozoalor ? |
# |
Jun 29th 2017, 15:27 |
hmic |
bake will not work for you easily as its quite tightly coupled to the framework |
# |
Jun 29th 2017, 15:27 |
daveozoalor |
@neon1024 its 100% exploratory. And I'm largely done. I just need to bake. |
# |
Jun 29th 2017, 15:26 |
hmic |
i already told you what you need to do. it's really just that! |
# |
Jun 29th 2017, 15:26 |
hmic |
of course its weird ;] |
# |
Jun 29th 2017, 15:26 |
daveozoalor |
@hmic pls link me to where I can read this up |
# |
Jun 29th 2017, 15:26 |
cleptric |
Yeah, but that’s not ideal |
# |
Jun 29th 2017, 15:25 |
hmic |
cleptric: it can still be used in a non-cakephp app, if you require cakephp |
# |
Jun 29th 2017, 15:25 |
hmic |
your requirements are getting more and more weird as you go on... |
# |
Jun 29th 2017, 15:24 |
cleptric |
As I said before, we don’t have a single shell package. It’s still part of the whole cakephp core and can’t used separately. |
# |
Jun 29th 2017, 15:24 |
neon1024 |
Is this a paid project or academic? |
# |
Jun 29th 2017, 15:24 |
daveozoalor |
@neon1024 the project is the PHP framework. |
# |
Jun 29th 2017, 15:23 |
daveozoalor |
@cleptric pls link me to cake CLI |
# |
Jun 29th 2017, 15:23 |
hmic |
or do you want to write the bake process for your other fremawork yourself?! |
# |
Jun 29th 2017, 15:23 |
neon1024 |
I’m curious as to how a project generates a requirement to build a php framework. Can you share with us why this is? |
# |
Jun 29th 2017, 15:23 |
hmic |
baking *is* for a cakephp app specifically |
# |
Jun 29th 2017, 15:23 |
hmic |
well, wait... |
# |
Jun 29th 2017, 15:23 |
daveozoalor |
I'm particular about the CLI features. I need to be baking. |
# |
Jun 29th 2017, 15:23 |
cleptric |
@daveozoalor Just follow my link. The README.md explains everything |
# |
Jun 29th 2017, 15:23 |
hmic |
done. |
# |
Jun 29th 2017, 15:23 |
hmic |
do to your app dir, enter: composer require cakephp |
# |
Jun 29th 2017, 15:22 |
hmic |
but it's still possible and feasable to install cakephp as a requirement in a non-cakephp app and use whatever components without problems. the orm and shell are good candidates |
# |
Jun 29th 2017, 15:22 |
daveozoalor |
Great, do you have a link to where I can read this process up? |
# |
Jun 29th 2017, 15:21 |
hmic |
the orm is split out, sure. the shell things not so much |
# |
Jun 29th 2017, 15:21 |
hmic |
daveozoalor: you can install cakephp as a dependency with composer in any non-cakephp project |
# |
Jun 29th 2017, 15:21 |
cleptric |
There you go: https://github.com/cakephp/orm And don’t build a php framework. We already did that ;) |