CRM day 1 : Some simple ideas explained

by Tom 25. September 2006 12:55

Today I will not actually program any stuff, but i will layout some basic stuff on paper this blog.

First draft :

I will start from the default object properties :

DefaultObjectProps :

  • id : unique identifier
  • description : text description (for dropdownlists etc)
  • created : date of creation
  • created by : user
  • modified : date of last modification
  • modified by : user

Then the default act_as_props

DefaultActAsProps < DefaultObjectProps

  • Parent (id, type)

ActAsSecured < DefaultActAsProps

  • OwnerUser : user
  • OwnerGroup : group
  • UserRights,GroupRights,AnonymousRights : CRUD bools
  • implements :
    • bool Allow Read (type,int id)
    • bool Allow Write (type,int id)
    • bool Allow Create (type,int id)
    • bool Allow Update (type,int id)

ActAsTree < DefaultActAsProps

ActAsPageable < DefaultActAsProps

ActAsSortable < DefaultActAsProps

ActAsFilterable < DefaultActAsProps

ActAsTaggable < DefaultActAsProps

ActAsSchedule < DefaultActAsProps

ActAsCommentable < DefaultActAsProps

ActAsRule < DefaultActAsProps

ActAsFileContainer < DefaultActAsProps

An object instance can be represented in two ways

  • PresentAsRow : Object row view
  • PresentAsForm : Object Form view

These rowpresenters will be used in a form. The default form view will be modified by the act-as modules

For example :

  • If an object implements ActAsTree, the grid can be modified into a treeview
  • If an object implements ActAsTaggable, each object can be tagged
  • If an object implements ActAsSchedule, the objects can be shown in a calendar view
  • ... 

I hope you get the idea from these examples...

That is it for today... See you again tomorrow...

Bookmark and Share

Tags:

Development

Comments are closed

About me

Tom Janssens op LinkedIn

Tom Janssens op twitter

Core bvba RSS

My name is Tom Janssens and I am the owner of Core bvba, a software and consultancy company.
I am married to Liesbeth and have 2 sons named Quinten and Matisse.
ICT is both my job and passion.
Next to this my other hobby is actively playing music (mostly guitar).

More info about me and my company...

Recent Comments