13.4. Summary

We have extended our message creation and WYSIWYG capabilities by giving the user the ability to create a message from a template. The templates are simply pre-made content pieces that populate the WYSIWYG editor. We defined some system/global templates that would be accessible to all users, but we also created the framework to enable users to create and reuse their own templates.

We did all this using some neat jQuery tricks and again have shown the power that is available to us through jQuery as well as the usefulness of a full suite of automated unit tests.

Get ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.