icomefromthenet / Faker

A Database Testing Tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write New Engine supports Entity/Value

icomefromthenet opened this issue · comments

The current faker engine uses a table/column with compiler, This engine can not be used for xml/json/yaml that does not fit the table/column structure.

This new engine will support instead an entity/value , with each entity being idempotent , in the place of foreign keys a cache extension will used.

Locale, random generators will be injected at construction and not by a compiler. This engine will not support the xml schema but use inline php as template.

Unlike the default engine this engine will by memory hungry and not suitable for long generator runs. This engine will not generate line by line but once per file requiring memory to represent the entire result.

This engine will be easier to use, with all construction done via a php class implementing the builder pattern.