ActiveTM - A Topic Maps - Object Mapper
-
Upload
tmra -
Category
Technology
-
view
1.023 -
download
0
description
Transcript of ActiveTM - A Topic Maps - Object Mapper
![Page 1: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/1.jpg)
1
![Page 2: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/2.jpg)
2
ActiveTMA Topic Maps – Object Mapper
Benjamin Bockhttp://rtm.rubyforge.orgTMRA 2008Leipzig, 2008-10-17
![Page 3: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/3.jpg)
3
Schedule
What was?
What is?
What will be?
![Page 4: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/4.jpg)
4
What we have
• TMDM• TMAPI (old and new)• TMO• BSCPL• AR
![Page 5: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/5.jpg)
5
The Challenge
• TMDM offers ontological flexibility• TMAPI provides interface to TMDM
• It’s not domain-specific• We need to get closer to the
business
Current development approachesare too slow
![Page 6: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/6.jpg)
6
![Page 7: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/7.jpg)
7
What has been done before?
• Most of us were just using someTMAPI-like interface
• NetworkedPlanet made Topic Map Objects
• Bogachev had some concepts... ...but did not implement them
![Page 8: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/8.jpg)
8
What are others doing?
• Holidays• Traveling• Object-Relational Mapping
• Active Record
• Throw more programmers at the problem (and that doesn‘t scale)
We have a problem
![Page 9: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/9.jpg)
9
Every programming problem can be solved with another layer of abstraction,except the problemof too many layers of abstraction.
“”
Source: documentation of Ick, http://ick.rubyforge.org/
![Page 10: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/10.jpg)
10
What we need
![Page 11: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/11.jpg)
11
![Page 12: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/12.jpg)
12
![Page 13: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/13.jpg)
13
![Page 14: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/14.jpg)
14
![Page 15: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/15.jpg)
15
Schedule
What was?
What is?
What will be?
![Page 16: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/16.jpg)
16
Domain Modeling
• investigate the domain of the customer
• find out what is important for the use case
• define domain model by stating• all subject types• their characteristics• and associations to other subjects
![Page 17: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/17.jpg)
17
After modeling...
• ideally, you should have some administrative CRUD interface now
• add domain-specific shapes for theend-user portal
[Not covered here: the dynamic perspective]
![Page 18: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/18.jpg)
18
ActiveTM
• ActiveTMML• the modeling language
• ActiveTM• a prototypical implementation• using Ruby and RTM
• Some assorted scripts which generate• Migrations, AR-Models, ...
![Page 19: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/19.jpg)
19
What does it look like?
class Person < ActiveTM::Base topic_map "http://psi.example.com/" psi "http://psi.example.com/ontology/person"
name :firstname names :middlenames name :lastname occurrence :age, :datatype => "xsd:integer" has_one :country, "inhabitant", "country-
inhabitant", :class => :Country
def fullname "#{firstname} #{lastname}" endend
![Page 20: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/20.jpg)
20
How is it used?
p = Person.create("johndoe")p.firstname = "John"p.add_middlename "George"p.lastname = "Doe"p.age = 25p.save
![Page 21: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/21.jpg)
21
Can I use it?
No.Not yet.Sorry.
![Page 22: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/22.jpg)
22
Schedule
What was?
What is?
What will be?
![Page 23: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/23.jpg)
23
What will be?
• depends on what we do...
![Page 24: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/24.jpg)
24
What we do
• write research proposal• do market research• do interviews
• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal
We‘re about here
![Page 25: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/25.jpg)
25
• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal
![Page 26: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/26.jpg)
26
• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal• write research proposal
![Page 27: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/27.jpg)
27
![Page 28: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/28.jpg)
28
![Page 29: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/29.jpg)
29
What we do
• create domain-specific portals
![Page 30: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/30.jpg)
30
![Page 31: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/31.jpg)
31
What we do
• create domain-specific portals• using context-specific Shapes
![Page 32: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/32.jpg)
32
![Page 33: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/33.jpg)
33
What we do
• create domain-specific portals• using context-specific Shapes• generate administration interfaces
![Page 34: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/34.jpg)
34
![Page 35: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/35.jpg)
35
What we do
• create domain-specific portals• using context-specific Shapes• generate administration interfaces• using just the list of characteristics
we want to have in list, show, and edit-view
![Page 36: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/36.jpg)
36
![Page 37: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/37.jpg)
37
What we doWhat will be?
• It‘s already in production (sort of...)• It‘s not pure Topic Maps, yet• But we‘re working on it
![Page 38: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/38.jpg)
38
Schedule
What was?
What is?
What will be?
![Page 39: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/39.jpg)
39
![Page 40: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/40.jpg)
40
kthxbai!
Images: bigfoto.com
![Page 41: ActiveTM - A Topic Maps - Object Mapper](https://reader036.fdocuments.in/reader036/viewer/2022062617/54c34c8e4a7959b4208b45ac/html5/thumbnails/41.jpg)
41
kthxbaiVariation of ‘kthxbye’– the internet bastardization of “OK, thank you, goodbye”.
source: http://www.urbandictionary.com/
see also:http://icanhascheezburger.com/
Images: bigfoto.com