webMethods Business Console Documentation 10.5 | webMethods Business Console Documentation | Developing Gadgets for Business Console | Introduction to Business Console | Using Model View Controller (MVC) in AngularJS
 
Using Model View Controller (MVC) in AngularJS
AngularJS uses the following Model View Controller (MVC) architecture for organizing applications.
*Model for managing data received from a database or from a JSON file.
*View for displaying the model.
*Controller for programming the interaction between the Model and View.
Use the MVC architecture for developing the user interface of a gadget. MVC architecture helps in separating the gadget logic from gadget data and gadget view. For each gadget:
*Create a Model to manage the gadget data and respond to requests from View and instructions from Controller.
*Create a View to display the gadget data.
*Create a Controller to control the interactions between Model and View, receive input, validate input, and perform operations to modify gadget data.

Copyright © 2014-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.