How joemccann/dillinger works
Main Components
Frontend Layer:
• AngularJS application structure with key components:
• Editor Component (Ace Editor integration)
• Preview Component
• Document Management
• Plugin Integration UI
• Zen Mode
• Export/Import Interface
Backend Layer:
• Node.js/Express Server
• Plugin System Architecture
• File Processing Services
• Authentication/Authorization
External Services Integration:
• Cloud Storage Services:
• Dropbox
• GitHub
• Google Drive
• OneDrive
• Medium
• Analytics (Google Analytics)
Key Relationships to Highlight
• Bidirectional data flow between editor and preview components
• Plugin communication paths
• Demonstrate file import/export workflows
• Authentication flows with external services
Specific Implementation Details
Use these symbols and connections:
┌─────────────┐
• Frontend │ ←→ User Interface Components
• ┘
┌─────────────┐
• Backend │ ←→ API Endpoints
• ┘
┌─────────────┐
• External │ ←→ Third-party Services
• ┘
Important Architectural Patterns
• Plugin Architecture: Show how the plugin system allows for extensibility
• MVC Pattern: Demonstrate the separation of concerns in the Angular frontend
• Service-Oriented Architecture: Illustrate how external services are integrated
• Build System: Include Gulp + Webpack workflow