Fixes

Fixed the read me file, going to php 5.4. Also the SplType is now
required

SimpleMapper now default loads the SimpleHydrator. Otherwise it breaks.

SimpleService->getViewModel is now protected
Hydrator cleaned up
Bug fix for hydrator
Bug fix for MongoDb insert
Namespace was missing
Bug fix

Internal the IEntity is used, external the IViewModel
Feature fix

ServiceLocatorStrategy added
ViewModel is now made more generic
Feature fix and rename

A fallback is now used (Enum) when SplEnum is not available

Renamed Db to Database to be more clear what it is
Moved the View Models

Moved the view models to their own directory
Service changed

removed
- count
- fetch

Feature change
- fetch all, removed the IQuery service doesn’t know IQuery and
shouldn’t

Due to the fact of the change ServiceAdapter is now also removed
View model added
Mapper changes

Warning, it will break code

The domain doesn’t know any thing any more about an hydrator. This is
now the sole purpose of the mapper.
To map data from the domain to the database

Next the service is now a closed system. You should only obtain data
via function calls and not by giving it an query, it is still possible
but not recommended.

The php version was updated from 5.3 to 5.4, so we could use [] instead
of array(). This has been undone, so php 5.3 is supported (again/still)
Merge pull request #2 from wudoict/Development

Development