Log message #4219354

# At Username Text
# Dec 18th 2019, 10:17 challgren @gianmarxgagliardi do you use PHPStorm or VS?
# Dec 18th 2019, 10:17 gianmarxgagliardi having said that I can only thank you for the support you have given me
# Dec 18th 2019, 10:17 challgren @gianmarxgagliardi what helped me with cake was doing the blog demo and then just mashing together what I wanted to get done
# Dec 18th 2019, 10:15 gianmarxgagliardi that's why I turn to you. I hope I have been too harassing
# Dec 18th 2019, 10:15 neon1024 Oh right, okay :)
# Dec 18th 2019, 10:15 gianmarxgagliardi the others program in procedural php even with objects
# Dec 18th 2019, 10:14 gianmarxgagliardi I am the only one who develops in cakephp in my company or rather who uses mvc patterns
# Dec 18th 2019, 10:13 gianmarxgagliardi they had an old cakephp 2.x project which they hoped would recycle
# Dec 18th 2019, 10:12 neon1024 Do other people in your company use CakePHP?
# Dec 18th 2019, 10:12 neon1024 Did they have a reason for picking CakePHP for you?
# Dec 18th 2019, 10:10 gianmarxgagliardi I didn't know him, I hadn't heard of him. My employer told me to develop a cakephp project
# Dec 18th 2019, 10:09 neon1024 What made you pick CakePHP?
# Dec 18th 2019, 10:09 gianmarxgagliardi I developed some php mashups
# Dec 18th 2019, 10:07 gianmarxgagliardi Yes sure
# Dec 18th 2019, 10:06 neon1024 @gianmarxgagliardi Did you just do basic PHP before you started with an MVC framework?
# Dec 18th 2019, 10:06 neon1024 Then you can specify a field for the value, even an entity accessor method
# Dec 18th 2019, 10:05 slackebot <neon1024>
# Dec 18th 2019, 10:05 neon1024 The key bit being this example
# Dec 18th 2019, 10:05 neon1024 Oh, the docs are defaulting to 4.x
# Dec 18th 2019, 10:04 neon1024 https://book.cakephp.org/4/en/orm/retrieving-data-and-resultsets.html#customize-key-value-output
# Dec 18th 2019, 10:03 neon1024 In that instance the list options can take both key and array value, which could be a callback
# Dec 18th 2019, 10:03 gianmarxgagliardi it doesn't work and I can't find the reference syntax
# Dec 18th 2019, 10:02 gianmarxgagliardi `$trainersUnmated=$this->SeasonTrainers->Trainers->find('list',['nome', 'cognome'])->notMatching('SeasonTrainers');`
# Dec 18th 2019, 10:02 gianmarxgagliardi for example now I can't find a way to select two fields from a linked table.
# Dec 18th 2019, 10:02 gianmarxgagliardi with the documentation I have some difficulties as to how it is set up. most likely it's my problem
# Dec 18th 2019, 09:59 gianmarxgagliardi @neon1024first experience with patterns MVC. I don't find myself much with syntax and documentation. thank god this group exists.
# Dec 18th 2019, 09:54 neon1024 @gianmarxgagliardi How are you getting on with CakePHP now that you’ve been using it for a while? Do you find any parts of the framework hard to understand or use?
# Dec 18th 2019, 09:15 gianmarxgagliardi :persevere:
# Dec 18th 2019, 09:14 gianmarxgagliardi I solved it. it was enough to change `find('list')` with `find('all')`
# Dec 18th 2019, 09:04 neon1024 @kaliel I’d say to have a look at the phpleague/flysystem
# Dec 18th 2019, 09:04 neon1024 Morning everyone
# Dec 18th 2019, 08:58 kaliel Now that File and Folder are deprecated, what di you guys suggest for file handling ?
# Dec 18th 2019, 08:53 gianmarxgagliardi how can I retrieve name or other fields from linked tables if I only have ID? is there no way to get behind all the other fields of the linked table?
# Dec 18th 2019, 08:50 gianmarxgagliardi you are there ?
# Dec 18th 2019, 08:43 gianmarxgagliardi there is no way to be able to hook transmit id to the "trainer" or "clubs" table maybe in the template / add.ctp?
# Dec 18th 2019, 08:42 eax Actually, nevermind! I had switched some arguments! :)
# Dec 18th 2019, 08:41 javier.villanueva morning all
# Dec 18th 2019, 08:35 gianmarxgagliardi all the same as before
# Dec 18th 2019, 08:34 gianmarxgagliardi it works
# Dec 18th 2019, 08:34 ashish_onmobile and see if it works
# Dec 18th 2019, 08:34 ashish_onmobile try to go your page.