RESTify your AppsThe pyOCCI moduleThijs MetschSenior Software Engineer Grid and Cloud Technologytmetsch@platform.com
To RESTify your AppsorHow to Provide a Service to your customers{whatever}-Layer
How? / What? (Resource-aaS)Create, Retrieve, Update and Delete Resources Your AppWhat is a Resource?ResourcesPerform Actions and Link ResourcesExpose Resources across Boundaries
What is a Resource?The URI  (Resource representation)http://example.com/foo/bar can be:
Pool of ResourcesWhat do you need?ResourceHow to identify, query, list, handle, link, group, perform actions and tag resources?ResourceResourceResourceResourceResourceResource
What it is 1It’s Capabilities 2What it belongs to (grouping) 3What Categories tells youabout a Resource:
HTTPThe only thing you need to do…Pool of ResourcesResourcepyOCCImoduleResourceResourceResourceHTTPResourceResourceResourceThe ‘glue’You ApppyREST takes care of this
You NEED to:Map you Resources to REST-Resources by implementing:Create, Retrieve, Update, Delete and Action routines
You GET for free:A interface to your Resources, a way to identify a resources, manage resources, query capabilities, external RESTful interface, an integration point, a (Cloud) Service, Beer,…pyREST module deals with all the hard issues:HTTP, Content-Types, Security, Query interface, Renderings etc.
Flexible/Modular/Clear SeparationA Look inside of pyOCCIBackendHTTP HeaderRenderingYour AppBackendHTTP text/uri-list RenderingOCCIModel*BackendHTTPHandlingHTTP text/plain RenderingBackendHandles HTTP verbs (POST,PUT,DELETE,GET) & stuff (REST, Security, etc.)HTTP text/html Rendering…Backend defines categories it can handle(Automatic selection)Map HTTP Data to OCCI Model(Automatic selection)* http://www.occi-wg.org
Examples (1)Query int – shows what this Service can handle
Examples (2)Create New…What is it?See Query int.Actions & LinksAttributes
Examples (3)Basically any Programming Language (Integration)CLI
?The pyOCCI module is part of pySSF: http://pyssf.sf.netVersion: 0.2.19(This is pre- (Do not try this at home) -Alpha Software - also in pypi)LGPL Licensed© Platform Computing
BACKUP
Documentation
CI (Testing, etc…)
Code Quality
Work In Progress

More Related Content

PPT
PPT
Poli 2.0 - APIs
PPTX
Meanstack overview
PDF
Observable Node.js Applications - EnterpriseJS
PPTX
Doing More with Less: Mash Your Way to Productivity
PPTX
Doing More with Less: Mash Your Way to Productivity
PDF
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
PDF
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Poli 2.0 - APIs
Meanstack overview
Observable Node.js Applications - EnterpriseJS
Doing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to Productivity
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...

Similar to Restify Your Apps (20)

PPT
Modified REST Presentation
PDF
O reilly sacon2018nyc - restful api design - master - v1.0
PPTX
Building Valuable Restful APIs - HRPHP 2015
PDF
Restful Best Practices
PPTX
Api best practices
PPTX
REST Architecture with use case and example
PPTX
REST Architecture with use case and example
PPT
2004 01 10 Chef Sa V01
PPT
REST Presentation
PPTX
Rest and Rails
PDF
Analysis of Enterprise Shared Resource Invocation Scheme based on Hadoop and R
PDF
ANALYSIS OF ENTERPRISE SHARED RESOURCE INVOCATION SCHEME BASED ON HADOOP AND R
PDF
ReSTful API Final
PPTX
FHIR intro and background at HL7 Germany 2014
PDF
Moving into API documentation writing
PPTX
A comparative study between commercial and open source discovery tools
PPTX
JAX-RS. Developing RESTful APIs with Java
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PPT
Treinamento 1
PDF
xAPI Camp - Learning Solutions
Modified REST Presentation
O reilly sacon2018nyc - restful api design - master - v1.0
Building Valuable Restful APIs - HRPHP 2015
Restful Best Practices
Api best practices
REST Architecture with use case and example
REST Architecture with use case and example
2004 01 10 Chef Sa V01
REST Presentation
Rest and Rails
Analysis of Enterprise Shared Resource Invocation Scheme based on Hadoop and R
ANALYSIS OF ENTERPRISE SHARED RESOURCE INVOCATION SCHEME BASED ON HADOOP AND R
ReSTful API Final
FHIR intro and background at HL7 Germany 2014
Moving into API documentation writing
A comparative study between commercial and open source discovery tools
JAX-RS. Developing RESTful APIs with Java
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
Treinamento 1
xAPI Camp - Learning Solutions
Ad

