5 مستودعات
Tools for synchronizing application model state with database records.
Distinguishing note: Distinct from existing database management: focuses on the synchronization of object state to persistent storage.
Explore 5 awesome GitHub repositories matching data & databases · Model Persistence. Refine with filters or upvote what's useful.
This project is a type-safe database toolkit and object-relational mapper designed to enforce structural consistency between database schemas and application code. By leveraging compile-time validation, it ensures that SQL queries and data structures remain synchronized, preventing common errors before the application executes. It provides a comprehensive framework for relational data modeling, allowing developers to define table associations and map database results directly into strongly-typed language objects. The library distinguishes itself through its focus on compile-time safety and au
Saves the state of identified records directly to the database by synchronizing fields with table rows.
Mantle is a framework for mapping raw data structures and JSON into typed model objects for Cocoa and Cocoa Touch applications. It serves as a data serialization engine and JSON data mapper that transforms dictionaries and arrays into structured model objects. The framework distinguishes itself through an Objective-C persistence layer that manages model disk archiving via keyed archivers. It includes specialized logic for model version management, allowing outdated archived data structures to be upgraded to match current schemas during deserialization. The project covers a broad range of dat
Saves model objects to persistent storage using keyed archivers for later retrieval.
GoJS is a JavaScript diagramming library and canvas-based visualization engine used to build interactive flowcharts, organizational charts, and network diagrams. It functions as a data-driven framework that binds JavaScript data models to visual elements, enabling bidirectional synchronization between the underlying data and the graphical representation. The library features a comprehensive graph layout engine capable of automatically arranging nodes into trees, grids, circles, or force-directed layouts. It distinguishes itself through a template-based system for generating visual parts and a
Saves and loads diagram state as JSON-formatted text for persistence and restoration.
Bun هو راسم علاقات كائنات (ORM) آمن من حيث النوع لـ Go يعطي الأولوية لبناء استعلام SQL أولاً وتعيين النتائج. يعمل كمنشئ استعلام SQL قابل للبرمجة، ومدير اتصال قاعدة بيانات، وأداة لتعيين جداول قاعدة البيانات إلى هياكل Go. يتميز المشروع من خلال نظام دعم SQL متعدد اللهجات، مما يسمح لقاعدة كود واحدة بالتفاعل مع محركات قواعد بيانات مختلفة عبر واجهة متسقة. يتضمن أداة مراقبة قاعدة بيانات مدمجة لاعتراض الاستعلام، والتتبع الموزع، والتسجيل، بالإضافة إلى أداة ترحيل المخطط لإصدار التغييرات الهيكلية. تغطي المكتبة مجموعة واسعة من عمليات البيانات، بما في ذلك المعالجة المجمعة، و upserts، والحذف الناعم، وإدارة البيانات العلائقية مثل الارتباطات متعددة الأشكال. توفر قدرات لتحليلات SQL المتقدمة باستخدام تعبيرات الجدول الشائعة ووظائف النافذة، إلى جانب إدارة المعاملات الذرية وتجميع الاتصالات. يتم دعم إدارة المخطط عبر واجهة سطر أوامر لتطبيق نصوص الترحيل ذات الإصدارات.
Updates specific fields on a model immediately before it is inserted or updated in the database.
هذا المشروع عبارة عن مجموعة أدوات قاعدة بيانات لـ Go توفر تعيين المخطط إلى الكائن، وبناء الاستعلام بطلاقة، وتوليد الكود المؤتمت. يعمل كإطار عمل للوصول إلى قاعدة البيانات الآمن للأنواع، مما يمكن المطورين من التفاعل مع قواعد البيانات العلائقية عن طريق توليد النماذج والواجهات مباشرة من مخططات قاعدة البيانات الموجودة. تتميز مجموعة الأدوات بسير عمل يحلل ملفات SQL المكتوبة يدوياً لتوليد وظائف آمنة للأنواع، مما يسمح بدمج SQL مخصص مع الحفاظ على تعيين النتائج المتسق. وهي تدعم التخصيص المعياري من خلال بنية قائمة على المكونات الإضافية وتستخدم بيانات تعريف قائمة على تعليقات SQL للتحكم في بنية الكود الذي تم إنشاؤه. بالإضافة إلى ذلك، فهي تبسط التطوير عن طريق توليد مصانع بيانات الاختبار تلقائياً لتبسيط إعداد اختبارات الوحدة والتكامل. بعيداً عن التوليد الأساسي، توفر مجموعة الأدوات مجموعة شاملة لإدارة دورة الحياة الكاملة لتفاعلات قاعدة البيانات. يشمل ذلك بناء الاستعلام بطلاقة عبر لهجات متعددة، وتعقيم المعلمات المؤتمت لمنع حقن SQL، والتعيين العلائقي الذي يحول نتائج الاستعلام المسطحة إلى هياكل كائنات متداخلة. كما يتميز بخطافات دورة الحياة لتنفيذ منطق مخصص أثناء عمليات قاعدة البيانات ويدعم الدمج التدريجي، مما يسمح بالاعتماد الجزئي دون الحاجة إلى ترحيل نظام كامل.
Inserts generated model instances into the database while automatically handling required relationships to ensure data integrity.