Log message #4202956

# At Username Text
# Sep 12th 2019, 22:57 sdevore looking in composer.lock I am running ` "version": "3.20.2"` (composer.php has “cakephp/debug_kit”: “~3.0",)
# Sep 12th 2019, 22:54 challgren Did you upgrade debugkit?
# Sep 12th 2019, 22:49 slackebot problem with __debuginfo() when viewing in phpstorm is making it hard for me to track down. Any one have any ideas on how to track these issues down?
# Sep 12th 2019, 22:49 sdevore I just upgraded a client project from 3.6.x to 3.7.x and I am seeing a lot of places where I am getting errors for nesting more then 256 levels that I was not seeing before (I think it is the generation of the Variables DebugKit panel. Was there a change to the way things are marshalled or hashed that is causing this? I don’t get a stack trace reported so I can figure out where it is blowing up. This combined with xDebug seeming to throw
# Sep 12th 2019, 20:29 challgren I wish this could be a bit more descriptive.
# Sep 12th 2019, 16:48 this.impetus lolol I'm saving this to review on a day when I have 30+ minutes to be curious, but thanks
# Sep 12th 2019, 16:48 jh is cakephp 3.5 running on php 7.3 without issues? where can I read about it or find out?
# Sep 12th 2019, 16:44 jh https://www.google.com/search?client=firefox-b-dandq=declarative+shadow+dom ... missing feature
# Sep 12th 2019, 16:43 jh one of the best things happening to css for a long time
# Sep 12th 2019, 16:43 jh no joke.
# Sep 12th 2019, 16:43 jh read this for more happyness: https://github.com/w3c/csswg-drafts/issues/2143
# Sep 12th 2019, 16:43 jh (and you could group concat within SQL to fetch nested data in one query say json encoded... and then unfold the returned data struct of addresses in your application... more complex, little gain)
# Sep 12th 2019, 16:42 jh (in theory in sql you can do all in one query but then you get duplications for the primary query... aka 10 user rows with the same user data for 10 different addresses of the same user)
# Sep 12th 2019, 16:41 this.impetus right. k. thanks
# Sep 12th 2019, 16:41 jh user hasMany addresses - you need to fetch all the addresses based on the foreign key so you need a separate query
# Sep 12th 2019, 16:40 jh user hasOne profile - you can get the profile fields in the same row as the user data
# Sep 12th 2019, 16:40 jh for hasOne or belongsTo you can return the associated data in the same table as it is only one line per association
# Sep 12th 2019, 16:40 jh because every query only returns one "table"
# Sep 12th 2019, 16:40 jh if it is hasMany it has to run another query
# Sep 12th 2019, 16:39 jh if it is hasOne or belongsTo it can be done via a JOIN aka same query
# Sep 12th 2019, 16:39 this.impetus HasMany, here
# Sep 12th 2019, 16:39 jh @this.impetus it depends on the type of association
# Sep 12th 2019, 16:39 jh if that was the case you could do that by widget on your website
# Sep 12th 2019, 16:39 this.impetus Quick syntactic question; is this three queries ``` contain('Services', 'Services.Institutions' => ['fields'=> ['title']], 'Services.Serviceroles' => ['fields'=> ['title']])``` or is that just elaborating on exactly how I want `Services` and it's associations contained?
# Sep 12th 2019, 16:38 jh now sadly there are no declarative shadow doms
# Sep 12th 2019, 16:38 jh creating reset and default stylesheets that never annoy you
# Sep 12th 2019, 16:38 jh you can basicall define defaults that have 0 specificity
# Sep 12th 2019, 16:38 jh https://github.com/w3c/csswg-drafts/issues/2143
# Sep 12th 2019, 16:38 jh here is something that will mean you can drop a lot of the preprocessing
# Sep 12th 2019, 16:37 this.impetus we are all sinners on this Earth
# Sep 12th 2019, 16:36 jh SCSS i hope :P
# Sep 12th 2019, 16:36 jh SASS :(
# Sep 12th 2019, 16:36 this.impetus haha inoas you are vastly overestimating my knowledge brother. talk to me about SASS frameworks and I can dance.
# Sep 12th 2019, 16:36 jh there is also lazy association loading plugin which would fire queries once you access associations of entities on the fly
# Sep 12th 2019, 16:35 jh for reference Rails's arel works the same pretty much afair
# Sep 12th 2019, 16:35 this.impetus thanks! I mean I don't know if I'm going to make use of that today, but that's a paradigm-shifting insight (to me).
# Sep 12th 2019, 16:35 this.impetus oh!
# Sep 12th 2019, 16:35 this.impetus oooooh
# Sep 12th 2019, 16:35 jh until you do that you can continue to build the query object, adding more finders, adding more conditionals etc
# Sep 12th 2019, 16:34 jh foreach, or toArray()
# Sep 12th 2019, 16:34 jh @this.impetus so the query builder in cakephp builds some object that then is converted to vendor specific (mariadb, postgres, etc) sql code and executed once you want to access data out of it