-
Notifications
You must be signed in to change notification settings - Fork 1
App Architecture
Szikszai Gusztáv edited this page May 3, 2015
·
1 revision
The application architecture is different when you use to create applications with Fron.
The following diagram shows the main parts and responsibilities of each part:
This stores the data of the collection in records, where each record is a separate entity (can be updated / destroyed separately).
This is the component that contains the List, and responsible for getting the data from the Data Store and then filtering that data for display purposes.
The list is responsible for rendering the collection efficiently using a diff / patch algorithm.
The items are responsible for updating / destroying them-self and reflecting that in the database.
- Main requests all records from the data store
- Main filters the data
- Main passes data to the list
- List create / updates / removes items as needed
- Item renders itself after update
- Display flow
- Item data is updated
- Item updates / destroyes data in the data store
- Item requests update in an event
- Display flow