This video shows how to build JavaScript only web parts using a framework I’ve been working on for the last while. Please note that the framework is not production ready at this point, it is presented as a reference implementation only.
Some of the code shown in this video comes from a blog post entitled Build Custom Web Part Properties with JSOM by Rachid Bouzalmat. I was on a similar path before seeing Rachid’s post. My biggest hurdle was trying to figure out a good way to persist the property values. His idea of using the native persistence model of the script editor web part was a brilliant one so I adopted it for my framework.
Rachid’s Blog Post
http://vxcompany.com/kennis/blog/2014/10/02/build-custom-web-part-properties-jsom/
Advanced SharePoint WebPart Development
http://t.co/sk6z0A20Mm
great