didascalie-net / span

Spaces And Nodes - Environnement for real time media controls and organisation
didascalie-net.github.com/span
3 stars 0 forks source link

span.requests setval mechanism #34

Closed reno- closed 12 years ago

reno- commented 12 years ago

When span.requests is used thru the "setval" message, it should :

I guess this must be in span.requests as we're considering span as a database, value a settings in the database directly modify the db itself.

But why do we need this root-level? If we are using two files, a preferences-file and a project-file. We should have all the structure in the project-file, and maybe have on the root-level only data which are ONLY in RAM, never saved… I think abour namespace for exemple.

Like that each time we're using the "setval" message to span.requests, we're skipping the step 2. : " Set the value into the corresponding key ont the root-level of span.dict"

Of course requests are not very user-friendly if we have to use "projectfile" all the time… So maybe "projectfile" key is useless. When export the project, the mechanism will ask for all keys of span except namespace and preferences. This is not a pain as this mechanism is unique and really in the heart of span.

What do you think about?

reno- commented 12 years ago

So, commit #cd998a4b9bbf1272045b9852ac1266d210613bc9 do the job that we discussed this weekend…