FERRARI PLATFORM TECH STACK

Documentation for Plans

Ferrari Platform - Correct Technology Stack

✅ CORRECTED: State Management Technology

IMPORTANT: The Ferrari Platform uses Flash Persistence from @storage-system exclusively, which completely replaces NGXS.

Technology Stack

Frontend

State Management

Storage System

Backend

AI & Generation

UI & Theming

Build & Tooling

Key Libraries by Pillar

1. 🌌 Space-Map (Organization)

2. 🎨 Editor-Web (Content)

3. ⚡ Singularity (Logic)

4. 🧩 UI-Builder (Components)

Integration Layer

Storage Architecture

Flash Persistence Usage

Component Integration:

import { autoFlashState } from '@storage-system';

@Component({
  selector: 'app-settings',
  standalone: true
})
export class SettingsComponent {
  // Automatic persistence with signals
  theme = autoFlashState('theme', { color: 'blue', mode: 'dark' });
  
  changeTheme() {
    this.theme.update(t => ({ ...t, color: 'red' }));
    // Automatically persists to storage!
  }
}

Service Integration:

import { FlashPersistenceService } from '@storage-system';

@Injectable({ providedIn: 'root' })
export class MyService {
  private flash = inject(FlashPersistenceService);
  
  async saveData(key: string, value: unknown) {
    await this.flash.set(key, value);
    // Automatically syncs across adapters
  }
}

Convenience Helpers:

import { 
  flashSignal, 
  flashComputed, 
  flashEffect 
} from '@storage-system';

// Signal with auto-persistence
const count = flashSignal('count', 0);

// Computed with auto-persistence
const doubled = flashComputed('doubled', () => count() * 2);

// Effect with auto-persistence
flashEffect('log-count', () => {
  console.log('Count:', count());
});

Why Flash Persistence Instead of NGXS?

Advantages

  1. Zero Configuration: Works out of the box
  2. Modern Signals: Built on Angular signals
  3. Automatic Persistence: No manual sync needed
  4. Multi-Adapter: Seamlessly switches between storage types
  5. AI Optimization: Intelligent caching and performance
  6. Simpler API: More intuitive than NGXS
  7. Better Performance: Optimized for modern Angular
  8. Firebase Sync: Built-in cloud synchronization

Migration Path

For existing NGXS code, Flash Persistence provides:

No NGXS References

The Ferrari Platform implementation contains ZERO NGXS dependencies or imports in the newly created code:

All state management is handled through:

Documentation Corrections Made

  1. ✅ Updated docs/english/public/ferrari-platform/index.md

    • Changed "NGXS" to "Flash Persistence (@storage-system)"
    • Corrected for both Space-Map and Editor-Web
  2. ✅ Updated FERRARI_PLATFORM_IMPLEMENTATION.md

    • Clarified: "Flash Persistence (@storage-system) - Replaces NGXS completely"
    • Updated storage description
  3. ✅ Created this tech stack document

    • Clear reference for correct technologies
    • Examples of Flash Persistence usage

Conclusion

The Ferrari Platform is built entirely on Flash Persistence from the @storage-system library. NGXS is mentioned only in historical context or in legacy code that exists elsewhere in the monorepo but is NOT used in any Ferrari Platform code.


Ferrari Platform - Powered by Flash Persistence
Modern state management for modern Angular