I’m building a site for a client that is comprised all of static content, meaning it’s not a web app in the sense that it won’t involve any user interaction and manipulation of data on the site itself.
With that being said, the UI is quite complex and will certainly end up being very JavaScript-heavy, so I wanted to utilize a JS framework.
I’ve done a bunch of research and found plenty of examples of Backbone.js being used for highly-interactive web apps, also with extensive UI, but I was wondering if it would be a good choice for my situation as well. It appears it still would be, given my UI requirements, but I’m wondering I’d other people have had success using it in instances similar to mine.
And if it isn’t a good fit, are there any other recommendations?
I have recently written a one page web app with no server side functionality using the great backbone boilerplate.
Regardless of having explicit models from the server to manage sync, you can still apply the methodology to UI. For example an app that I have been working on recently had some very complex functionality/interactions with images. It was extremely useful model the images (with some meta data such as dimensions, captions etc etc) with Backbone, save them in a collection and tie the model/collection to my Backbone views. It makes the UI logic really easy to maintain, update, reuse and unit test.
With the boilerplate you also get a great build process, linting and some pointers for unit testing etc.