Download the PHP package zakirkun/jett without Composer
On this page you can find all versions of the php package zakirkun/jett. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zakirkun/jett
More information about zakirkun/jett
Files in zakirkun/jett
Informations about the package jett
Jett ORM
Jett ORM adalah sistem Object-Relational Mapping (ORM) modern untuk PHP yang dirancang untuk memberikan pengalaman development yang powerful dan fleksibel. Dengan fokus pada performa, skalabilitas, dan kemudahan penggunaan, Jett ORM menyediakan fitur-fitur canggih untuk membangun aplikasi modern.
Keunggulan Utama
- High Performance: Connection pooling, query caching, dan optimasi otomatis
- Robust & Reliable: Transaction management yang kuat dengan deadlock handling
- Flexible: Query builder yang powerful dengan dukungan nested queries
- Scalable: Distributed caching dan event system yang mendukung aplikasi skala besar
- Developer Friendly: CLI tools lengkap untuk development dan maintenance
- Maintainable: Query analyzer dan performance monitoring built-in
Table of Contents
- Installation
- Requirements
- Quick Start
- Configuration
- Features
- Advanced Query Builder
- Connection Management & Transaction
- Query Analysis and Performance
- Schema Management
- Distributed Cache
- Event System
- CLI Tools
- Best Practices
- Contributing
- License
Installation
Requirements
- PHP >= 8.0
- PDO PHP Extension
- Redis PHP Extension (untuk distributed caching)
- MySQL/MariaDB 5.7+ atau PostgreSQL 9.6+
Quick Start
-
Install via Composer:
-
Buat file konfigurasi database:
-
Setup basic configuration:
- Inisialisasi database:
Configuration
1. Database Connection
2. Connection Pool
3. Cache Configuration
4. Event System
Features
1. Advanced Query Builder
2. Connection Management & Transaction
3. Query Analysis and Performance
4. Schema Management
5. Distributed Cache
6. Event System
7. CLI Tools
Best Practices
-
Connection Management
- Use connection pooling for better performance
- Always use transactions for data consistency
- Set appropriate pool sizes based on your application needs
-
Query Optimization
- Use the QueryAnalyzer to identify slow queries
- Implement proper indexes based on your query patterns
- Use eager loading to prevent N+1 problems
-
Caching Strategy
- Use tagged cache for easier cache management
- Implement cache versioning for cache invalidation
- Set appropriate TTLs for different types of data
-
Event Handling
- Keep event listeners focused and lightweight
- Use event subscribers for related events
- Implement proper error handling in event listeners
- Schema Management
- Always use migrations for schema changes
- Backup database before major schema changes
- Use proper foreign key constraints
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.