• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
C01
 

C01

on

  • 274 views

 

Statistics

Views

Total Views
274
Views on SlideShare
274
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    C01 C01 Presentation Transcript

    • IBM’s Web 2.0 Strategy: Products And ThemesRaymond Josef Edward A. LaraRegional Technical Team, ASEAN SW Lab Services
    • WebSphere Technical Conference 2008 What Is Web 2.0 Term coined by Tim O’Reilly for the next generation of web applications and software in general Shows a paradigm shift where applications are not dependent on technology but by the social factor…the “American Idol” phenomenon Web applications, since their inception, has been one big proof-of-concept showing that the technology works, Web 2.0 is about what the technology is used for: to serve content and incite participation Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 1© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Concepts Behind Web 2.0 Embrace the “long tail” The inmates have taken over the Current web applications just expose the “head” asylum Web 2.0 apps reaches back as far as needed to The more freedom users have the more they get content can enrich the application Content focus Some rights may have to be given up to the user Web 2.0 hinges on content, lots of it Constant refinement Critical mass needs to be achieved to bring out There is no such thing as a “final version” in the worthy 20% but the other still 80% needs to Web 2.0 web apps be there As long as users keep coming back the web Power to the users application is in “perpetual beta” Web 2.0 is what the Internet is all about: choice Cooperate, don’t control Users must be given freedom to determine what Work with the users, build a framework for them “clicks” and this will lead others to follow to operate with but don’t restrict How many times have you heard: “Did you see See “On The Lot” and “Google Gadgets” that new video in YouTube?” Multi-channel Webmasters demoted to administrators The browser is not the only platform to present Webmasters are delegated to just managing the Web 2.0 infrastructure and for technical support Mobile Phones, PDAs, Web Kiosk Terminals, Content control and even presentation is entirely and even desktop applications up to the users Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 2© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 IBM’s Web 2.0 Strategy Technology Techniques/Services AJAX Mashups REST Composite Applications JSON Tagging RSS Folksonomy ATOM Blogging Wikis Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 3© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 AJAX Stands for Asynchronous JavaScript and XML AJAX is not a new technology or programming language, but a new way to use existing standards and mechanisms With AJAX you can create better, more dynamic, and more user- friendly web applications that incorporates features that were previously only seen in desktop applications (e.g. drag and drop) Dojo Toolkit – Widely supported AJAX framework Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 4© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Traditional Web Applications Client User interaction with page User interaction… triggers HTTP request… Client refreshes whole page based on new HTML HTTP request HTTP response Application Server Request processed and HTML page generated Time Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 5© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 AJAX Web Applications Client User interaction with page User interaction… triggers AJAX action… JavaScript invoked to Client refreshes part of a page handle request based on new XML data or HTML JavaScript HTTP request HTTP response Application Server Request processed and XML data or HTML page fragment generated Time Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 6© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 REST Stands for Representational State Transfer Conceptualized by Roy Fielding in his doctoral dissertation which became the architectural model for HTTP (and therefore the World- Wide Web) Characteristics: Client-Server – Uses a request-response type of interaction Stateless – The request must hold all information necessary to accomplish the interaction and should not rely on any server context Uniform Interface – The request makes use of set methods to determine the type of access (GET, PUT, POST, DELETE) Named Resources – The request must name the resource to be accessed from the server Works well with AJAX Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 7© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 More On REST REST is not a standard W3C will not put out a specification for REST Vendors will not sell a toolkit for REST REST is a design pattern It is not packaged, it is implemented REST uses standards HTTP URI/URL XML, HTML, GIF, JPEG (resource representations) text/xml, text/html, image/gif, image/jpeg (MIME types) Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 8© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 REST In Action This is an example of how REST can be used in an application such as a customer relationship management system Action URI Method Representation Retrieve all customers ../crm/customer GET Atom Retrieve a customer ../crm/customer/cust1225 GET JSON Update a customer’s information ../crm/customer/cust1225 POST XML Retrieve a customer’s purchases ../crm/customer/cust1225/item GET Atom Retrieve a customer’s purchase ../crm/customer/cust1225/item/it301 GET JSON Enter a customer’s new purchase ../crm/customer/cust1225/item PUT XML Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 9© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 REST vs. RPC RPC REST The URI calls the method The URI is the method Data oriented Document oriented All resources use the same URI Unique URI per resource Protocol neutral Designed for HTTP Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 10© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 What About Web Services? Web services is an excellent technology For systems integration and business processes Generally, for computer-to-computer solutions Web services is not appropriate for all situations Not easily consumable (can’t code “by hand”) Generally, it is not good for user-to-computer solutions We only need this… …so what’s all this!!! Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 11© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 JSON Stands for JavaScript Object Notation A specification for the simple and lightweight representation of data JSON is text-based and easy to parse (compared to XML) JSON is not tied to a particular programming language Works well with REST services { "accountNo": "12250301", "name": "Jack B. Nimble", "acctType": "CA", "balance": 1000 } Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 12© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 RSS Stands for Rich Site Summary (or Really Simple Syndication) A protocol used for subscription and delivery of content, called syndication Returns an XML document summarizing the updated content Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 13© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Atom A syndication protocol similar to RSS but with a richer and more strictly defined message format (works well with REST) Request GET /reilly/ HTTP/1.1 Host: example.org Content-Type: application/atom+xml Response HTTP/1.1 200 Ok Content-Type: application/atom+xml Content-Length: nnnn <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom "> <title>My Submitted Expenses</title> <link href="http://example.org/reilly/"/> <entry> <title>Lotusphere 2006</title> <link rel=“alternate” href="http://example.org/reilly/3.html"/> <link rel=“edit” href=“http://example.org/reilly/3.html”/> <updated>2006-12-05T12:29:29</updated> <content type="XHTML" xml:lang="en-us"> <p xmlns="...">I am a speaker and am staffing a stand in the innovation lab</p> </content> </entry> </feed> Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 14© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Mashups And Composite Applications A mashup is… A collection of two or more components bound together through content An application derived by seamlessly combining content from more than one data source A composite application is… A rapidly created application to address an immediate need A typically (but not necessarily) short-lived solution Informal, “good enough” (lacks product quality) Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 15© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Tagging Tagging is the collaborative effort to organize information in which users are encouraged to assign freely chosen keywords to identify web sites (i.e. bookmarks) in ways that are meaningful to themselves Tagging results in a new way of classifying data known as a folksonomy Gives rise to tag clouds It’s not what you know… it’s not who you know… it’s who knows what you need to know! Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 16© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Blogs And Wikis Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 17© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 What Does Web 2.0 Mean For My Company? Syndication can be used to disseminate information quickly both internally (e.g. meeting recordings/podcast) and externally (e.g. product updates) Companies can allow mashups and composite applications for specialized functions (e.g. CRM, proposal generation) to increase user productivity Search engines can offer searching based on folksonomies as an alternative to standard taxonomy-based searches Companies can derive ideas for new products by deploying a blog for it’s customer community Product documentation can be refined and made more complete through wikis, errors in documentation can be corrected quickly Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 18© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 What Happened To SOA? WEB 2.0 Componentized Interoperable Modular Scaleable Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 19© 2008 IBM Corporation
    • WebSphere Technical Conference 2008 Where Is The Web 2.0 In WebSphere? WebSphere sMash Based on the Project Zero public incubator REST services platform Supports JSON and ATOM Supports PHP and Groovy scripting WAS 6.1 Feature Pack for Web 2.0 AJAX proxy with support for REST connection JSON messaging capability (JSON-RPC) ATOM support Dojo toolkit + IBM extensions Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 20© 2008 IBM Corporation
    • Thank you…larara@ph.ibm.com