You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn/guides/fundamentals/CodebaseOverview.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,18 +166,23 @@ A complete form management system that goes beyond HTML forms:
166
166
167
167
### Data Layer
168
168
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).
0 commit comments