Git Product home page Git Product logo

db2eav's Introduction

DB2EAV

The DB2EAV API of mapping database to EAV model as solution of data interoperability and portability between different Content Management Systems (CMS).

The DB2EAV API is created with the aim of providing a solution to the data interoperability between CMS that implements an EAV model as design of their databases. The DB2EAV is an API of mapping databases to EAV model. the API is for a specific design of Database who is EAV, in order to described with details how every database have implement the design. The mapping is based on an XML file that describes the implementation of the three components of the EAV model : Entity, Value and Attribute. In addition to database mapping, the API allows access to a CMS data directly from database with SQL queries.

The DB2EAV API operates in four steps: 1 - Calling the API : the API is based on language PHP, and compatible with 5.3.0 version or higher. 2 - Choosing a Target Host : a Target Host is a Web Site based on CMS. it is used to define access settings of the CMS's database. A list of all available Target Hosts is defined in an XML file. 3 - Mapping database to EAV model : in this step the API uses an XML mapping file, corresponding to the Target Host defined in step 2, to build all SQL queries needed to get content from CMS's database. This mapping file describes how a CMS implements the three components of the EAV model. 4 - Recovering content from CMS : using API we can retrieve data from remote CMS's database. The data is retrieved width SQL queries in associative arrays.

Current version

beta 1.0 Take a look to Demo to have more detail of how using the API The class diagram is exposed on the file "DB2EAV-ClassDiagram.png"

RoadMap

Next version will be beta 1.1, The roadMap can be defined in the next features: 1/ Fixe Bugs on write mode 2/ Use Doctrine as ORM for database 3/ Add a new config template of Wordpres CMS

db2eav's People

Contributors

arhouati avatar

Stargazers

Jin Yao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.