Your SlideShare is downloading. ×
0
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009

896

Published on

AGX is a framework to handle transformations between trees of zodict-nodes. Its also known as a code generator for python, which uses the tree transformations to generate code from uml.

AGX is a framework to handle transformations between trees of zodict-nodes. Its also known as a code generator for python, which uses the tree transformations to generate code from uml.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
896
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
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. Lightning Talk Tree transformation with Python Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 2. Nodes and trees ● Node – Base object for building trees – Provides a dictionary like API and implements zope.interface.mapping.IFullMapping – Knows about it's position. It implements zope.location.interfaces.ILocation – Can be accessed flat. Nodes are accessible from each other via UID references ● Every data structure can be represented as tree, i.e. XML, UML, File System, SQL, LDAP Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 3. UML as node compliant tree Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 4. FS as node compliant tree Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 5. SQL as node compliant tree Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 6. IO System ● AGX IO System – Based on Nodes – Follows the interfaces provided by Node – Introduces ISource and ITarget, both derive from INode – ITarget promises to persist or dump the tree on __call__() in any way. Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 7. Tree transformation chain ● Iterate over all nodes of source tree and look up handlers, which are responsible for creating target nodes inside the target tree based on the information from the source node. ● Transformation chain components located in agx.core ● Finally target tree is called. Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 8. Tree transformation chain Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz
  • 9. Thank you! Robert Niederreiter <office@squarewave.at> Creative Commons Namensnennung- Keine kommerzielle Nutzung- 3.0 Österreich Lizenz

×