« target practice | Main | a wee interview »

Comments

ewH

Great post, Sig. It's amazing to see how hard it is to break from traditional thinking when things have been done the same for thousands of years.

-ewH

Duncan Drennan

Surely it is necessary to tag data in some way to ensure that you can draw the correct information, collate it into a document, and format?

Maybe (probably) my understanding is wrong, but aren't these formats just about tagging information in a "standard" way? TeX is probably the best example of tagging raw data and then converting into a document.

Although your underlying philosophy (objects) may be different to the "format a document" philosophy, how divergent are the two in reality?

sig

Thanks Eddie,

maybe not so surprising given that we've had IT based text document handling for say about 30(?) years out of 2-3,000 total. Still upon time to revisit the purpose of it all and see if it could be done better I say :)

sig

Duncan,

if the only use of the information was for producing a "Document" then obviously TeX, HTML, RTF and such would be best - they do exactly as you say "tag" the sections, paragraphs etc in a very efficient way.

Therein lies the diff - I'd like to use the information for more and cross-documents too - that's when those limited-to-one-file "tags" would not work any more.

If you look closer at a document/form you'll always find information-objects that are finite (address is a good example) - rip'em out of the form, let them be finite objects and use it anywhere. That way you only need one of them, not hundreds (source of errors, much work and reconciliation!).

But you're right - the "address object" would have to have "relationship" metadata relating it to other objects so you can in fact use it for anything and all.
There would be no limits to what method you'd choose, actually the more the merrier as "relationship between objects" equals knowledge!
With thingamy we have the following mechanism that can be used for any object representing some real world or virtual object: Linking (two-way direct link between any objects, typically between father and son, me and house), Tags (very generic, a bit imprecise but increasingly precise with volume of tags per object, typically for a person/employee - speaks Italian, C++, likes to travel), Objects as properties (a bike could have specific frame and wheelset), Inheritance (build classes on other classes) and Places (widget is in warehouse B).

Example - Address-object: Using the finite and persistent approach it would not be a part of you, it represents the house and could be linked to you. You again would be linked to an "insurance-object" and a "bank-account-object". When you move you unlink yourself from old house and link to new house - thus all insurance and bank account objects would know where to contact you in one simple stroke.

Back to "Document" production - being the insurance company and I'd like to print an insurance document for a client I'd apply a template that will pick up the insurance-object, the person-object linked thereto and the address-object linked to that linked person, arrange the properties of said objects and slap my insurance company logo on top, set margins and Arial and print.

Another template could use all insurance-objects filtered by some tag, not use the person-objects but add the invoice-objects linked to those insurance-objects and voila a neat report ensues.

Etc. :)

Duncan Drennan

Sig, I totally agree with you—I hate replication, it normally leads to errors (and not just a few...)

I suppose my point was really that the two are not that different, but the levels that they work on are. Your approach (which I really like) is a macro approach, where the "tag document for formatting" approach is really like micro-managing the data.

There should only be one instance of any particular piece of data (like a company address, there is only one registered address, etc.)

Basically the data is then formed into a document by a style-sheet....but I guess that is pretty much what thingamy does :)

sig

Duncan, prexisely!

Three rules:

1) One data-object per real-world object.
2) Split into smallest possible objects.
3) Save only raw data.

and of course, the fourth (the SOX etc. bonus ) rule:

4) Never lose anything. :D

Duncan Drennan

The real trick (I imagine) with thingamy, is to define the objects well...I'm guessing that that is where it can get tricky—especially with intangible things, likes ideas, designs and so forth. The issue of intellectual capital is the one that I keep coming back to...(4) Never lose anything

sig

Duncan, you're absolutely right on that one!

Every time in fact, a real brain-teaser but a good one - pushes me to rethink my modeling on a very basic level. Often when I decided for one I end up atomising it even further... sometime reverting to a practical middle-of-the-road :)

Think I have a follow-up post brewing...

Tomi Itkonen

Just thinking aloud here with a simple example...

Consider that you have a purchasing application with vendors, materials and stuff.

Vendor's bank account number changes. So, instead of updating the bank account field on the vendor "form", you'll do this:

1. Create a new instance of the bank account object. It contains the new bank account number.
2. Remove the link between the vendor and the old bank account instance.
3. Link the vendor to the new bank account instance.

Is this the way how it goes on Thingamy?

sig

Hi Tomi,

(sorry for the belated response, seems the Typepad mail had hiccups)

Basically yes - and you are touching upon the issue of "where's the border" between my world and the rest.

In the perfect data system all would of course be represented as it is in reality. And there the instance of a bank account would be created only once when it was created at the bank.
Rest would be as you say - unlink, link to another bank account.

When it's hard to represent "everything" you have to make practical choices - i.e. have the bank account number as a property field in a customer-object and change that. Old-hat style :)
Thingamy has no rules! It's just built so you'll get more and more out of it if you get as close to modeling reality as close as possible... still it can behave like any old application (quirky yes, not as smooth definitely, but still)

:D

The comments to this entry are closed.

My Photo

Contact

Tweet this


Thingamy sites

  • Main site
  • Concept site

Tittin's blog


Hugh's


Enterprise Irregulars


Faves

Twitter Updates

    follow me on Twitter

    alltop


    • Alltop, all the cool kids (and me)

    Subscribe

    Blog powered by Typepad
    Member since 01/2005