X

Geertjan's Blog

  • June 2, 2015

Enterprise Web Development with Solid Knockout (Part 1)

Geertjan Wielenga
Product Manager

Solid Knockout is a template that encapsulates best practices for enterprise Knockout.js applications.

Essential to enterprise applications is modularity. Require.js is a popular solution for modularity in JavaScript applications.

Wiring up a Knockout.js application with Require.js is not a trivial task. Rather than figuring out how to include Require.js late in the development cycle, it makes sense to have a modular application from the start. That's the reason for Solid Knockout. It has Require.js included, with CSS classes from Bootstrap for providing a basic header and footer, each of which is a Require.js module, consisting of a JavaScript file and an HTML file.

The screenshot below shows you the structure you get out of the box with Solid Knockout.

When you run the application, you see this, i.e., you see the following header and footer, which you can customize and extend however you like, and then add the domain-specific application content in the main part of the page:


Solid Knockout can be found here:

https://github.com/GeertjanWielenga/SolidKnockout/

Note: Go here to continue to part 2, where you'll learn how to add data via RESTful Web Services to the application.

Join the discussion

Comments ( 1 )
  • Web development Houston Tuesday, August 18, 2015

    thaks for post, it is useful for me


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.