Your SlideShare is downloading. ×
Creating web services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Creating web services

242
views

Published on

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

Published in: Technology, Business

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

  • Be the first to like this

No Downloads
Views
Total Views
242
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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