Book a Demo

Author Topic: Implicit read in CRUD Update?  (Read 13024 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Implicit read in CRUD Update?
« on: September 19, 2009, 11:35:53 pm »
Elsewhere, I've indicated I'm doing some modelling involving CRUD (Create, Read, Update, Delete) relationships between behavioural elements and artifacts.

I've modelled "read" separately from "update" (that is, two relationships) - but I find I'm getting sooo many relationships that the diagrams are somewhat unreadable.

I couldn't find any explicit definition, to this effect, but it seems to me that a normal update implies and implicit read.  So I can retain "read" for a read-only - no consequent update.

This would allow me to cut the number of relationships significantly.

In the unlikely event that I needed a "write-only" function (writing without a preceding read) I could extend the set to "write".

Thoughts?
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Implicit read in CRUD Update?
« Reply #1 on: September 20, 2009, 12:00:21 am »
Makes sense.

Could there be confusion between the 'normal' interpretation of "read" and "write" and your context? That is, are the situations where the normal meanings would be applicable in your paradigm? If such were the case you might be obscuring the intent of your models for readers who are not familiar with the specific instances you diagram.
No, you can't have it!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Implicit read in CRUD Update?
« Reply #2 on: September 20, 2009, 05:05:07 am »
Quote
Makes sense.

Could there be confusion between the 'normal' interpretation of "read" and "write" and your context? That is, are the situations where the normal meanings would be applicable in your paradigm? If such were the case you might be obscuring the intent of your models for readers who are not familiar with the specific instances you diagram.
Yes...  However, in the context in which they are being used, I'm having to develop an entire Instructional/Help subsystem to describe exactly how the modelling is to be performed and understood.

This is just another aspect of that.  I just need to be consistent in how I propose to model the real-world relationships.  That's why I'm asking now (as the proof of concept/prototype is being created)....

Thanks for the input, David.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Implicit read in CRUD Update?
« Reply #3 on: September 20, 2009, 09:12:28 pm »
I wanted to provide limits within which the concepts (or their interpretations) might be contextually sound. Within those confines you should be OK.
No, you can't have it!

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Implicit read in CRUD Update?
« Reply #4 on: September 21, 2009, 12:10:43 pm »
Paolo;

You seem to be at a very low level of  abstraction, almost at the coding level.  Are you sure that's where you want to be?

I don't know what DBMS you are using.  Does it distinguish between 'read' and 'read for update'?

Jim
Verbal Use Cases aren't worth the paper they are written upon.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Implicit read in CRUD Update?
« Reply #5 on: September 21, 2009, 12:14:39 pm »
Quote
Paolo;

You seem to be at a very low level of  abstraction, almost at the coding level.  Are you sure that's where you want to be?

I don't know what DBMS you are using.  Does it distinguish between 'read' and 'read for update'?

Jim
I'M actually modelling at the business process level.  I'm trying to record if a document is created, read-only, updated (implicit read) or destroyed by a process.  The idea is that in a complex set of business processes, we can ask the questions:

Where is this document created?
Does anyone update the document?

Etc...

Hope this clarifies things...
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Implicit read in CRUD Update?
« Reply #6 on: September 21, 2009, 04:09:33 pm »
Paolo,

That is exactly the same interpretation I used a while ago when documenting the business modelling method for a former client. (i.e. Update implies Read)
Back then I was working in a team of methodologists so I had the chance to check this interpretation with them, and they all agreed. (what a luxury that is sometimes, to be able to discuss those kind of issues with people who know what you are talking about)

Geert