your current project/module name is 'model'. Is it too late to rename it to e.g. entitymodel (analoguous as entitycache) ? Since Entity is the domain your modelling.
The current name is too generic, and it is more dev-friendly to start your name with entity, and have all Entity-related directories together.

Comments

keyiyek’s picture

I would add another matter on this point.
Since the module is intended to be as an example naming the module like one of the entities is just confusing, there is no way, for a beginner, to tell when "model" is a reference to the entity and when to the module.

Quite all the examples have this very problem. personally I'm trying to build up a module that provides 3 different kind of entities and I always find myself hindered by this shortcome.

johnv’s picture

O, I was under the impression that 'model' was not thename of the entity, but the activity, as in 'modelling entities'.

xandeadx’s picture

+1 for request. may be "entity constructor"

pjcdawkins’s picture

+1, I've also found #1 muddling.

Alan D.’s picture

Category: bug » feature

+1 for clear naming of entities, et al.

However, this is either a task or a feature request!