js-mvc-framework
v1.3.12
Published
MVC Framework is a Javascript implementation of the Presentation-Abstraction-Control (PAC) Pattern
Downloads
2,240
Readme
[!WARNING]
Early Stage Development
[!CAUTION]
Use At Own Risk
[!NOTE]
Interested in MVC Framework? [email protected]
MVC Framework
Javascript implementation of the Presentation-Abstraction-Control (PAC) Pattern that also supports Model-View-Control (MVC) Patterns.
Features
- Practical web component, web page, or web application use.
- Simplistic configuration.
- Versatile patterning.
- Familiar programming interfaces promote plain Javascript.
- Event management system.
- Modeled content property modifier events, nested events.
- Window Location and Fetch Routers.
Class System
MVC Framework Classes may be instantiated independently or interdependently.
Independent Classes
| SYM | NAME | DESCRIPT | API | GUIDE | | -----: | :--- | :------- | :--: | :--: | | M | Model | Manage schematized content. | ▶ | ▶ | | X | Model Schema | Manage data schema. | ▶ | ▶ | | D | Model Content | Manage data content. | ▶ | ▶ | | V | View | Manage templated markup elements. | ▶ | ▶ | | R | Router | Window location router or fetch router. | ▶ | ▶ | | RL | Router (Location) | Manage window location. | ▶ | ▶ | | RF | Router (Fetch) | Manage AJAX connection. | ▶ | ▶ | | C | Control | Manage Model, View, Control, Location/Fetch Routers. | ▶ | ▶ | | E | Core | Manage Event Target Events. | ▶ | ▶ |
Interdependent Class Structures
| FORMULA | NAME | ACRONYM | DESCRIPT | | ------: | :--- | :------ | :------- | |CMVRC* | Control (Model, View, Router, Controls) | CMVRC | Control class instances contain model, view, router, and subcontrol class instances. | |MVRM* | Model (View, Router, Models) | MVRM | Model class instances contain view, router, and submodel class instances. | |VMRV* | View (Model, Router, Views) | VMRV | View class instances contain model, router, and subview class instances. | |RMVR* | Router (Model, View, Routers) | RMVR | Router class instances contain model, view, and subrouter class instances. |