3 ms·
My favorite combination for dead simple sites is HandlebarsJS. 1. Render model from your JS object. 2. attach events 3. Change model 4. Go to step 1
by scarface74 7y ago
My favorite combination for dead simple sites is HandlebarsJS.
1. Render model from your JS object.
2. attach events
3. Change model
4. Go to step 1
- minism 7y agoYou're just describing MVC which is essentially what most frameworks contain at their core on some level.
- scarface74 7y agoI 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.