.. | ||
assets | ||
.gitignore | ||
ai_assistance_guide.md | ||
ai_docs.md | ||
ai_workflow.md | ||
bus_gap_analysis.md | ||
bus_package_specification.md | ||
CHANGELOG.md | ||
config_gap_analysis.md | ||
config_package_specification.md | ||
container_feature_integration.md | ||
container_gap_analysis.md | ||
container_migration_guide.md | ||
container_package_specification.md | ||
contracts_package_specification.md | ||
CONTRIBUTING.md | ||
core_architecture.md | ||
core_package_specification.md | ||
events_gap_analysis.md | ||
events_package_specification.md | ||
filesystem_gap_analysis.md | ||
filesystem_package_specification.md | ||
foundation_integration_guide.md | ||
getting_started.md | ||
idd_ai_specification.md | ||
implementation_plan.md | ||
index.md | ||
laravel_compatibility_roadmap.md | ||
melos_config.md | ||
model_gap_analysis.md | ||
model_package_specification.md | ||
package_integration_map.md | ||
pipeline_gap_analysis.md | ||
pipeline_package_specification.md | ||
process_gap_analysis.md | ||
process_package_specification.md | ||
project_map.md | ||
queue_gap_analysis.md | ||
queue_package_specification.md | ||
README.md | ||
route_gap_analysis.md | ||
route_package_specification.md | ||
support_package_specification.md | ||
testing_gap_analysis.md | ||
testing_guide.md | ||
testing_package_specification.md |
Framework Documentation
Overview
This documentation covers our Dart framework implementation, including Laravel compatibility, package specifications, and architectural guides. The framework provides Laravel's powerful features and patterns while leveraging Dart's strengths.
Documentation Structure
Core Documentation
- Getting Started Guide - Framework introduction and setup
- Laravel Compatibility Roadmap - Implementation timeline
- Foundation Integration Guide - Integration patterns
- Testing Guide - Testing approaches and patterns
- Package Integration Map - Package relationships
Core Architecture
- Core Architecture - System design and patterns
- Architectural decisions
- System patterns
- Extension points
- Package interactions
Package Documentation
Core Framework
-
Core Package
-
Container Package
-
Contracts Package
-
Events Package
-
Pipeline Package
-
Support Package
Infrastructure
-
Bus Package
-
Config Package
-
Filesystem Package
-
Model Package
-
Process Package
-
Queue Package
-
Route Package
-
Testing Package
Getting Started
- Understanding the Framework
// Start with these documents in order:
1. Getting Started Guide
2. Core Architecture
3. Laravel Compatibility Roadmap
4. Foundation Integration Guide
- Package Development
// For each package:
1. Review package specification
2. Check gap analysis
3. Follow integration guide
4. Write tests
- Development Workflow
// For each feature:
1. Review specifications
2. Write tests
3. Implement changes
4. Update documentation
Key Concepts
1. Service Container Architecture
// Core application setup
var container = Container();
var app = Application(container)
..environment = 'production'
..basePath = Directory.current.path;
await app.boot();
2. Service Providers
class AppServiceProvider extends ServiceProvider {
@override
void register() {
// Register services
}
@override
void boot() {
// Bootstrap services
}
}
3. Package Integration
// Cross-package usage
class UserService {
final EventDispatcher events;
final Queue queue;
Future<void> process(User user) async {
await events.dispatch(UserProcessing(user));
await queue.push(ProcessUser(user));
}
}
Implementation Status
Core Framework (90%)
-
Core Package (95%)
- Application lifecycle ✓
- Service providers ✓
- HTTP kernel ✓
- Console kernel ✓
- Exception handling ✓
- Needs: Performance optimizations
-
Container Package (90%)
- Basic DI ✓
- Auto-wiring ✓
- Service providers ✓
- Needs: Contextual binding
Infrastructure (80%)
-
Bus Package (85%)
- Command dispatching ✓
- Command queuing ✓
- Needs: Command batching
-
Config Package (80%)
- Configuration repository ✓
- Environment loading ✓
- Needs: Config caching
[Previous implementation status content remains exactly the same]
Contributing
- Before Starting
- Review relevant documentation
- Check implementation status
- Understand dependencies
- Write tests first
- Development Process
// 1. Create feature branch
git checkout -b feature/package-name/feature-name
// 2. Write tests
void main() {
test('should implement feature', () {
// Test implementation
});
}
// 3. Implement feature
class Implementation {
// Feature code
}
// 4. Submit PR
// - Include tests
// - Update documentation
// - Add examples
- Code Review
- Verify specifications
- Check test coverage
- Review documentation
- Validate performance
Best Practices
- API Design
// Follow framework patterns
class Service {
// Match framework method signatures
Future<void> handle();
Future<void> process();
}
- Testing
// Comprehensive test coverage
void main() {
group('Feature', () {
// Unit tests
// Integration tests
// Performance tests
// Error cases
});
}
- Documentation
/// Document framework compatibility
class Service {
/// Processes data following framework patterns.
///
/// Example:
/// ```dart
/// var service = container.make<Service>();
/// await service.process();
/// ```
Future<void> process();
}
Questions?
For questions or clarification:
- Review relevant documentation
- Check implementation examples
- Consult team leads
- Update documentation as needed
License
This framework is open-sourced software licensed under the MIT license.