Skip to content

Commit eeb40d1

Browse files
committed
docs: Correct Data Layer description in CodebaseOverview.md #7700
1 parent 906a0c9 commit eeb40d1

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

learn/guides/fundamentals/CodebaseOverview.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -166,18 +166,23 @@ A complete form management system that goes beyond HTML forms:
166166

167167
### Data Layer
168168

169-
**Neo.data.Model**: Record-level data
170-
- Schema definition with validation
171-
- Field transformations
172-
- Computed properties
173-
- Dirty state tracking
174-
175-
**Neo.data.Store**: Collection management
176-
- Filtering (client-side and remote)
177-
- Sorting (multi-field)
178-
- Grouping
179-
- Pagination
180-
- Remote loading via proxies
169+
A highly optimized and flexible data layer designed for performance with large datasets.
170+
171+
**Neo.data.Model**: The blueprint for your data records.
172+
- Defines the schema for records, including field names, types, and default values.
173+
- Supports calculated fields and data validation rules.
174+
- Can be configured to track modifications to fields (`trackModifiedFields`).
175+
176+
**Neo.collection.Base**: The foundation for data collections.
177+
- Provides powerful client-side filtering and sorting capabilities.
178+
- Manages items with a key-based map for fast lookups.
179+
- Fires mutation events for observing changes.
180+
181+
**Neo.data.Store**: A powerful collection manager for records, which extends `Neo.collection.Base`.
182+
- Can be loaded with raw JavaScript objects for maximum performance.
183+
- Uses a `RecordFactory` to create lightweight, reactive record instances **on-demand** when data is accessed. This lazy-instantiation approach is extremely memory-efficient.
184+
- Inherits filtering and sorting from `collection.Base` and adds support for remote operations (e.g., remote filtering, pagination).
185+
- Supports loading data from remote APIs.
181186

182187
**Neo.state.Provider**: Hierarchical state
183188
- Application-wide state management

0 commit comments

Comments
 (0)