Story Telling
 !
 An Activity-oriented Architecture For NextGen Web Apps


                               ESIP Visioneers Group
                                              Sept 24th, 2012



Pat Cappelaere

E-Mail: pat@cappelaere.com
GitHub: cappelaere
Twitter; @cappelaere
LinkedIn: pat-cappelaere
GTalk: cappelaere@gmail.com
Skype: patrice_cappelaere

                                                                1
REST
                     Award        SOA                SWG chair


                     SensorWeb




EO-1


            FUSE
                             Pat Cappelaere


                                         Software Architect
  First Expert Clementine
 System To Fly
In Space 1994                                     API Craft

                 NAVY                         This Presentation   2
People Do Not Want
 More Information



                     3
People Want
  Stories


              4
People Want


    Listen Read Write Share Remember
   Participate Follow Like Believe Forward
                Forget Create




                                 Stories
                                             5
Tomorrow’s Web API Not for Humans
                            Your Web APP Here
        Welcome SIRI




User Here
                                            6
REST
I Hope You Are Already There    L. Richardson          Level 2-3
                                http://martinfowler.com/articles/richardsonMaturityModel.html



That Would Be Step 1...
                            Cloud
                                                                          Tweets


                          Web
                                                                           Feeds
                          App

                                                                           Activity
                                                                           Streams

                                 http://activitystrea.ms/


                                                                                      7
And Make Sure to Add This

Security Fence
                                                     Tweets


                User                       Web
                Agent                                Feeds
                                           App

                                                     Activity
                                                     Streams



With Distributed User Authentication/Authorization
And Delegation of User Authority to Applications
And Attribute Exchange
                                                             8
Then Get There

That Would Be Step 3...

                                               Tweets


                           Web
                                               Feeds
                           App

                                               Activity
                                               Streams




                          But Not Your Kids Facebook   9
Social Science
                         Linked
    Semantic Web          Data
                                        Tweets
        RDFa
                   Web
                                        Feeds
                   App

                                        Activity
                                        Streams
Distributed Open
 Graph Protocol
 http://ogp.me/           Define Activities
                                             10
What’s An Activity?

 {user} {verb} {object} [{target}]


                    It is a Semantic and Ontology
                     Problem That Can (and Will)
                            Evolve Over Time



         Good News: This Can Be Decoupled From The Underlying Code
                                                                     11
What’s An Activity-based API?

 - {verb} {object} [{target}]
  + Method (GET/POST...)             Activity Opportunity

  + Contraints... (Cost, Duration...)

  ...




        An API That Publishes High Level “Activity” Resources
                                                            12
Why Is This Important?                                                                            REST Level 4?

                                                                                                    Linked
                                                                                                     Data
                                                                                                                             Tweets

                                               Perform
                      User                                                              Web
                      Agent                                                             App                                  Feeds



  Goal                             Search                                                                                    Activity
Actions...                                                                                                                   Streams
                                                               Index



Stu Charlton
Linking Data Actions
https://github.com/RESTFest/2012-greenville/blob/master/presentation/linking%20data%20actions.pdf    Level 5? (Game AI...)       13
Level 5?
Think Game AI... but simpler!

      Linked Behavior Trees


             User                                   Web
             Agent                                  App
                                  Execute




                         Search             Index




                                                                 14
Wrap-up
From User Stories to Activity Streams and User Stories..
End to End
                                                            Activity Streams

                            Web App
                                                 Facebook Timeline/ News Feed

                   Design           Execute
                            User


   User Stories
                                                 User Stories

                                   Linked Data




Story Telling: Activity-Oriented Architecture For NextGen Apps                  15

Story Telling as an Activity-based Architecture

  • 1.
    Story Telling ! An Activity-oriented Architecture For NextGen Web Apps ESIP Visioneers Group Sept 24th, 2012 Pat Cappelaere E-Mail: pat@cappelaere.com GitHub: cappelaere Twitter; @cappelaere LinkedIn: pat-cappelaere GTalk: cappelaere@gmail.com Skype: patrice_cappelaere 1
  • 2.
    REST Award SOA SWG chair SensorWeb EO-1 FUSE Pat Cappelaere Software Architect First Expert Clementine System To Fly In Space 1994 API Craft NAVY This Presentation 2
  • 3.
    People Do NotWant More Information 3
  • 4.
    People Want Stories 4
  • 5.
    People Want Listen Read Write Share Remember Participate Follow Like Believe Forward Forget Create Stories 5
  • 6.
    Tomorrow’s Web APINot for Humans Your Web APP Here Welcome SIRI User Here 6
  • 7.
    REST I Hope YouAre Already There L. Richardson Level 2-3 http://martinfowler.com/articles/richardsonMaturityModel.html That Would Be Step 1... Cloud Tweets Web Feeds App Activity Streams http://activitystrea.ms/ 7
  • 8.
    And Make Sureto Add This Security Fence Tweets User Web Agent Feeds App Activity Streams With Distributed User Authentication/Authorization And Delegation of User Authority to Applications And Attribute Exchange 8
  • 9.
    Then Get There ThatWould Be Step 3... Tweets Web Feeds App Activity Streams But Not Your Kids Facebook 9
  • 10.
    Social Science Linked Semantic Web Data Tweets RDFa Web Feeds App Activity Streams Distributed Open Graph Protocol http://ogp.me/ Define Activities 10
  • 11.
    What’s An Activity? {user} {verb} {object} [{target}] It is a Semantic and Ontology Problem That Can (and Will) Evolve Over Time Good News: This Can Be Decoupled From The Underlying Code 11
  • 12.
    What’s An Activity-basedAPI? - {verb} {object} [{target}] + Method (GET/POST...) Activity Opportunity + Contraints... (Cost, Duration...) ... An API That Publishes High Level “Activity” Resources 12
  • 13.
    Why Is ThisImportant? REST Level 4? Linked Data Tweets Perform User Web Agent App Feeds Goal Search Activity Actions... Streams Index Stu Charlton Linking Data Actions https://github.com/RESTFest/2012-greenville/blob/master/presentation/linking%20data%20actions.pdf Level 5? (Game AI...) 13
  • 14.
    Level 5? Think GameAI... but simpler! Linked Behavior Trees User Web Agent App Execute Search Index 14
  • 15.
    Wrap-up From User Storiesto Activity Streams and User Stories.. End to End Activity Streams Web App Facebook Timeline/ News Feed Design Execute User User Stories User Stories Linked Data Story Telling: Activity-Oriented Architecture For NextGen Apps 15