Best way to extend an entity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Best way to extend an entity

Gavin Mabie
Hi all

 

I want to create a custom application and my initial assessment is that it
could be based on the Project Manager Application. It would require
additional fields such as targeted and actual output.  The Project Manager
app is built on the WorkEffort app. Is it advisable to extend the Project
Manager app or to use the member entity definition as is used in the Project
Manager App?

 

Thanks

 

Gavin

Reply | Threaded
Open this post in threaded view
|

Re: Best way to extend an entity

Rishi Solanki
The best way to extend an entity, is to extend it in your custom component
using <extend-entity.../> and if its CRUD services written using the
entity-auto with set pk and non pk fields then they will work without
changes. If not then you need to just override the service definition.
IMO, extending the Project Manager app is better option as it is based on
the WorkEffort and all the basic + special purpose business logic will be
available for your custom application.
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Mon, Oct 19, 2009 at 4:08 AM, Gavin Mabie <[hidden email]>wrote:

> Hi all
>
>
>
> I want to create a custom application and my initial assessment is that it
> could be based on the Project Manager Application. It would require
> additional fields such as targeted and actual output.  The Project Manager
> app is built on the WorkEffort app. Is it advisable to extend the Project
> Manager app or to use the member entity definition as is used in the
> Project
> Manager App?
>
>
>
> Thanks
>
>
>
> Gavin
>
>