Creating web services
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Creating web services

on

  • 349 views

How to create twitter-like webservices. See also http://stage.vambenepe.com/archives/1801#comment-1075 and http://www.infoq.com/news/2011/09/ArchitecturalMirages

How to create twitter-like webservices. See also http://stage.vambenepe.com/archives/1801#comment-1075 and http://www.infoq.com/news/2011/09/ArchitecturalMirages

Statistics

Views

Total Views
349
Views on SlideShare
349
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Creating web services Presentation Transcript

  • 1. Creating API for your web application
    Adam Nemeth, @aadaam
  • 2. Every webapp can be ported to the mvc pattern
    Theorem I.
  • 3. Every webapp can be ported to the entities-services-templates pattern
    Theorem II. (this is what actually happens mostly)
  • 4. IF YOUR TEMPLATES ARE FREE OF business LOGIC, SERVICES CAN BE SEPARATED
    Theorem III.
    Free of logic: See [Parr,2002]
  • 5. YOU can always divide your templates to contextual and non-contextual to the given service
    Theorem IV.
    i.e. Master Layout and service-specific template
  • 6. Publish the data you fill your templates with their raw structure
    Step 1.
    i.e. serialize the key-value map of your template as JSON
  • 7. Make your services available without the non-service context templates as well
    Step 2.
    i.e. to do HIJAX
  • 8. Make your authorization abstract to your services
    Step 3.
  • 9. Control 3rd party access to your services
    Step 4
    i.e. create an OAuth-gateway
  • 10. Separate all of your services to this layer and create only services your application uses
    Invariant through the project