If you teach web development, you may want to use our tutorials with the complete source code of 5 example apps that deal with constraint validation, association management and class hierarchies: http://web-engineering.info/JsFrontendApp