Hi,
Does anybody know of any “flat file” based implementation of an ember app? The idea being a somewhat sophisticated Fixtures implementation.
The data is really read only. The data store would sit in a static folder structure that could be easily sync’d to a static website.
Access to specific objects could be path based strings e.g.
app/data/static/foo/bar
app.data.static.foo.bar
would map to a specific file (JSON, or XML) (XML is less of a priority)
app/data/static/foo/bar.json
app/data/static/foo/bar.xml
And then individual data file could look something like this
{
id: "app/data/static/foo/bar",
name: "bar",
info: "this is thet bar record",
etc...
}
The adapter would know how convert this to a fixture or model.
Any tips?
Gordon