Post on 06-Jul-2015
description
Advanced Espresso Logic
Addressing Complexity
Typical Use Cases
• Retrieval
– Row Events – computed attributes, filtering
– Power SQL – power when you need it
– JavaScript Resources – invoke Web Service
– Request Events – audit, pre-create data
• Update
– Basic REST
• Audit
• Bill Of Materials
• Allocation
– Advanced Rest
• Clone
• Give Raise(aPercent)
Just showing simplicity of solution…
Details: http://docs.espressologic.com/docs/tutorial
Row Events
• Add Derived Attributes
• Row Filtering
Power SQL
• Full Power of SQL
• URL Parameters
JavaScript Resources
• Compute response in JavaScript
• E.g., invoke RESTful service (integrate corporate data)
Request Events - TBD
• Audit Requests
Audit
• Server-side Java Script
• Row is Domain Object (order)
• Reuse Library
Bill of Materials – Price Rollup
• 4 Rules to Recompute kit price when component price changes
Bill of Materials – Kit Explosion
• 4 Rules to order all components of a kit, recursively
Bill of Materials – Kit Explosion (2)
• Reusable set copy
Allocate Payment to Orders
• Reusable rule extension
Allocate Payment to Orders (2)
• Reusable rule extension
• Recipient orders
• Creating
Allocate Payment to Orders (2)
• Reusable rule extension
• Recipient orders
• Creating
Clone - TBD
• Deep Copy
Give Raise - TBD
• Rest arguments