• Like
DBXTalk: Smalltalk Relational Database Suite
Upcoming SlideShare
Loading in...5
×

DBXTalk: Smalltalk Relational Database Suite

  • 266 views
Uploaded on

Talk presented in ESUG 2011, Edinburgh, Scotland.

Talk presented in ESUG 2011, Edinburgh, Scotland.

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
266
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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. 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. DBXTalk is... 3 The complete and open-source solution to relational database access. Friday, August 26, 2011
  • 4. DBXTalk suite 4 OpenDBXDriver GlorpDBXGlorp port DBXToolsDBXBrowser 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
  • 6. 6 ... ... Friday, August 26, 2011
  • 7. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... Friday, August 26, 2011
  • 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. 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. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... ≠ ≠ ≠ ≠ Friday, August 26, 2011
  • 11. 6 Oracle client library MySQL client library PostgreSQL client library MSSQL client library ... ... ... ≠ ≠ ≠ ≠ Common API for all backends! Friday, August 26, 2011
  • 12. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  • 13. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  • 14. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk Friday, August 26, 2011
  • 15. Layers 7 OpenDBX Driver ... odbx_initodbx_bind odbx_query odbx_result odbx_raw_fetch F F I CSmalltalk 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 10 Scaffolding - Glorp - From tables -> automagic generation of classes, Glorp mappings and Magritte descriptions. Friday, August 26, 2011
  • 19. DBXBrowser UI for scaffolding. Query database. Visualize database metadata. 11 Friday, August 26, 2011
  • 20. DBXBrowser 12 Friday, August 26, 2011
  • 21. 13 New DBXTalk chapter!!! 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
  • 24. 16 Showtime! Friday, August 26, 2011
  • 25. Thanks! Mariano Martinez Peck marianopeck@gmail.com http://marianopeck.wordpress.com/ Friday, August 26, 2011