< Previous | Next >

Tutorial: Create a loan payment calculator with Dojo

Learn how to create a Dojo-based loan payment calculator.

Learning objectives

The calculator accepts three pieces of input: loan amount, interest rate, and term. It outputs the monthly payment, a pie chart displaying the percentage of loan costs going towards principal and interest, and an amortization table. There is no submit button because the output fields are updated in real time as users enter or change input. In this tutorial you learn how to:
  • Create a Dojo-enabled web application to contain all the resources required by your application.
  • Create a user interface with these Dojo widgets:
    • A Dojo layout widget to define the placement of objects on the web page
    • A Dojo custom widget to calculate and display monthly payments
    • A pie chart to display a breakdown of loan costs
  • Use content assist, templates, and wizards to write Dojo code and HTML
  • Deploy your project to a server
  • Create a custom Dojo build to optimize your application
  • Debug your web application using Firebug

Time required

This tutorial should take approximately 30 minutes to finish. If you explore other concepts related to this tutorial, it could take longer to complete. You can also import the completed solution for the tutorial found at the end of lesson 6 .
< Previous | Next >
Icon that indicates the type of topic Tutorial topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: loan_abstract.html