More from befreax (8)

PDF
Suricate
PPTX
OCCI Specification Walkthrough
PDF
Open Cloud Computing Interface - OCCI Status update
PDF
OCCI status update
PDF
Cloud Comp Challenges
PDF
CCA09 Cloud Computing Standards and OCCI
PDF
OCCI Introduction
PDF
Open Cloud Frameworks - Open Standards for the Cloud Community
Suricate
OCCI Specification Walkthrough
Open Cloud Computing Interface - OCCI Status update
OCCI status update
Cloud Comp Challenges
CCA09 Cloud Computing Standards and OCCI
OCCI Introduction
Open Cloud Frameworks - Open Standards for the Cloud Community
Ad

Recently uploaded (20)

PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
STKI Israel Market Study 2025 version august
PPT
What is a Computer? Input Devices /output devices
PDF
Five Habits of High-Impact Board Members
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Geologic Time for studying geology for geologist
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
CloudStack 4.21: First Look Webinar slides
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
Build Your First AI Agent with UiPath.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Module 1.ppt Iot fundamentals and Architecture
sustainability-14-14877-v2.pddhzftheheeeee
Zenith AI: Advanced Artificial Intelligence
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Custom Battery Pack Design Considerations for Performance and Safety
Enhancing plagiarism detection using data pre-processing and machine learning...
NewMind AI Weekly Chronicles – August ’25 Week III
STKI Israel Market Study 2025 version august
What is a Computer? Input Devices /output devices
Five Habits of High-Impact Board Members
Taming the Chaos: How to Turn Unstructured Data into Decisions
Geologic Time for studying geology for geologist
1 - Historical Antecedents, Social Consideration.pdf
CloudStack 4.21: First Look Webinar slides
The influence of sentiment analysis in enhancing early warning system model f...
A review of recent deep learning applications in wood surface defect identifi...
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Build Your First AI Agent with UiPath.pptx

Restify Your Apps

  • 1. RESTify your AppsThe pyOCCI moduleThijs MetschSenior Software Engineer Grid and Cloud Technologytmetsch@platform.com
  • 2. To RESTify your AppsorHow to Provide a Service to your customers{whatever}-Layer
  • 3. How? / What? (Resource-aaS)Create, Retrieve, Update and Delete Resources Your AppWhat is a Resource?ResourcesPerform Actions and Link ResourcesExpose Resources across Boundaries
  • 4. What is a Resource?The URI (Resource representation)http://example.com/foo/bar can be:
  • 5. Pool of ResourcesWhat do you need?ResourceHow to identify, query, list, handle, link, group, perform actions and tag resources?ResourceResourceResourceResourceResourceResource
  • 6. What it is 1It’s Capabilities 2What it belongs to (grouping) 3What Categories tells youabout a Resource:
  • 7. HTTPThe only thing you need to do…Pool of ResourcesResourcepyOCCImoduleResourceResourceResourceHTTPResourceResourceResourceThe ‘glue’You ApppyREST takes care of this
  • 8. You NEED to:Map you Resources to REST-Resources by implementing:Create, Retrieve, Update, Delete and Action routines
  • 9. You GET for free:A interface to your Resources, a way to identify a resources, manage resources, query capabilities, external RESTful interface, an integration point, a (Cloud) Service, Beer,…pyREST module deals with all the hard issues:HTTP, Content-Types, Security, Query interface, Renderings etc.
  • 10. Flexible/Modular/Clear SeparationA Look inside of pyOCCIBackendHTTP HeaderRenderingYour AppBackendHTTP text/uri-list RenderingOCCIModel*BackendHTTPHandlingHTTP text/plain RenderingBackendHandles HTTP verbs (POST,PUT,DELETE,GET) & stuff (REST, Security, etc.)HTTP text/html Rendering…Backend defines categories it can handle(Automatic selection)Map HTTP Data to OCCI Model(Automatic selection)* http://www.occi-wg.org
  • 11. Examples (1)Query int – shows what this Service can handle
  • 12. Examples (2)Create New…What is it?See Query int.Actions & LinksAttributes
  • 13. Examples (3)Basically any Programming Language (Integration)CLI
  • 14. ?The pyOCCI module is part of pySSF: http://pyssf.sf.netVersion: 0.2.19(This is pre- (Do not try this at home) -Alpha Software - also in pypi)LGPL Licensed© Platform Computing