Re:Why is modern web development so complicated?
by minism on Wednesday August 07, 2019 @10:15PM
(#20641218)
You're just describing MVC which is essentially what most frameworks contain at their core on some level.
Re:Why is modern web development so complicated?
by scarface74 on Wednesday August 07, 2019 @10:25PM
(#20641270)
I know. I use server side rendering all of the time - well at least until I got back to my safe place doing back end work. It was one project for $reasons I had to use a very light framework that I could copy paste the entire library into the page. I couldn’t depend on the device having an internet connection. I could also precompile the templates.
1. Render model from your JS object.
2. attach events
3. Change model
4. Go to step 1