TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
DBXTalk
1. I n g . m a r i a n o m a rt i n e z p e c k
m a r i a n o p e c k @ g m a i l . c o m
h t t p : / / m a r i a n o p e c k . w o r d p r e s s . c o m /
1
Friday, August 26, 2011
2. THANKS a lot!!!
SummerTalk 2011
Students: Guillermo Polito, Santiago Bragagnolo and Gisela
Decuzzi.
Mentors: Mariano Martínez Peck, Esteban Lorenzano and
Diogenes Moreira.
2
Friday, August 26, 2011
3. DBXTalk is...
The complete and open-source
solution to relational database access.
3
Friday, August 26, 2011
4. DBXTalk suite
Glorp port GlorpDBX
OpenDBXDriver
DBXBrowser DBXTools
4
Friday, August 26, 2011
5. OpenDBXDriver
Formerly known as SqueakDBX.
It is the database driver.
It wraps the C library OpenDBX.
5
Friday, August 26, 2011
8. Oracle uses oci.h and libclntsh
It has N functions.
Examples: OCIHandleAlloc(), OCIServerAttach(),
OCISessionEnd(), etc.
Oracle
client
MySQL
client
library
PostgreSQL
client
library
... MSSQL
client
library library
...
...
6
Friday, August 26, 2011
9. MySQL uses mysql.h and libmysqlclient_r
It has M functions.
Examples: mysql_real_connect(), mysql_server_end(),
mysql_real_query(), etc.
Oracle
client
MySQL
client
library
PostgreSQL
client
library
... MSSQL
client
library library
...
...
6
Friday, August 26, 2011
11. Common API for all backends!
Oracle
client ≠
MySQL
client
library
≠
PostgreSQL
client
library
≠ ... ≠ MSSQL
client
library library
...
...
6
Friday, August 26, 2011
12. Layers
odbx
_init
odbx_b
ind
F
OpenDBX odbx_query
Driver
F ... esult
r
I o dbx_ etch
f
r aw_
od bx_
Smalltalk C
7
Friday, August 26, 2011
13. Layers
odbx
_init
odbx_b
ind
F
OpenDBX odbx_query
Driver
F ... esult
r
I o dbx_ etch
f
r aw_
od bx_
Smalltalk C
7
Friday, August 26, 2011
14. Layers
odbx
_init
odbx_b
ind
F
OpenDBX odbx_query
Driver
F ... esult
r
I o dbx_ etch
f
r aw_
od bx_
Smalltalk C
7
Friday, August 26, 2011
15. Layers
odbx
_init
odbx_b
ind
F
OpenDBX odbx_query
Driver
F ... esult
r
I o dbx_ etch
f
r aw_
od bx_
Smalltalk C
7
Friday, August 26, 2011
16. Glorp port
Port latest Glorp from VisualWorks to
Pharo.
Try to automatize that task as much as
possible.
Document the process.
8
Friday, August 26, 2011
17. GlorpDBX
The “glue” (Glorp database driver) between
Glorp and OpenDBXDriver.
9
Friday, August 26, 2011
18. DBXTools
Scaffolding - Glorp -
From tables -> automagic generation of
classes, Glorp mappings and Magritte
descriptions.
10
Friday, August 26, 2011
19. DBXBrowser
UI for scaffolding.
Query database.
Visualize database metadata.
11
Friday, August 26, 2011
22. Current state
OpenDBXDriver version 1.0 released.
OpenDBXDriver is working with most databases
and in most OS.
Glorp '7.7.1 - 19’ (distributed with VW 7.7.1)
ported to Pharo.
GlorpDBX is working with MySQL, Oracle,
PostgreSQL and SQLite3. Release: SOON.
DBXTools and DBXBrowser still in development.
14
Friday, August 26, 2011
23. Future work
Continue developing DBXBrowser (port to
Glamour) and DBXTools.
Add more backends to GlorpDBX.
New website, documentation, continue PBE
chapter, etc.
Port OpenDBXDriver to GLASS?
Glorp ActiveRecord port?
15
Friday, August 26, 2011