README

Drakojn is a library suite thought to be simple and effective for web development.
This suite has small libraries to be connected on your current or future project easily.

Io

Io is a small tool aimed to abstract persistency simple way. The idea is keep your model/data classes as is,
and provide a simple way to connect them either a relational (or not) database, text files, web protocols and
services and so on

$map=newDrakojn\Io\Mapper\Map('Dummy\\Data\\User', //local class'user', // remote entity, the table'id', //local attribute used to identify this object through remote part ['id'=>'id_user','alias'=>'login','name'=>'name','email'=>'email' ] //map between local class and remote presistency part);

$descriptor=newDrakojn\Io\Driver\Descriptor\Json;$fileDriver=newDrakojn\Io\Driver\File('/path/to/store/your/objects/', $descriptor);// or even a php serialized file:$fileDriver->setDescriptor(newDrakojn\Io\Driver\Descriptor\Php);

And develop as you were working with RDBMS.
You (or Drakojn Developer) (or YOU as Drakojn Developer) could do an exchange strategy between many sources.