angular-cmf / resource

It provides a library for handling cmf resources.
Other
6 stars 0 forks source link

[WIP] persistence layer and configuration #23

Open ElectricMaxxx opened 9 years ago

ElectricMaxxx commented 9 years ago

This PR will solve #18 and #9. Atm i don't think that we need a configuration at all. The Persister will get its own supports(type)method to decide if they are responsible for a specific type. So they should do their work to persiste a specific resource. The UoWwill get a persister as a chain, with the same interface as the persister. So the UoW will talk to the chain same as it would talk to a singe persister. The chain will loop throug the registered persisters and ask them for supports(type) . The first match will get the work.

Tasks: