Site web | http://tech.ccmbg.com/ting/ |
---|
Github / Bitbucket / Sourceforge | https://bitbucket.org/ccmbenchmark/ting |
---|
Licence | Apache 2 |
---|
Dernière version | 3.4.2 |
---|
How schema is defined? | PHP |
---|
Code generation | |
---|
Can be used in Any Framework | Oui composer / packagist |
---|
Automated Cache | |
---|
Anti-patterns (purposely included) | |
---|
Audience | |
---|
Dependencies | Minimal: 3, pimple, doctrine/cache, aura/sqlquery |
---|
Simplicité | 5.0 1 note |
---|
Enterprise Compliance | 5.0 1 note |
---|
Minimum PHP Version | 5.5 |
---|
Basic Features | |
---|
PDO Support | - But made a custom driver to support it is easy |
---|
Transparent support for NoSQL | Non |
---|
How to invoke db-vendor-specific extensions? | Oui Ting use native query, you can use everyting of your SGBD |
---|
Array as a persistence | |
---|
RestAPI as a persistence | |
---|
JSON string as a persistence | |
---|
Same model, multiple persistences | |
---|
Basic Single-record operations (C,R,U,D) | |
---|
Table Name Mapping | Oui Yes |
---|
Field Name Mapping | Oui Yes |
---|
Map Entity to SubQuery | Non This concept is no-sense for Ting |
---|
Map property to expression | Non This concept is no-sense for Ting |
---|
Map native types (DateTime) | Oui Yes |
---|
User-defined types (e.g. "23 USD") | Oui Yes, with custom serializer |
---|
Map field of related Entity ('currency' = currency_id->Model Currency.name) | Oui Yes |
---|
Map field to sub-query on related entity (Client.balance = Client->orders->sum(total)) | - This concept is no-sense for Ting |
---|
Entity to join multiple tables (adding new record populates both tables) | Oui Yes |
---|
Criteria, Scope, Conditions (Model will refuse to work with records that does not match criteria) | |
---|
Support model-level criteria | |
---|
Soft-delete | |
---|
Domain Model Criteria | |
---|
Expression-based condition | |
---|
Criteria Compliance (new record must match condition) | |
---|
Dynamic criteria | |
---|
Query Building (Convert Model into Query object for further SQL tweaking) | |
---|
Convert Model into Query Object | |
---|
Raw expression | Oui |
---|
Nested/Composite Queries/Expressions | |
---|
Reference domain-model field in query | Non |
---|
field, where, order, limit | Oui |
---|
options, rollup, partition | |
---|
UPDATE, DELETE, INSERT query building | Oui |
---|
REPLACE, TRUNCATE | |
---|
SHOW, DESCRIBE, CALL | |
---|
ALTER, CREATE query building | |
---|
User-defined query template | |
---|
full support for OR conditions | |
---|
Use Domain logic in multi-record update | |
---|
Data Fetching (different ways to retrieve data from database) | |
---|
Get All Data (2x array) | Oui |
---|
Associative Array (id=>value) | |
---|
Select only required fields | |
---|
Typecasting (e.g. DateTime) | Oui |
---|
Import (multiple records) | Oui |
---|
Respect domain model mapping (and criteria) | |
---|
Single row | Oui |
---|
Single Value | Oui |
---|
Single Column | Oui |
---|
Iterator | |
---|
Bypass persistence mapping | |
---|
Loading and Saving individual records | |
---|
Load by ID | Oui get(id) |
---|
Load by other field | Oui getBy(['propertyName' => 'value']); |
---|
Read-only Models | |
---|
Model without primary key | Oui |
---|
Specify fields to load | Oui |
---|
Save only sends dirty fields | Oui |
---|
Guarded / Fillable properties | |
---|
Object Hierarchy Model | |
---|
Admin extends User, adds criteria (is_admin=1) | |
---|
Admin extends User, adds accessible fields | |
---|
Extend model, add Join (Disjoined SubTypes) | |
---|
Extend model change table | |
---|
Relations/References (One model can relate to another model. NOT A TABLE JOIN) | |
---|
Model can define relation to other Model | |
---|
One-to-Many | |
---|
One-to-many traversal strategy | |
---|
Lazy/Eager-loading | |
---|
One-to-One | |
---|
Many-to-Many | |
---|
Deep Many-to-Many traversal. | |
---|
Cross-Persistence traversal | |
---|
Cross-persistence joins, aggregation, reporting | |
---|
Multi-persistence join | |
---|
UNION existing models | |
---|
Domain-model Aggregation | |
---|
Model to Model join | |
---|
Multi-persistence UNION | |
---|
Behaviours / Hooks | |
---|
Before/After operation | |
---|
Override standard C,R,U,D operations | |
---|
Persistence-specific hooks (to modify Query) | |
---|
User-defined hooks | |
---|
Auditing | |
---|
Global Auditing | |
---|
Store old/new field values | |
---|
Revert action (undo) and replay (redo) | |
---|
Reactive actions | |
---|
Store log in any persistence | |
---|
Override, Add fields to audit log | |
---|
Custom events | |
---|
Access to record-specific history | |
---|
Date of creation, modification | |
---|
User/IP creation, modification | |
---|
Store incremental revisions | |
---|
Integration | |
---|
Field meta-information provided | |
---|
UI extensions | |
---|
API extensions | |
---|
J'aime | 0 J'aime |
---|
Plus de comparatifs
Commentaires
Laisser un commentaire
S'inscrire Se connecter