What I would like is someone to tell me if I’m going the right way with this. I’m more used to serverside programming, and when I do design on the frontend, I usually use Angular. I wanted to try code a simple SPA using jQuery, but I’m not sure if my templating code is too brittle. I tried to make it as generic as possible, but as I said, I’m more used to Angular and it’s MV* architecture. In general, I always felt that jQuery is great for small scale DOM manipulation, but I have a hard time building generic templates for reuse with it.
Any feedback is appreciated,