Social Applications made easy with the new Social Business Toolkit SDK

34
IBM Innovate 2013 Social Applications Made Easy with the New Social Business Toolkit SDK Philippe Riand – Ryan Baxter ICS Development Labs [email protected] , [email protected] 2133 © 2013 IBM Corporation

description

https://www.ibmdw.net/social

Transcript of Social Applications made easy with the new Social Business Toolkit SDK

Page 1: Social Applications made easy with the new Social Business Toolkit SDK

IBM Innovate 2013 Social Applications Made Easy with the NewSocial Business Toolkit SDK

Philippe Riand – Ryan BaxterICS Development [email protected], [email protected]

© 2013 IBM Corporation

Page 2: Social Applications made easy with the new Social Business Toolkit SDK

2

Please note the following

IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion.

Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.

The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.

Page 3: Social Applications made easy with the new Social Business Toolkit SDK

3

Agenda

IBM Social Platform Overview

ICS Social Application Development Strategy

Introduction to the Social Business Toolkit SDK

Conclusion

Page 4: Social Applications made easy with the new Social Business Toolkit SDK

Overview

The IBM Social Business Platform, as part of the multi-year vision for Exceptional Work Experience, is bringing the IBM Collaboration Solutions portfolio together into a compelling, unified experience with flexible delivery options.

The platform is designed to enable consistent approaches across the web, the desktop and the mobile environments; and enable opportunity and innovation for developers to build a Social Business.

Page 5: Social Applications made easy with the new Social Business Toolkit SDK

The IBM Platform for Social BusinessEnabling “systems of engagement” solutions

Page 6: Social Applications made easy with the new Social Business Toolkit SDK

Leveraging the IBM Social Platform

Social fabric integration for Partners and in-house Apps and Services

A set of RESTful, consistent, strategic social APIs and services to simplify development and Social capabilities to applications

– APIs based on web patterns including JSON, HTML, ATOM, REST

– Open standards ready

Simple, easy to use – Consistent programmability, use tools you know

Unified integration – Build once, reuse across the portfolio

– Platform Independent – Consistency across products IBM Connections, Portal/WCM, Notes/Domino, Sametime...

Hybrid deployment, on premises and cloud

– Single focus of development investments, flexibility, hybrid scenario

Page 7: Social Applications made easy with the new Social Business Toolkit SDK

Unified APIs for the IBM Social Business Toolkit

New APIs and services designed to help developers build

unified user experiencesand

consistent extensibilityindependent of product, delivery model

(cloud, on-premises), and client type (desktop client, browser, mobile)

Activity Streams

Embedded Experiences Share Box

Collaboration- email- Communities- Activities- File sharing- Wikis, forums, blogs- ...

Unified Communication

Page 8: Social Applications made easy with the new Social Business Toolkit SDK

8

Agenda

IBM Social Platform Overview

ICS Social Application Development Strategy

Introduction to the Social Business Toolkit SDK

Summary

Page 9: Social Applications made easy with the new Social Business Toolkit SDK

ApplicationDevelopment

The Six Legs of the Application Development Strategy

Reach the broaderset of developers

EmbraceOpen Standards

Nurture and entertain acommunity of developers

Make the platformAccessibleQuickStart image

Enable the community

Make it easy toconsume the platformSDK

Page 10: Social Applications made easy with the new Social Business Toolkit SDK

10

Reach the Broader Group of Developers

Use the technologies that current developers use

– Develop components using Web and Mobile technologies

• HTML5/CSS3/JavaScript, Mobile native and hybrid

– Provide language independent data access using REST services

• Wrap the APIs for different languages.

Target different platforms

– IBM preferred platforms (WebSphere, IBM Domino...) and others (PHP, Ruby, .NET...)

Minimize the technology dependencies

– Support many libraries and tooling

• Dojo, JQuery, and other JavaScript libraries

• Eclipse, IBM Rational Application Developer, IBM Domino Designer

Run the same components into different containers

– Minimize the porting effort across the containers

• Plain web applications, OpenSocial Gadgets, Portlets,iWidgets, Web Parts...

Page 11: Social Applications made easy with the new Social Business Toolkit SDK

11

Embrace Open Standards

Enabling the next generation of socially-enabled solutions to enhance customers' existing investments and heterogeneous platforms

– Focus on open standards and “loosely coupled” web-centric architectures

A commitment to drive and leverage open standards

– Maximize choice, flexibility, and ease of integration

– Drive enterprise innovation and leverage rapid innovation on the public web

– Minimize incremental cost of targeting additional desktop and mobile platforms

– Leverage dominant skill-sets based around web technologies

