Learning JavaScriptMVC


Learning JavaScriptMVC
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
$12.74
save 15%!
Print + free eBook + free PacktLib access to the book: $39.98    Print cover: $24.99
$24.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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 : English
Paperback : 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

Preface
Chapter 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

              Wojciech Bednarski is a software engineer with expert knowledge of client-side technologies. He is passionate about JavaScript, Node.js, HTML5, Ruby, NoSQL, and POSIX-compliant systems.

              While at university he started taking up freelance jobs and was obsessed by web accessibility and usability as well as web standards.

              Then, he moved to Warsaw where he started working as a web developer at eo Networks, which is recognized as one of the 50th fastest growing company in Central Europe.

              He then started work at Roche, one of the largest pharmaceutical companies in the world, where he worked on large scale web-based systems as well as conducted workshops and technical seminars. He was recognized with an Informatics Service Award in the category of Innovation.

              He then moved to Copenhagen and started work at YouSee, the subsidiary of TDC, the biggest Danish telecom company, where he programmed set top boxes. He won Copenhagen Startup Weekend and also began the Everplaces startup.

              At the time of writing this book, he is a consultant for a New York-based company working on the next big thing you will use. He works from different places and lives with his beautiful wife and two black cats. He also loves taking pictures, you can have a sneak peek at www.pixmod.net. He is also fond of driving sports cars and traveling.

              You can visit his professional profile at www.linkedin.com/in/bednarski/ or you can follow him on Twitter @wbednarski.

              Sorry, we don't have any reviews for this title yet.

              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.

              Frequently bought together

              Learning JavaScriptMVC +    Augmented Reality with Kinect =
              50% Off
              the second eBook
              Price for both: $21.95

              Buy both these recommended eBooks together and get 50% off the cheapest eBook.

              What you will learn from this book

              • 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.

              Approach

              "Learning JavaScriptMVC" is a practical guide to learn about developing web applications with JavaScriptMVC.

              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.

              Code Download and Errata
              Packt Anytime, Anywhere
              Register Books
              Print Upgrades
              eBook Downloads
              Video Support
              Contact Us
              Awards Voting Nominations Previous Winners
              Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
              Resources
              Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software