Modeling RESTful applications

1,354 views
1,282 views

Published on

WS-REST 2011.
Second International Workshop on RESTful Design.
Chairs: Cesare Pautasso, Erik Wilde, Rosa Alarcon.
<br>
Hypermedia and Model-Driven Development Session. Silvia Schreier

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,354
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Modeling RESTful applications

  1. 1. University of Hagen - Faculty of Mathematics and Computer ScienceModeling RESTful applications Silvia Schreier Silvia Schreier - Chair of Data Processing Technology
  2. 2. University of Hagen - Faculty of Mathematics and Computer ScienceProblems during development§  Many frameworks for implementation support§  Concentration on technical details instead of design§  Lack of support for early phases§  No (standardized) design language§  A lot of natural language, e.g. best practices and patterns§  No model-driven development / code generation possible§  Possible solution: a REST metamodel Intention: discussing the current versionSlide 2 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  3. 3. University of Hagen - Faculty of Mathematics and Computer ScienceMetamodeling§  Abstract Syntax: possible elements and their relations §  Vocabulary§  Static Semantic: constraints for well-formed models §  Grammar§  Concrete Syntax: textual or visual languageSlide 3 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  4. 4. University of Hagen - Faculty of Mathematics and Computer ScienceExample: Web album§  Albums§  (excellent) Pictures§  Excellent pictures can be suggested and must be reviewedSlide 4 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  5. 5. University of Hagen - Faculty of Mathematics and Computer ScienceREST metamodel How does the Elements and application react their relations to requests?Slide 5 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  6. 6. University of Hagen - Faculty of Mathematics and Computer ScienceStructural Model – ResourceTypesSlide 6 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  7. 7. University of Hagen - Faculty of Mathematics and Computer ScienceStructural Model – OverviewSlide 7 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  8. 8. University of Hagen - Faculty of Mathematics and Computer ScienceStructural Model – ExampleSlide 8 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  9. 9. University of Hagen - Faculty of Mathematics and Computer ScienceBehavioral ModelSlide 9 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  10. 10. University of Hagen - Faculty of Mathematics and Computer ScienceBehavioral Model – Example§  States of SuggestionSlide 10 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  11. 11. University of Hagen - Faculty of Mathematics and Computer ScienceConclusion in futureSlide 11 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  12. 12. University of Hagen - Faculty of Mathematics and Computer ScienceFuture Work§  Application to various scenarios§  Testing vocabulary§  Adding more details§  Code generation for different languages§  Textual and visual language§  Modeling representations§  Connecting legacy systemsSlide 12 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  13. 13. University of Hagen - Faculty of Mathematics and Computer Science Thank you for your attention!Slide 13 3/30/11 Silvia Schreier - Chair of Data Processing Technology
  14. 14. University of Hagen - Faculty of Mathematics and Computer ScienceReferences§  M. Nottingham. Web Linking. Request for Comments: 5988. Internet Engineering Task Force (IETF), October 2010.§  M. Nottingham and R. Sayre. The atom syndication format. Request for Comments: 4287. Internet Engineering Task Force (IETF), December 2005.§  L. Richardson and S. Ruby. RESTful Web Services. OReilly Media, 2007.§  T. Stahl, M. Völter, S. Etinge, and A. Haase. Modellgetriebene Softwareentwicklung: Techniken, Engineering, Management. dpunkt.verlag, 2007.§  D. Steinberg, F. Budinsky, M. Paternostro, and E. Merks. EMF: Eclipse Modeling Framework. Addison-Wesley Longman, 2009.§  S. Tilkov. REST und HTTP: Einsatz der Architektur des Webs für Integrationsszenarien. dpunkt.verlag, 2009.Slide 14 3/30/11 Silvia Schreier - Chair of Data Processing Technology

×