Here we will boil down some of the basic concepts of Infusion for developers who may be interested in it, but uncertain of where to start. There's a lot going on in the framework, but grasping some core ideas helps a great deal in moving forward and learning.
This introduction summarizes some topics (and leaves out many others) that are gone into at length in the full framework documentation, and is focused on developers trying to orient themselves to the framework for the first time.
The introduction assumes:
- You know how to use a browser's developer tools to access a console.
The list below summarizes each section of the tutorial and the core concept covered in it. Each section introduces a new concept and connects it with previous ones.
- Components for organizing programs out of related pieces of data, functionality and interaction.
- Invokers to allow components to provide a consistent structure for collaboration with other components and enable overriding function behavior.
- Events and Inversion of Control to allow our programs to be built out of loosely coupled parts, and to manage sequencing and lifecycle throughout that loosely coupled structure.
- Model Components that can track mutable data, state or content, and coordinate and synchronize their data with other model components and fire events when their state changes. Model Listeners are used to respond to changes in model state.
- View Components for building connections between web elements and Infusion components.
- Subcomponents and Model Relaying to organize larger program designs and keep state synchronized between different pieces of a design.
- Restructuring Designs more easily because components are defined as blocks of configuration rather than code.
- Refactoring Shared Functionality in designs through the use of invokers and base component grades.
- Extending Designs to allow programs to adapt themselves to new contexts for input and presentation.
- Transforming Model Relays to express more complex coordination of data between different parts of a program.