How jasonette/jasonette-ios works
Main Components
a. Core Engine Layer
• Jason Core (Jason.h/m)
• JasonParser (JasonParser.h/m)
• JasonViewController (JasonViewController.h/m)
b. Action System
• JasonAction (base class)
• Various Action Handlers (Network, Cache, Audio, Vision, etc.)
• Action Protocol (JasonActionProtocol.h)
c. Component System
• JasonComponent (base class)
• Component Factory (JasonComponentFactory.h/m)
• Various UI Components (Button, Label, Image, etc.)
d. Services Layer
• Agent Service (JasonAgentService)
• Push Service (JasonPushService)
• Vision Service (JasonVisionService)
• WebSocket Service (JasonWebsocketService)
e. External Dependencies
• Networking (AFNetworking)
• Image Handling (SDWebImage)
• Audio (FreeStreamer)
• UI Components (Various Pod dependencies)
[JSON Input Layer]
• ↓
[Core Engine Layer]
• ↓
[Services Layer] ←→ [Action System]
• ↓
[Component System]
• ↓
[UI Layer]
Connection Types
• Double lines: Data flow
Key Relationships to Highlight
• JSON input processing through JasonParser
• Action dispatch system from core to various action handlers
• Component creation and management through ComponentFactory
• Service integration with external systems
• Memory and cache management
Implementation Details
• Component name
• Key responsibilities
• Main interfaces
b. Interaction flows:
• JSON interpretation path
• Action execution flow
• UI update mechanism
• Service communication paths
Additional Elements
• Notes for key architectural patterns
• Extension points
• Integration points with iOS system