Log message #4200224

# At Username Text
# Aug 28th 2019, 15:35 neon1024 Or would it be a matter of `newEntity($allTheEmptyFieldsArray)`
# Aug 28th 2019, 15:35 neon1024 When creating a `newEntity` is it possible to add all the empty associations? I’m returning it via a JSON web service to Javascript
# Aug 28th 2019, 15:05 ricksaccous that's pretty handy, i need to get some more js chops because while i feel pretty decent at jquery i feel like if i'm pretty much doing a single page app it gets harder to organize things
# Aug 28th 2019, 15:01 alexdd55976 @ricksaccous what vue does amazingly for me is: watching changes to json objects. you can do amazing things with it, which makes data reloading very convienient without any views or html replace and stuff
# Aug 28th 2019, 14:32 ricksaccous alright, i'll look into those things
# Aug 28th 2019, 14:32 neon1024 Didn’t get to that yet either
# Aug 28th 2019, 14:32 neon1024 I keep meaning to try https://www.pika.dev/
# Aug 28th 2019, 14:32 neon1024 You don’t *have* to build it, if you have a browser which supports ES6 Modules, but if you want cross-browser it’s best to build using something like Webpack or Browserify etc
# Aug 28th 2019, 14:31 neon1024 The main difference is that it’s built, so you kind of need to learn a build tool also. I use Webpack
# Aug 28th 2019, 14:30 ricksaccous thanks that's helpful
# Aug 28th 2019, 14:30 neon1024 Then I found a course on UDemy
# Aug 28th 2019, 14:30 ricksaccous and elements that arent' part of the main form but affect the main form
# Aug 28th 2019, 14:30 neon1024 I started here, if you want to :bookmark: https://laracasts.com/series/learn-vue-2-step-by-step
# Aug 28th 2019, 14:30 ricksaccous I'm still trying to use cake form validation throughout the whole form so I pretty much have a lot of buttons that do not act as submit buttons throughout and are all controlled by jquery submit event
# Aug 28th 2019, 14:29 ricksaccous in case i run into something like this again, but hopefully i have enough time to change this all up
# Aug 28th 2019, 14:29 ricksaccous i see i suppose i might have to learn it in my spare time
# Aug 28th 2019, 14:29 neon1024 Yeah, sounds like Vue would be helpful for that
# Aug 28th 2019, 14:29 ricksaccous you select a hospital, it determines case contacts, it determines services available, it determines what fields show/hide etc
# Aug 28th 2019, 14:29 neon1024 I’m building a dynamic form builder with add and remove fields, drag and drop, all that jazz
# Aug 28th 2019, 14:28 ricksaccous basically one selection affects many
# Aug 28th 2019, 14:28 neon1024 Although I agree with @admad if you want to pull data and do lots of JS things to it, it’s a big help
# Aug 28th 2019, 14:28 ricksaccous i'm doing a lot throughout the page
# Aug 28th 2019, 14:28 admad *your
# Aug 28th 2019, 14:28 ricksaccous yeah, I'll have to talk with the team about it and they probably won't be too enthusiastic about it, we'll see
# Aug 28th 2019, 14:28 admad if you js is pulling json then more so
# Aug 28th 2019, 14:28 neon1024 @ricksaccous It depends how much data and dom manipulation you’re dong I’d say
# Aug 28th 2019, 14:27 admad @ricksaccous i would
# Aug 28th 2019, 14:27 admad sometimes having one defacto tools instead of choices is also good
# Aug 28th 2019, 14:27 ricksaccous at this point i'm not sure i have a choice since i pretty much got one portion done
# Aug 28th 2019, 14:27 ricksaccous @neon1024 i have a page that's heavy in jQuery with a lot of ajax calls, would you recommend learning vue and refactoring?
# Aug 28th 2019, 14:26 admad :slightly_smiling_face:
# Aug 28th 2019, 14:26 neon1024 Been doing Vue.js last week and so far this week, so mostly ES Lint
# Aug 28th 2019, 14:26 neon1024 Yes, I read the github page, but that was as far as i got with it
# Aug 28th 2019, 14:25 admad @neon1024 you need more psalm in your life
# Aug 28th 2019, 14:25 ricksaccous on CakePHP as it is in Laravel, Amen
# Aug 28th 2019, 14:24 neon1024 Forgive us our daily bugs, and deliver us from PHP Stan
# Aug 28th 2019, 14:24 admad @neon1024 true. things were simpler in the old days, you could just label it as mental disorder :P
# Aug 28th 2019, 14:24 koeller typo ^^
# Aug 28th 2019, 14:24 neon1024 Hallowed be thy docblocks
# Aug 28th 2019, 14:24 koeller :P
# Aug 28th 2019, 14:24 ricksaccous forever shall you use your IdeHelper powers for good and not evil