# |
Feb 10th 2020, 14:10 |
challgren |
Anyone play with icings/menu? |
# |
Feb 10th 2020, 14:09 |
ndm |
@spriz My understanding was that the lock file is used for calculating diffs, ie not for applying migrations |
# |
Feb 10th 2020, 14:01 |
spriz |
Hmm - I'd guess it fetches state from the phinx table anyway |
# |
Feb 10th 2020, 14:00 |
ndm |
@spriz Don't have one at hand... I'd think it's the same as with other lock files, you want to start from a specific state. |
# |
Feb 10th 2020, 13:59 |
pieceof |
i never use contraints at bd level for web apps, control all with code, mysql is buggy |
# |
Feb 10th 2020, 13:59 |
spriz |
I just want to know what I'm missing out on :) |
# |
Feb 10th 2020, 13:59 |
spriz |
:) do you happen to have a link for that as well? We never comitted it and haven't had problems in a the few years of using it :) :) |
# |
Feb 10th 2020, 13:58 |
ndm |
Now that's a totally different question :upside_down_face: |
# |
Feb 10th 2020, 13:58 |
javier.villanueva |
: D |
# |
Feb 10th 2020, 13:58 |
spriz |
@ndm for some reason this issue does not explain to me *why* it should be comitted :) |
# |
Feb 10th 2020, 13:56 |
damiano |
thanks @spriz!! |
# |
Feb 10th 2020, 13:56 |
ndm |
https://github.com/cakephp/migrations/issues/252 |
# |
Feb 10th 2020, 13:54 |
javier.villanueva |
In Migrations... I should add schema-dump-defaul.lock to gitignore? |
# |
Feb 10th 2020, 13:54 |
spriz |
this will work out https://gist.github.com/Spriz/08e8a98c60cc085bf8b02f1ecd8d0685 ) |
# |
Feb 10th 2020, 13:52 |
spriz |
it returns a ` Cake\View\ViewBuilder` instance |
# |
Feb 10th 2020, 13:52 |
spriz |
https://api.cakephp.org/3.8/class-Cake.Mailer.Mailer.html#_viewBuilder |
# |
Feb 10th 2020, 13:52 |
spriz |
`viewBuilder()` fucks it up :) |
# |
Feb 10th 2020, 13:50 |
damiano |
why?? |
# |
Feb 10th 2020, 13:50 |
slackebot |
`->setTemplate('Frontend.conferma');` `//->setLayout('fancy')` `$mailer->deliver();` |
# |
Feb 10th 2020, 13:50 |
damiano |
`$mailer = new Mailer('default');` `$mailer = $mailer` `->setEmailFormat('html')` `->setSender('xxxx@xxxxx.com', 'xxxx')` `->setFrom(['xxxx@xxxxx.com' => 'xxxx'])` `->setTo($to)` `->setTo('x@otheraccount.com')` `->setViewVars(['data' => $data])` `->setSubject('text foo')` `->viewBuilder()` |
# |
Feb 10th 2020, 13:50 |
damiano |
hello, i get this error: Call to undefined method Cake\View\ViewBuilder::deliver() when i do : |
# |
Feb 10th 2020, 13:42 |
spriz |
Myself I've never seen the real value of it in my daily Cake work - but I've loved having all logic in app-level, and I've not yet had performance issues with it anyway |
# |
Feb 10th 2020, 13:41 |
spriz |
Hey mariadb/mysql peeps! Do you usually add relations in mysql/mariadb tables as well as in the app code? :) Why? Why not? |
# |
Feb 10th 2020, 13:02 |
david |
thank you @javier.villanueva, I realized... |
# |
Feb 10th 2020, 13:02 |
javier.villanueva |
https://book.cakephp.org/3/en/orm/saving-data.html#validation-and-patchentity |
# |
Feb 10th 2020, 13:01 |
david |
ouch... I was reading the 2.X documentation instead of 3.x |
# |
Feb 10th 2020, 12:59 |
david |
I am trying to save without validation, using this: $this->Model->save($entity, ['validate' => false]) I have tried with this too: $this->Model->save($entity, false) But validation is triggered in both cases. Am I doing something wrong? |
# |
Feb 10th 2020, 12:57 |
david |
Morning |
# |
Feb 10th 2020, 12:12 |
lpj145 |
yes i know. |
# |
Feb 10th 2020, 12:12 |
lpj145 |
first fact about issue, cakephp continue to evolve on way like full framework, at this time, many developers, business is changing way, micro, realtime, stream, nothing this can be found on cakephp.. |
# |
Feb 10th 2020, 12:11 |
rochasmarcelo |
By the way are you familiar with https://github.com/FriendsOfCake/awesome-cakephp? |
# |
Feb 10th 2020, 12:09 |
lpj145 |
i love so much cakephp, i'm asking about out from here, but, at this time working a plugin to improve apis. |
# |
Feb 10th 2020, 12:09 |
rochasmarcelo |
I think the community is open to opinions and suggestions |
# |
Feb 10th 2020, 12:08 |
rochasmarcelo |
I would like to know more what issues you are having and what things you things CakePHP should have |
# |
Feb 10th 2020, 12:08 |
lpj145 |
is a good time to give opinion... cake core team is open to hear opinions and is new.... |
# |
Feb 10th 2020, 12:07 |
rochasmarcelo |
I have an impression that in Brasil people have used more Facebook groups than slack just because is more common. |
# |
Feb 10th 2020, 12:07 |
lpj145 |
:D |
# |
Feb 10th 2020, 12:06 |
slackebot |
ask to have an easy way to implement an API and there are many good plugins for it. |
# |
Feb 10th 2020, 12:06 |
rochasmarcelo |
Hi @lpj145 it is sad to hear this, I'm also from Brazil. It's okay to have different option about framework and this is a good place to discuss about CakePHP. I see that CakePHP has always focused to help start applications faster and grow consistent, but this may not be good for everyone and it's okay. I would say that many changes people would see in CakePHP or any other framework could be archived using existing or new plugins, some |
# |
Feb 10th 2020, 11:45 |
challgren |
I personally dont see the issue with a checkbox being away from the label, I could see that where there is multiple but not on an active/inactive |
# |
Feb 10th 2020, 11:41 |
neon1024 |
They must respect your knowledge as they picked you for the project |