Skip to main content

Platform Flow

This guide provides a comprehensive overview of the platform CLI workflow, illustrating how different commands and components interact with each other during the development process.

Interactive Workflow Diagram​

React Flow mini map

Workflow Components​

1. Initial Setup​

  • Install dependencies
  • Configure environment variables
  • Set up local development environment

2. Application Creation​

  • Create new DNA application
  • Set up Portal and Data Store components
  • Configure initial project structure

3. Portal Development​

  • Generate menus and navigation
  • Create record tabs for data display
  • Set up wizards for data entry
  • Configure forms for user input

4. Data Store Setup​

  • Build and configure database
  • Generate database schema
  • Manage migrations
  • Set up debugging environment

5. Planning and Configuration​

  • Plan database schema
  • Configure data store settings
  • Select and implement controls
  • Generate and implement code

Best Practices​

  1. Project Structure

    • Follow the recommended project structure
    • Keep related components organized
    • Maintain clear separation of concerns
  2. Development Flow

    • Complete planning phase before implementation
    • Test components as they are developed
    • Document changes and configurations
  3. Code Management

    • Use version control effectively
    • Follow coding standards
    • Keep generated code organized