Click here to Skip to main content
15,041,025 members
Articles / Programming Languages / Java

Stats

5.2K views
100 downloads
6 bookmarked

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
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

Downloads

License

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

Share

About the Author

Han Bo Sun
Team Leader The Judge Group
United States United States
No Biography provided

Comments and Discussions