Free Sample
+ Collection

Learning JavaScriptMVC

Wojciech Bednarski

Learn to build well-structured JavaScript web applications using JavaScriptMVC
RRP $14.99
RRP $24.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782160205
Paperback124 pages

About This Book

  • Install JavaScriptMVC in three different ways, including installing using Vagrant and Chef
  • Document your JavaScript codebase and generate searchable API documentation
  • Test your codebase and application as well as learning how to integrate tests with the continuous integration tool, Jenkins


Who This Book Is For

This book is for anyone who is interested in developing small- and mid-size web applications with the JavaScriptMVC framework, which is based on the most popular JavaScript library – jQuery.
Readers should be familiar with JavaScript, browser APIs, jQuery, HTML5, and CSS.

Table of Contents

Chapter 1: Getting Started with JavaScriptMVC
What is JavaScriptMVC?
Why JavaScriptMVC?
System architecture approach
Real-world examples
Installing JavaScriptMVC
Documentation and API
The architecture of JavaScriptMVC
Building simple applications
Chapter 2: DocumentJS
How does DocumentJS work?
Writing the documentation
Generating the documentation
Chapter 3: FuncUnit
Creating tests
Running tests
Chapter 4: jQueryMX
DOM helpers
Special events
Language helpers
Chapter 5: StealJS
Dependency management
Code cleaner
Concatenation and compression
Chapter 6: Building the App
Time tracking and invoicing for freelancers

What You Will Learn

  • Install JavaScriptMVC in three different ways
  • Document JavaScript codebase and generate searchable API documentation using DocumentJS
  • Write unit tests using QUnit test framework
  • Integrate test framework with the Jenkins continuous integration tool
  • Work with a Model–View–Controller architectural web application
  • Create and deploy a web application

In Detail

JavaScriptMVC is a client-side, JavaScript framework that builds maintainable, error-free, lightweight applications as quickly as possible. As it does not depend on server components, it can be combined with any web service interface and server-side language.

"Learning JavaScriptMVC" will guide you through all the framework aspects and show you how to build small- to mid-size well-structured and documented client-side applications you will love to work on.

This book starts from JavaScriptMVC installation and all its components are explained with practical examples. It finishes with an example of building a web application. You will learn what the JavaScriptMVC framework is, how to install it, and how to use it efficiently.

This book will guide you on how to build a sample application from scratch, test its codebase using unit testing, as well as test the whole application using functional testing, document it, and deploy the same. After reading Learning JavaScriptMVC you will learn how to install the framework and create a well-structured, documented and maintainable client-side application.


Read More