
JavaScript needs a model layer
Frontend First
00:00
JavaScript and the Rails Ecosystem
JavaScript was using classes a lot like angular og angular was like using classes and we're used to writing with functions. You wouldn't just but like today if if you If you like created a new like moment class to like create a formatter and then you call like format or dot dot format that's what I'm saying. That's my point. It's very clear like I need to have business logic where is it go right? Open the video model and add your business logic about video. So yeah, right exactly so um Yeah, I thought this was interesting to just talk about because You you said you said something when we were talking yesterday and you were like, you know I think
Transcript
Play full episode