Page 12: Social Applications made easy with the new Social Business Toolkit SDK

12

Make It Easy to Consume the Platform

Get developers started in minutes

– Test the IBM APIs and Services directly from the cloud, without having to install anything

– Make the on premises install as simple as possible

Provide reusable code libraries

– Encapsulate the services access into easy to use libraries

– Call any service with a few lines of code

Provide a large set of code snippets

– Understand how the APIs can be used by looking at the self-documented snippets

– Copy, paste and run the code samples directly to your own application

Provide an extended documentation

– Make the documentation live in a constantly updated wiki

– Provide developer API documentation generated from the source code (Java/JavaScript doc)

Page 13: Social Applications made easy with the new Social Business Toolkit SDK

QuickStart Image for Social Business

Pre-integrated software appliance

IBM Social Business Toolkit APIs

IBM Social Business Core Modules

Workflow and forms

IBM Domino

Workflow and forms

IBM Domino

Social collaboration

IBM Connections

Social collaboration

IBM Connections

Unified communications

IBM Sametime

Unified communications

IBM Sametime

IBM developerWorks CloudVMWare®

- Includes the latest version of the IBM productsall configured together with a sample set of data

- Provides a version of the SDK pre-installed, including the playground

IBM Social Business Toolkit SDK

IBM Social Business Toolkit Playground

Page 14: Social Applications made easy with the new Social Business Toolkit SDK

Nurture and Enable the Community of Developers

#ibmsbt

/OpenNTF/SocialSDK

http://ibmsbt.openntf.org/

http://bit.ly/ibmsbtcommunityhttp://bit.ly/VyedABProduct documentation in wikis

Developer Workshops

TwitterFacebookLinkedIn

StackOverflow

GitHub

http://bit.ly/sbtplayground

Page 15: Social Applications made easy with the new Social Business Toolkit SDK

New DeveloperWorks Site for Social Business

Landing page for social business application developers

– http://ibmdw.net/social

– http://developer.ibm.com/social

Content

– Getting started information for different types of developers

– Blog and news

– Events

– Community links, esp. StackOverflow and GitHub

– Documentation navigator

Part of a bigger IBM developerWorks effort

– Plan to provide new topical sites like social, cloud, mobile, big data, analytics

– Focus on the specific content rather than everything IBM related

– Focus on community, including non IBM-owned sites

Page 16: Social Applications made easy with the new Social Business Toolkit SDK

16

Agenda

IBM Social Platform Overview

ICS Social Application Development Strategy

Introduction to the Social Business Toolkit SDK

Conclusion

Page 17: Social Applications made easy with the new Social Business Toolkit SDK

Introducing the IBM Social Business Toolkit SDK

Let developers add social capabilities to their applications in minutes

– Through the consumption of ready to use code libraries

• Not a new set of APIs, but helpers on top of the existing APIs

– Illustrated by many comprehensive examples that can simply be copy/paste to existing applications

• And established developer patterns for social business

Target the broader range of developers

– Focus on web technologies: HTML, JavaScript and CSS

• But also support Java developers, and more over time

– Supports J2EE and OSGi based servers, and more to come

– Supports on-premises and cloud deployments

Delivered as an open source project (Apache 2.0 license) and available on GitHub

– External contributions will be accepted

– Supported using a community on developerWorks and OpenNTF

Page 18: Social Applications made easy with the new Social Business Toolkit SDK

SDK Keypoints

Easy to consume, starting library for any application developer

Saves application developers from writing cumbersome, static code

– Isolates various characteristics related to connectivity to social services, outside of the code

• Makes it easy to switch between multiple environments (production, development, test...)

– Isolates complexity related to authentication mechanisms

• The application code is agnostic of the underlying authentication mechanism.

– No more demo/poc code that should be revisited later

– Complex authentication flows are handled seamlessly by the SDK

• Currently supports OAuth 1.0a, OAuth 2.0 and Basic authentication.

– SSO (LTPA, SAML) are experimentally supported for now

– Provides easy to use objects with many code examples

– Low level APIs for directly consuming the REST services

– Higher level objects with advanced capabilities (caching, …)

– Hide some platform specific requirements (ex: OpenSocial xhr API, Portlet APIs...)

Page 19: Social Applications made easy with the new Social Business Toolkit SDK

19

IBM Social Business Toolkit SDK - Now!

Sample Applications

OpenSocial Support

Security

Code Snippets

Language Bindings Developer Playground

DocumentationServer AssetsJ2EE/Domino

Pre-configured Tomcat

Page 20: Social Applications made easy with the new Social Business Toolkit SDK

