sharepoint saturday dc: 12/05/09 presented by: will lawrence and the jpoint team jpoint: a jquery...

27
SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: jPoint: A jQuery Based Library A jQuery Based Library for creating Web 2.0 Apps in for creating Web 2.0 Apps in SharePoint SharePoint Int ro

Upload: frank-cummings

Post on 15-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

SharePoint Saturday DC: 12/05/09Presented by: Will Lawrence and the jPoint Team

jPoint:jPoint: A jQuery Based Library A jQuery Based Library for creating Web 2.0 Apps in SharePoint for creating Web 2.0 Apps in SharePoint

jPoint:jPoint: A jQuery Based Library A jQuery Based Library for creating Web 2.0 Apps in SharePoint for creating Web 2.0 Apps in SharePoint

Intro

Page 2: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

AgendaAgenda

Page 3: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Old Aviation Event Reporting Process

1.Crash recorded by hand

2.Faxed to HQ in Washington and “processed”

3.Executives and special persons notified by voice

4.Event reports and verbal notifications recorded in spreadsheet and filed

Demo: Quick BackgroundDemo: Quick Background

Page 4: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Demo: Quick BackgroundDemo: Quick Background

Improved Event Reporting Process

1.Crash entered into SharePoint

2.Washington HQ “processes” event from Dashboard

3.Executives and special persons notified by voice

4.Verbal notifications recorded online in a SP list

What functionality is in the Dashboard in Step 2?

What happens in Step 4?

Answers: Watch the demo

Page 5: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Design DilemmaDesign Dilemma

• HQ client wants new event reporting process implemented quickly

• HQ client wants fancy features

• Design– A lot of details have been left out, but it

essentially comes down to one question SharePoint Designer or Visual Studio?

Page 6: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Visual Studio vs SharePoint Designer Tradeoffs

Visual Studio vs SharePoint Designer Tradeoffs

0

20

40

60

80

100

120

Time

% R

eq

uir

em

en

ts C

om

ple

te

Legend

SharePoint Designer

Visual Studio

Page 7: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPoint Boost SP DevelopmentjPoint Boost SP Development

0

20

40

60

80

100

120

Time

% R

eq

uir

em

en

ts C

om

ple

te

Legend

jPoint

SharePoint Designer

Visual Studio

Page 8: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Activities that are difficult

…without jPoint

– Manipulate New/Disp/Edit form fields and their custom counterparts, dataViewWebParts

– Access SharePoint data from client side

– Build Web 2.0 and AJAX features quickly

Demo PreviewDemo PreviewFeatures

– Drag and Drop– Form field expandos– Date/Time/Timezone jQuery plugin in form– Auto save– Live lists as queues– Flexigrid jQuery plugin connected to SP data– Live collaboration

Page 9: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Video / Demo TimeVideo / Demo Time

Page 10: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Activities made difficult without jPoint

– Manipulate New/Disp/Edit form fields and their custom counterparts, dataViewWebParts

– Access SharePoint data on the client

– Build Web 2.0 and AJAX features quickly

Demo ReviewDemo ReviewFeatures

– Drag and Drop– Form field expandos– Date/Time/Timezone jQuery plugin in form– Auto save– Live lists as queues– Flexigrid jQuery plugin connected to SP data– Live collaboration

Page 11: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Client Side Script SolutionsClient Side Script Solutions

Why?

• To fill the value gap, increase ROI, and provide a visually stimulating, rich UX.

• Rapid prototyping and agile development lead to successful and sustainable solutions.

• Mashups and composite applications bring more value to the user.

What?• JavaScript

– jQuery– jQuery UI and plugins– jPoint

• API / SharePoint data layer• Web part deployment• jParts

– “jQuery plugins” for SP– User modifiable options

• Cloud Services– Charts (Google API)– Maps (Google, Bing)

Page 12: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

• Content needs to be marked up early, easily, and often to prevent garbage and lackluster participation

• Business process integration into SharePoint needed to familiarize users with tools before successful business process improvement.

• Value gap should be filled for better ROI (it seems obvious, but is sometimes a hard fight)

• Need to show WIIFM (What’s In It For Me?) to gain user adoption

• UI Customizations and stimulating UX help to comfort and empower users

The value traditionallyseen from SharePoint

What is required by the business need

