creating a new entity type: Revision

Last updated by elgg.developer

Hello everyone,

Iv'e searched for a similar topic but couldn't find any.

In my elgg community we are in need for business pages.

I want to create a page entity which will be the main entity in the site.

This entity will have grater value and importence even then the user entity.

I think that modeling the entity as an ElggObject subtype, and saving all of its data as metadata along with all other ElggObjects` metadata will simply be wrong modeling.

The question is wether it is a wrong idea to create a new type rather then a subtype or not?

If it is - why? what will i loose by doing so?

I know it requires creating a new db table and some code replication from existing entities.

If it is doable and likely, id`e be glad to be instructed just how to correctly do the entity creation.

many thanks.