Social Business Playground – Today and Next

Live on IBM Greenhouse http://bit.ly/sbtplayground

Delivered with the source code as part of the SDK

Code Snippets

JavaScript, Java, XPages...

API Explorer

API Documentation

Page 21: Social Applications made easy with the new Social Business Toolkit SDK

21

Page 22: Social Applications made easy with the new Social Business Toolkit SDK

22

Social Business Toolkit SDK - Samples

The SDK comes comes with several sample applications

– JavaScript code snippets

– Java code snippets

– Full-fledged ACME airline demo application

• Shows the use of social capabilities within an existing application

Page 23: Social Applications made easy with the new Social Business Toolkit SDK

23

Page 24: Social Applications made easy with the new Social Business Toolkit SDK

JavaScript Developers Experience

The SDK is included with a single line of code

– A script tag pointing to the toolkit

– And use any of the APIs

Uses the AMD notation for maximumperformance and modularity

The JavaScript contains many easyto use functions

Uses existing libraries (Dojo, JQuery...) underthe cover, but exposes a library agnostic API

Comprehensible, customizable Dijits

Page 25: Social Applications made easy with the new Social Business Toolkit SDK

Java Developers Experience

Add the jar files/OSGi plug-ins to your development

– Works on J2EE and Domino servers

– And use any of the APIs

Supports web and stand-alone, Java client applications

The Java and JavaScript APIs are consistent

Page 26: Social Applications made easy with the new Social Business Toolkit SDK

26

IBM Social Business SDK - Next!

Language BindingsDeveloper Playground

Server Assets

Reusable DijitsWebSphere Portal

Patterns

Mobile SupportQuick Start Image

SmarterWorkforce

Page 27: Social Applications made easy with the new Social Business Toolkit SDK

27

Agenda

IBM Social Platform Overview

ICS Social Application Development Strategy

Introduction to the Social Business Toolkit SDK

Conclusion

Page 28: Social Applications made easy with the new Social Business Toolkit SDK

Adding Social Features To Your Application

Find and customize samples

– Start with samples in Playground

– Edit the samples and test your changes

Eventually, deploy the pre configured TOMCAT instance

– Unzip the provided zip file on a Windows machine

Include SDK libraries in your application

– Add jars to web application or deploy SDK feature to Domino

– Include the SDK JavaScript libraries in your application pages

– Configure Endpoints

Page 29: Social Applications made easy with the new Social Business Toolkit SDK

The SDK is a Collaborative, Open, Social Project

We want your feedback

– Let us know what is good, what is not and what you'd like to see

– Help us building the roadmap

• Tell us about your priorities

We want your active participation

– Participate to the community

– Report bugs, and eventually solutions

• Grow your reputation on Stackoverflow

– Contribute code to the SDK and code snippets

• Support languages & environments we do not (PHP, .NET...)

Learn more about social standards

– Don't move – another great session is awaiting you!

2493A Open Standards For Social Business Apps

Dolphin - Oceanic 6 Mon, 3/Jun, 04:15 PM - 05:15 PM

Page 30: Social Applications made easy with the new Social Business Toolkit SDK

OpenNTF Appathon

• IBM Connections App Dev - Prizes: $5000

• IBM XPages App Dev - Prizes: $5000

• Anything leveraging Connections/Smartcloud (social SDK, OpenSocial, iWidgets, REST APIs, customization, WebSphere, PHP, XPages, etc.) will be accepted.

http://appathon.openntf.org

Page 31: Social Applications made easy with the new Social Business Toolkit SDK

31

Page 32: Social Applications made easy with the new Social Business Toolkit SDK

32

Daily Apple TV giveaway Complete your session surveys online each day at a conference kiosk or on

your Innovate 2013 Portal!

Each day that you complete all of that day’s session surveys, your name will be entered to win the daily Apple TV!

On Wednesday be sure to complete your full conference evaluation to receive your free conference t-shirt!

Page 33: Social Applications made easy with the new Social Business Toolkit SDK

33

© Copyright IBM Corporation 2013. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

Page 34: Social Applications made easy with the new Social Business Toolkit SDK

34

Acknowledgements and disclaimers

© Copyright IBM Corporation 2013. All rights reserved.

– U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

IBM, the IBM logo, ibm.com, Rational, the Rational logo, Telelogic, the Telelogic logo, Green Hat, the Green Hat logo, and other IBM products and services are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml

GitHub, StackOverflow, Twitter, Facebook, Linked are trademarks or service marks of others.

Other company, product, or service names may be trademarks or service marks of others.

Availability: References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates.

The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant. While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is provided AS-IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.