1
I n g . m a r i a n o m a r t 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 ...
THANKS a lot!!!
2
SummerTalk 2011
Students: Guillermo Polito, Santiago Bragagnolo and Gisela
Decuzzi.
Mentors: Mariano Mar...
DBXTalk is...
3
The complete and open-source
solution to relational database access.
Friday, August 26, 2011
DBXTalk suite
4
OpenDBXDriver
GlorpDBXGlorp port
DBXToolsDBXBrowser
Friday, August 26, 2011
OpenDBXDriver
Formerly known as SqueakDBX.
It is the database driver.
It wraps the C library OpenDBX.
5
Friday, August 26,...
6
...
...
Friday, August 26, 2011
6
Oracle
client
library
MySQL
client
library
PostgreSQL
client
library
MSSQL
client
library
...
...
...
Friday, August 26,...
6
Oracle
client
library
MySQL
client
library
PostgreSQL
client
library
MSSQL
client
library
...
...
...
Oracle uses oci.h ...
6
Oracle
client
library
MySQL
client
library
PostgreSQL
client
library
MSSQL
client
library
...
...
...
MySQL uses mysql.h...
6
Oracle
client
library
MySQL
client
library
PostgreSQL
client
library
MSSQL
client
library
...
...
...
≠ ≠ ≠ ≠
Friday, Au...
6
Oracle
client
library
MySQL
client
library
PostgreSQL
client
library
MSSQL
client
library
...
...
...
≠ ≠ ≠ ≠
Common API...
Layers
7
OpenDBX
Driver
...
odbx_initodbx_bind
odbx_query
odbx_result
odbx_raw_fetch
F
F
I
CSmalltalk
Friday, August 26, 2...
Layers
7
OpenDBX
Driver
...
odbx_initodbx_bind
odbx_query
odbx_result
odbx_raw_fetch
F
F
I
CSmalltalk
Friday, August 26, 2...
Layers
7
OpenDBX
Driver
...
odbx_initodbx_bind
odbx_query
odbx_result
odbx_raw_fetch
F
F
I
CSmalltalk
Friday, August 26, 2...
Layers
7
OpenDBX
Driver
...
odbx_initodbx_bind
odbx_query
odbx_result
odbx_raw_fetch
F
F
I
CSmalltalk
Friday, August 26, 2...
Glorp port
Port latest Glorp from VisualWorks to
Pharo.
Try to automatize that task as much as
possible.
Document the proc...
GlorpDBX
The “glue” (Glorp database driver) between
Glorp and OpenDBXDriver.
9
Friday, August 26, 2011
DBXTools
10
Scaffolding - Glorp -
From tables -> automagic generation of
classes, Glorp mappings and Magritte
descriptions...
DBXBrowser
UI for scaffolding.
Query database.
Visualize database metadata.
11
Friday, August 26, 2011
DBXBrowser
12
Friday, August 26, 2011
13
New DBXTalk chapter!!!
Friday, August 26, 2011
Current state
OpenDBXDriver version 1.0 released.
OpenDBXDriver is working with most databases
and in most OS.
Glorp '7.7....
Future work
Continue developing DBXBrowser (port to
Glamour) and DBXTools.
Add more backends to GlorpDBX.
New website, doc...
16
Showtime!
Friday, August 26, 2011
Thanks!
Mariano Martinez Peck
marianopeck@gmail.com
http://marianopeck.wordpress.com/
Friday, August 26, 2011
Upcoming SlideShare
Loading in …5
×

DBXTalk: Smalltalk Relational Database Suite

804 views

Published on

Talk presented in ESUG 2011, Edinburgh, Scotland.

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
804
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

DBXTalk: Smalltalk Relational Database Suite

  1. 1. 1 I n g . m a r i a n o m a r t 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 / Friday, August 26, 2011
  2. 2. THANKS a lot!!! 2 SummerTalk 2011 Students: Guillermo Polito, Santiago Bragagnolo and Gisela Decuzzi. Mentors: Mariano Martínez Peck, Esteban Lorenzano and Diogenes Moreira. Friday, August 26, 2011
  3. 3. DBXTalk is... 3 The complete and open-source solution to relational database access. Friday, August 26, 2011
  4. 4. DBXTalk suite 4 OpenDBXDriver GlorpDBXGlorp port DBXToolsDBXBrowser Friday, August 26, 2011
  5. 5. OpenDBXDriver Formerly known as SqueakDBX. It is the database driver. It wraps the C library OpenDBX. 5 Friday, August 26, 2011
  6. 6. 6 ... ... Friday, August 26, 2011
  7. 7. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... Friday, August 26, 2011
  8. 8. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... Oracle uses oci.h and libclntsh It has N functions. Examples: OCIHandleAlloc(), OCIServerAttach(), OCISessionEnd(), etc. Friday, August 26, 2011
  9. 9. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... MySQL uses mysql.h and libmysqlclient_r It has M functions. Examples: mysql_real_connect(), mysql_server_end(), mysql_real_query(), etc. Friday, August 26, 2011
  10. 10. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... ≠ ≠ ≠ ≠ Friday, August 26, 2011
  11. 11. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... ≠ ≠ ≠ ≠ Common API for all backends! Friday, August 26, 2011
  12. 12. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  13. 13. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  14. 14. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  15. 15. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  16. 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. 17. GlorpDBX The “glue” (Glorp database driver) between Glorp and OpenDBXDriver. 9 Friday, August 26, 2011
  18. 18. DBXTools 10 Scaffolding - Glorp - From tables -> automagic generation of classes, Glorp mappings and Magritte descriptions. Friday, August 26, 2011
  19. 19. DBXBrowser UI for scaffolding. Query database. Visualize database metadata. 11 Friday, August 26, 2011
  20. 20. DBXBrowser 12 Friday, August 26, 2011
  21. 21. 13 New DBXTalk chapter!!! Friday, August 26, 2011
  22. 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. 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
  24. 24. 16 Showtime! Friday, August 26, 2011
  25. 25. Thanks! Mariano Martinez Peck marianopeck@gmail.com http://marianopeck.wordpress.com/ Friday, August 26, 2011

×