Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Round Trip in GLORP


Published on

Ttile: Round Trip in GLORP
Speaker: Niall Ross
Thu, August 21, 11:30am – 12:00pm


This talk refactors the application of the earlier tutorial to use more advanced Glorp techniques. These refactorings are shown in the context of Modelling/Mapping tools (from Cincom ObjectStudio), database drivers and web techniques, to demo end-to-end development.

Niall Ross ended his undergraduate career with two intellectual interests: computing and the theory of relativity. A quick check of how much commercial work was available to relativity and gravitation theorists decided him to do academic research in that field and then seek a commercial job in computing, rather than the other way round. Niall started working commercially in IT in 1985. He was at first assigned to designing and implementing software engineering process improvements and only three years later did he begin significant writing and delivering of commercial software. This experience taught him that intelligent people can nevertheless form foolish ideas about software engineering if they have not worked at the coding coalface of real large commercial projects.

Published in: Software
  • Video:
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Round Trip in GLORP

  1. 1. 1 Welcome August 21, 2014 World Headquarters Cincinnati, Ohio Round Trip in GLORP Niall Ross, Dirk Verleysen, Vlad Degen Cincom® VisualWorks® Cincom® ObjectStudio®
  2. 2. What is GLORP? •Generic: abstract, declarative, multi-platform f/w •Lightweight: looks like Smalltalk session read: Customer where: [:each | each orders size > 0] •Object: general hierarchic OO models no ActiveRecord-like style restriction remains flexible throughout the lifecycle •Relational: embedded or bound SQL •Persistence: transactions, constraints, indexes
  3. 3. GLORP Architecture Image Relational Database EXternal Database Interface GLORP GlorpSession UnitOfWork DatabaseAccessor ExternalDatabaseTransaction Transaction Domain Class GlorpClassModel Descriptor DescriptorSystem DatabaseTable DatabaseField DatabaseIndex DatabaseTableConstraint Mapping Join Table Column Index Constraint GlorpAttributeModel instvar
  4. 4. What is the round trip •Mapping Tool: read database, generate Glorp map existing classes or generate classes •Modeling Tool: understand domain, improve mapping •Refactor the GLORP model: complex dictionary mappings •key map doubles as second link table •dictionary can defer development decisions •Use the refactoring: (very) simple web app
  5. 5. The Demo System: a Whisky website
  6. 6. System Design: Modelling Whisky
  7. 7. What have we seen •Mapping Tool: read database, generate GLORP descriptor system map existing classes or generate classes •Modeling Tool: display and manage the domain •Refactor in GLORP: better GLORP support of dictionary mappings •Display in AppeX on SiouX
  8. 8. 2014 Cincom Systems, Inc. All Rights Reserved Developed in the U.S.A. CINCOM and the Quadrant Logo are registered trademarks of Cincom Systems, Inc. All other trademarks belong to their respective companies.
  9. 9. Contact info •Glorp nross, dwallen, Glorp, Tools tkogan, jkott, AppeX and SiouX •Star Team (Smalltalk Strategic Resources)  Smalltalk Director  Smalltalk Product Manager  Smalltalk Marketing Manager •And for all your whisky needs, Dirk @ Dram 242 !