3 repository-uri
Persists application objects directly to the database by decorating classes with attributes to define their structure and storage format.
Distinct from Object Storage: Distinct from Object Storage: focuses on class-based decoration for persistence rather than general object storage architecture.
Explore 3 awesome GitHub repositories matching data & databases · Decorated Object Mappers. Refine with filters or upvote what's useful.
This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive interface for managing remote data stores, enabling developers to execute standard database commands, handle complex data structures, and perform asynchronous operations within Go applications. The library distinguishes itself through its support for advanced Redis capabilities, including connection pooling, pipelining, and transactional integrity. It provides specialized primitives for managing distributed clusters, including automated topology updates and request routing to sha
Persists application objects directly to the database by decorating classes with attributes to define their structure and storage format.
class-transformer is a TypeScript library that converts plain JavaScript objects into typed class instances and back, using decorators to define transformation rules. It serves as a decorator-based object transformer, JSON deserialization library, and property transformation framework, enabling type-safe serialization and deserialization of class instances. The library distinguishes itself through comprehensive property filtering and mapping capabilities. It supports excluding properties by default, by prefix, by operation (serialization or deserialization), or by explicit marking, as well as
Ships a decorator-based object mapper that converts plain objects to class instances and back.
Draper este un framework pentru stratul de prezentare și o bibliotecă de decoratori pentru Ruby on Rails care implementează pattern-ul view-model. Acesta servește ca un sistem bazat pe proxy pentru a separa logica de prezentare de modelele de business, permițând izolarea transformărilor de date specifice view-ului de datele subiacente. Framework-ul oferă capabilități specializate pentru gestionarea modului în care sunt afișate datele, inclusiv posibilitatea de a împacheta obiecte individuale sau colecții întregi. Suportă decorarea recursivă pentru modelele asociate și injectarea contextului de view și a stării cererii în decoratori pentru a permite prezentarea condiționată. Funcționalitățile suplimentare includ delegarea metodelor și a căutătorilor (finders) la nivel de clasă către modelul împachetat, integrarea cu view helpers pentru formatarea datelor și utilizarea identificatorilor globali pentru a menține starea decorării în timpul serializării joburilor de fundal. Este inclus un instrument de linie de comandă pentru generarea fișierelor de tip decorator.
Apply a decorator to a model instance or collection to add presentation methods without altering the underlying data.