Learning JavaScriptMVC
Formats:

save 15%!
save 37%!

Also available on: |
![]() ![]() ![]() ![]() ![]() |
- 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
Book Details
Language : EnglishPaperback : 124 pages [ 235mm x 191mm ]
Release Date : May 2013
ISBN : 1782160205
ISBN 13 : 9781782160205
Author(s) : Wojciech Bednarski
Topics and Technologies : All Books, Web Development, Web Development, Web Development, Open Source, Web Development
Table of Contents
PrefaceChapter 1: Getting Started with JavaScriptMVC
Chapter 2: DocumentJS
Chapter 3: FuncUnit
Chapter 4: jQueryMX
Chapter 5: StealJS
Chapter 6: Building the App
Index
- Chapter 1: Getting Started with JavaScriptMVC
- What is JavaScriptMVC?
- License
- Links
- Why JavaScriptMVC?
- System architecture approach
- JavaScriptMVC single-page application
- Advantages
- Downsides
- Real-world examples
- Installing JavaScriptMVC
- Choosing your method
- Which method is right for me?
- The first method – download the package
- The second method – pull the code from Git repositories
- The third method – vagrant
- Documentation and API
- The architecture of JavaScriptMVC
- DocumentJS
- FuncUnit
- jQueryMX
- StealJS
- Dependency management
- Concatenation and compression
- Logger
- Code generator
- Package management
- Code cleaner
- Building simple applications
- Todo list
- Loader
- Model
- Fixtures
- View
- Controller
- Routing
- Complete application code
- Summary
- Chapter 2: DocumentJS
- How does DocumentJS work?
- Writing the documentation
- Type directives
- Tag directives
- Generating the documentation
- Summary
- Chapter 3: FuncUnit
- Creating tests
- Module
- Open
- Test
- Ok
- S
- Running tests
- Web browser
- Selenium
- PhantomJS
- EnvJS
- Integration
- Summary
- Chapter 4: jQueryMX
- $.Class
- The first parameter
- The second parameter
- The third parameter
- Method override
- Life cycle
- $.Model
- $.View
- Embedded
- External
- Sub-templates
- $.Controller
- DOM helpers
- $.cookie
- $.fn.compare
- $.fn.selection
- $.fn.within
- $.Range
- $.route
- Special events
- $.Drag and $.Drop
- Language helpers
- $.Object
- same
- $.Observe
- $.String
- deparam
- $.toJSON
- $.Vector
- Summary
- Chapter 5: StealJS
- Dependency management
- Logger
- Code cleaner
- Concatenation and compression
- Summary
- Chapter 6: Building the App
- Time tracking and invoicing for freelancers
- Planning
- Preparing wireframes
- Setup project
- Tracking changes under VCS
- Application structure
- IndexedDB
- Creating models
- Creating controllers
- Creating views
- Creating a bootstrap
- Running the application
- Summary
Wojciech Bednarski
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- 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
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.
"Learning JavaScriptMVC" is a practical guide to learn about developing web applications with JavaScriptMVC.
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.