espresso introduction
DESCRIPTION
Espresso Logic builds and runs RESTful servers for SQL databases, with advanced support for row/column level security, and business logic by JavaScript events and Reactive Programming.TRANSCRIPT
Espresso Logic Introduction
REST/JSON Architecture
Agility
SOA
BYOD
B2B
{JSON}
REST Server
SQLDatabase
Any device,
Anywhere!
RESTListener
.JSON
Handler
Events / Methods
Domain Objects
Persistence Framework
Rich Objects
Security
Integrity
Resource/ ObjectMapping
Logic5-10 Pages /
TableJersey
Jackson JPA (3 Pages /
Table)
Reference Implementation
We need a simple mobile app... spec is only 1 page
Umm.. I was thinking a few hours
Sure… a few
weeks…
The Problem – Today’s Reality
The Next Generation
1. Rest API: Forms
2. Row/Column Security: Filters
3. Business logic: Events,
Reactive
Proven Technology
10X faster
Espresso
only
Over 90% time savings
Reduced maintenance
Reduced documentation
Why Customers Love Espresso Logic
Speed of reactive programming with the power of JavaScript
Use with any front-end
Deploy in Cloud or on premise
{JSON}
Espresso Server
RESTfulEspresso Servers
Access Control Services
Use Case – Read Only Access to Data
{JSON}
Employees
Customers
Partners
Espresso Server
{JSON}
RESTfulEspresso Server(s)
Access Control
Business Logic
Use Case – Mobile and Web Applications
SQL
Use Case – Complex Enterprise Applications
Espresso Server{JSON}
RESTfulEspresso Servers
Access Control
Databases
Business Logic
SOA ServicesB2B
integration
External Backends
External Backends
SQL
SOA calls
Data Model
name, balance, credit_limit
amount_total, paid price
qty_ordered, product_price, amount
product_price = copy(product.price)
amount = product_price * qty_ordered
amount_total = sum (lineitem amount)
balance = sum (unpaid orders.amount_total)
balance < credit_limitCustomer
Orders
LineItem
Product
Time to Market, plus…
Issue Espresso
Documentation The executable cocktail napkin
Maintenance Automatic ordering – eliminates the archaeology of maintenance
Quality Automatic reuse – logic applied to every use case
Performance Automatic optimization – automatics enterprise design patterns
Manufacturing and Capacity Planning Application
Inputs• Orders• Machines– Run rate– Setup time
• ABC code– Product priority– Customer
priority
Application manages and plans and optimizes factory operations for a Fortune 1000 company
Processing
Used to be 9 people full time
using Excel
Now takes 20 to 30 minutes per
day
Outputs
• Raw materials orders
• Factory plan
Demo Slides
Build a RESTful API
1. Register your database URL
2. Select Tables (joins automated)
3. Optional Alias / Project
Security: Row Level Access Control
Active Server
Authenticate
Espresso or Corporate
Authentication Provider
ID, Credentials
Roles
Filters, injected into requests
Active Server
Authorize
Role/TablePermission
Filters
Espresso Logic
Designer
Row/Column Security
1. Filter applied to all GETs2. For all purchaseorder
Resources
Reactive: the Executable Specification
Logic Events
1. Full Control
2. Domain/Object model
(row)
Enterprise Integration
1. Request Events
2. Invoke RESTful service