The value gap

Improve metadata inputIntegrate existing processes

Smart customization

Content ManagementCollaboration

Search

Page 13: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPointjPoint

Page 14: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jQuery is Hot Topic for SharePointjQuery is Hot Topic for SharePoint

– I saw it being mentioned 3 times at this summer’s Regional SharePoint Conference.

– I saw it being mentioned 6 or more times and jQuery was used in live demos in at least 3 presentations at the SharePoint Conference 2009 in Vegas. Below are my live blog posts from the demos using jQuery.

• SharePoint Designer 2010 – Building Composite Apps: From SPC09 Las Vegas 

• Enterprise Mashups with SharePoint Designer 2010, Bing map services, and Restful web services: From SPC09 Las Vegas

• Working with the new Client Object Model: From SPC09 Las Vegas

Page 15: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPoint: UnleashedjPoint: Unleashed

Origins

6/13/08 4/3/09 8/22/09 8/28/09

Page 16: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Reasons and Motivation behind jPoint Project

Reasons and Motivation behind jPoint Project

• Client side code stored in content DB is easier to maintain than server side code for multiple front-end web servers in multiple server farms (due to austere regional replication)

• Need for cross-browser compatibility

• 3rd party paid web part solutions– Bundled packages too

expensive– Licensing headaches– I do not like being charged

for a web part that I can re-create in less than 45 minutes

• Need for comprehensive JavaScript library

Page 17: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Quick Mental ImageQuick Mental ImageMultiple server farm for regional replication

Page 18: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPoint: UnleashedjPoint: Unleashed

Thanks!

Inspiration

Download from Download from

CodeplexCodeplex

The many great bloggers in the

community

Page 19: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Old and New ModelsOld and New Models

New! Model, developers:– Do not need to be SharePoint and

JavaScript Jedi Masters– Write re-usable code that is cross-browser

compatible– Rely on (or help) community to update

jPoint open source code– Use jPoint API that works with 2007 and

SharePoint 2010

Old Model, developers:

– Need to know underlying SharePoint details

– Hard code scripts that work for one page, one browser

– Use borrowed code from multiple sites that is hard to maintain

SharePoint

jPointjPointPlu

gin

sPlu

gin

sjPart SolutionjPart Solution

jQu

ery

jQu

ery

User OptionsUser Options

SharePoint

Borr

ow

ed

Scr

ipts

Borr

ow

ed

Scr

ipts

Form FieldsForm Fields Web ServicesWeb Services

Custom Script Solution

Custom Script Solution

jQu

ery

jQu

ery

Page 20: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPoint: ComponentsjPoint: Components

• jPointLoader.js– Dynamically loads

jQuery and jPoint– Parameter passing to

override default paths

• Example:– <script

src=“jPointLoader.js?jQueryPath=/js/jQuery/”></script>

• jPoint.js– Contains main jPoint

class.– jP is to jPoint as $ is to

jQuery

Page 21: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPointLoaderjPointLoader

Page 22: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPartsjParts

Page 23: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jParts: Scripts as Web PartsjParts: Scripts as Web Parts

Page 24: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

jPart TemplatejPart Template

Page 25: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Live Demo TimeLive Demo Time

Page 26: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

A sliding scale of solution sophisticationDifferent tools for different roles

No-code solutions

Declarativesolutions, some code

Sophisticated enterprise applications

Visual Studio

SharePoint Designer

Office

Browser

Larger team developmentALM

Enterprise application integrationAcross the firewall integrationWeb services and components

Manageability

Declarative integration to external dataRelatively sophisticated workflows

Rich forms-based applicationsWeb design

Some VS-based (WF activities, web parts)

BU reporting, tracking Access DBs

User customized sitesAd-hoc solutions

Browser-based SharePoint data definition

Using galleries of web parts

Enable

Enable

Highest sophistication

Highest empowerment

Page 27: SharePoint Saturday DC: 12/05/09 Presented by: Will Lawrence and the jPoint Team jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint

Thank youThank you

• Remember to: – Share jPoint. It’s open source.

– Checkout http://jPoint.codeplex.com and supporting site http://sharejPoint.com.

• Contact me at :– [email protected]

– Twitter: @willhlaw

• Looking for:– Sponsors to support sharejPoint organization

– Developers to constantly improve the project