Click here to Skip to main content
15,881,852 members
Articles / Programming Languages / Java

A Simple Tutorial on RequireJS

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
10 Feb 2020MIT13 min read 12.4K   160   6  
This tutorial will introduce the basics needed to use RequireJS to build modularized web applications with JavaScript.
This tutorial gives a basic rundown of how RequireJS can be used to implement web application via components and dependency injection. The sample application is simple, has a form, seven input fields, and two buttons for submitting and resetting the forms. When submitting the form, the field validations are done, and either an error status display or a success status display will be shown. The status display is extracted as a reusable component. This tutorial shows how all these can be pieced together.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Team Leader The Judge Group
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions