Book Image

Knockout.JS Essentials

Book Image

Knockout.JS Essentials

Overview of this book

Table of Contents (16 chapters)
KnockoutJS Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, you have learned how to manage events using Knockout and jQuery. You have learned how to combine both technologies to apply different techniques depending on the requirements of your project. We can use declarative paradigms to combine event attaching, bindingHandlers and HTML markup, or we can isolate events in the JavaScript code using jQuery events.

In the next chapter, we will address the issue of communicating with the server. You will learn how to validate the input from the user to be sure that we send clean and proper data to the server.

Also we will go through mocking techniques to fake the data server-side. Using mock libraries will help us to develop our frontend application without the necessity for a full operative server. In order to send an AJAX request, we will get a very simple server to run our application because browsers don't allow local AJAX requests by default.

Remember that you can check the code for this chapter at GitHub:

https://github.com...