KnockoutJS by Example

Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 30. September 2015
  • |
  • 268 Seiten
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78355-043-2 (ISBN)
Develop rich, interactive, and real-world web applications using knockout.jsAbout This BookMaster the full range of features provided by knockout.js such as declarative binding, automatic refresh, dependency tracking, and templating using this project based guideTackle real-world problems such as page navigation, forms, composite UI components, maps integration, server interaction for CRUD operations, and application securityDiscover the power of knockout.js as you build applications with complexity ranging from beginner to advancedExtend and customize knockout.js to harness its full potentialIntegrate with third party libraries and APIs to build fully featured applicationsWho This Book Is ForThis book is intended for designers and developers who want to learn how to use Knockout to develop rich, interactive, and modular web applications. The book assumes no prior knowledge of the Knockout library but basic familiarity with HTML, CSS, and JavaScript would be helpful.What You Will LearnExplore the basic concept behind the Model-View-View Model (MVVM) design pattern and how it is implemented by knockout.jsDevelop a modular application skeleton based on the Module Pattern that can be used as a template for your projectsUse knockout.js with other libraries and APIs, such as JQuery, Bootstrap, and the Google Maps API, to give your users a richer experienceCreate real-world dynamic web forms to capture user information and learn how knockout.js makes it easier to capture, validate, and submit form dataDevelop and use dynamic UI components such as grids, tabs, master details view, and wizardsExtend knockout.js to add custom extenders, binding handlers, subscribers, and observablesSecure your single page application using token-based authenticationIn DetailKnockoutJS By Example is a project-based guide that introduces the key features and concepts of knockout.js. It helps you create an application skeleton and a Hello World application. You will develop a To-Do list application that aims to show the basic features of knockout.js in action, such as data binding and observables, following which you will develop a dynamic online customer registration form that captures and validates customer information. This book will further walk you through developing a customer banking portal, which demonstrates the use of knockout.js with components such as navigation bars, tabs, carousels, master details view, panels, forms, and wizards. You will also discover how to use token-based authentication and authorization to secure the customer banking portal, and move on to creating an editable products grid with CRUD operations. Finally, you will explore how to use the Google Maps API with knockout.js.KnockoutJS By Example will not only leave you with a basic understanding of knockout.js fundamentals but also take you through some of the advanced features. It will help you get a web application up and ready instantly.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
978-1-78355-043-2 (9781783550432)
1783550430 (1783550430)
weitere Ausgaben werden ermittelt
Adnan Jaswal is technologist with vast knowledge and experience in technology consultancy, solution architecture, and software development. He has designed and developed software for government, education, financial, cyber security, logistics, and aviation industries. He believes in the digital revolution and the power it possesses to change the way people and businesses interact with technology. He is passionate about JavaScript technologies and views them as an enabler of digital change.
He has worked for companies such as CA Technologies and Object Consulting. He currently works, as a manager, for one of the big four professional services networks. His role involves technology consulting, architecting, leading teams, developing software, and helping clients respond to digital disruption.
He lives in Melbourne, Australia, with his wife and two children. He can be found on LinkedIn at
  • Cover
  • Copyright
  • Credits
  • About the Author
  • Acknowledgment
  • About the Reviewers
  • Table of Contents
  • Preface
  • Chapter 1: Getting Started
  • Understanding the MVVM design pattern
  • The model
  • The view model
  • The view
  • The key features of Knockout
  • Declarative bindings
  • Automatic UI refresh
  • Dependency tracking
  • Templating
  • Understanding the module pattern and its use with Knockout
  • The concept
  • Public and private members
  • Initializing the module
  • Using the module with view model
  • Building the address book application
  • A word on the development environment
  • Downloading the libraries
  • Creating the skeleton
  • Adding the application features
  • Capturing and storing contacts
  • Displaying contacts
  • Adding style to your application with Bootstrap
  • Resources
  • Summary
  • Chapter 2: Creating a To-do List Application
  • Creating the skeleton
  • Adding and viewing tasks
  • Deleting a task
  • Completing a task
  • Setting priority for a task
  • Sorting tasks by priority and name
  • Viewing the number of total and completed tasks
  • Summary
  • Chapter 3: Creating an Online Customer Registration Form
  • Getting started
  • Capturing personal information
  • Capturing contact details
  • Capturing residential and postal addresses
  • Capturing credit card details
  • Capturing interests
  • Clearing the registration form
  • Summary
  • Chapter 4: Adding Validation to the Customer Registration Form
  • Validating the model using Knockout extenders
  • Validating model using the Knockout validation plugin
  • Getting started
  • The basics
  • Validating personal information
  • Validating contact details
  • Validating address details
  • Validating credit cards
  • Summary
  • Chapter 5: Creating a Customer Banking Portal
  • Creating the skeleton
  • Navigating between application features
  • Viewing contact details and information about the bank
  • Viewing accounts
  • Viewing transactions for an account
  • Viewing personal information
  • Summary
  • Chapter 6: Enhancing the Customer Banking Portal
  • Updating personal information
  • Cancel updating the personal information
  • Validating personal information
  • Transferring funds between accounts
  • Creating the Transfers tab
  • Creating the wizard component
  • Adding functionality to the wizard
  • Summary
  • Chapter 7: Securing the Customer Banking Portal
  • Authentication mechanisms
  • Basics of the token-based authentication
  • Token versus session in cookies
  • JSON Web Token
  • Logging in to the application
  • Creating the authentication module
  • Creating the login screen
  • Refactoring the BankPortal module
  • Testing the application using different user accounts
  • Validating the login form
  • Handling the authentication error
  • Displaying the logged in user
  • Logging out of the application
  • Summary
  • Chapter 8: Building an Editable Products Grid with CRUD Operations
  • A word on REST
  • Installing and running the sever
  • Creating the skeleton
  • Displaying the list of products
  • Deleting a product
  • Adding a product
  • Updating a product
  • Summary
  • Chapter 9: Using Google Maps APIs with Knockout
  • Creating the skeleton
  • Capturing address using autocomplete
  • Displaying address details
  • Rendering the map
  • Placing markers on the map
  • Displaying route between markers
  • Summary
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)


Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.

Download (sofort verfügbar)

35,85 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok