A Mashup with Backbone

35
Development Webinar Series A Mashup with Backbone

description

A mashup application can provide a view to a wealth of related data from different origins. Mark Jordan demonstrates the creation of such a mashup page in SharePoint that shows related data from an external database, a web service, and other data origins.

Transcript of A Mashup with Backbone

Page 1: A Mashup with Backbone

Development Webinar Series

A Mashup with Backbone

Page 2: A Mashup with Backbone

Quick Facts

About Us

• 23rd Year

• Grand Rapids & Royal Oak

• 30 Staff

Approach

• Vendor Independent

• Non-reseller

• Professional Services Only

Partnerships

• Microsoft Gold

• VMware Enterprise

• Citrix Silver

• Cisco Premier

• Novell Gold

Page 3: A Mashup with Backbone

Microsoft Gold Partner

PinpointCompetencies Successes

Page 4: A Mashup with Backbone

Expertise

• Microsoft SharePoint

• Development

• User Interface & User Experience

• Business Intelligence

• Project Management

• IT and Project Planning

• Enterprise Project Management

• Project Management Office

• Microsoft System Center

• Virtualization

• Cloud Computing

• Security

Infrastructure

• Policy Development Infrastructure

• Mobile Device Management

• Application Development

Mobility

• Microsoft Lync

• Microsoft Exchange

• Enterprise Voice

• Communication Enabled Business Process

UnifiedCommunicationsCollaboration

Project

Management

Page 5: A Mashup with Backbone

Collaboration and Feedback

Collaboration and Feedback

We love questions and we love seeing you! If you have a camera, turn it on.

Collateral is uploaded to the meeting.

Click Ctrl+F or the paperclip in the upper right.

We’ll ask for your feedback immediately following this event. Complete the survey and receive a $5 gift card to Starbucks!

Page 6: A Mashup with Backbone

Get Social with C/D/H

@cdhtweetstech

/cdhtech

/company/cdh

cdhtalkstech.com

Page 7: A Mashup with Backbone

Your Presenter

Mark JordanConsultantMCSD.NET, MCTS SharePoint

Application Development

[email protected]

Page 8: A Mashup with Backbone

My First Computer (Actually, Dad’s)

Circa 1982

Page 9: A Mashup with Backbone

Pedigree

• Programmed first computer in 1982.

• BS of Computer Science, Theory and Analysis in 1985

• Programming for everything Microsoft starting in 2000

• SharePoint programming starting with version 2003

• Web, Windows, mobile, services, and everything in between still today

Page 10: A Mashup with Backbone

Demo

• Already?

• Because that’s how I roll… show, then tell.

Page 11: A Mashup with Backbone

Today’s Purpose -- to show…

• SharePoint used as a platform

• Using a SharePoint application page

• Centralization of related data (the mashup)

• Model/view client development (the

“backbone”)

• Positive user experience

Page 12: A Mashup with Backbone

!!! Caution !!!

Entering Custom

Development

Zone… Geek hat

required!

Page 13: A Mashup with Backbone

Why “Backbone”?

• Central

– Related Data

– Connected

Page 14: A Mashup with Backbone

Central System

Excel Services

Web Services

SQL Server

MySQL

MS Dynamics CRM

SAP

eDocs DMS

Use your

imagination!

Page 15: A Mashup with Backbone

Why “Backbone”?

• Central

– Related Data

– Connected

• Backbone JS

– Framework/Library

Page 16: A Mashup with Backbone

Backbone JS

• Structure

• Binding and events

• Model/View/Controller framework

• REST-ful, JSON

Page 17: A Mashup with Backbone

Benefits of Frameworks and

Libraries

• Quicker to market

• Quality of solution

• Natural developer collaboration

• Reuse (used today's framework in 3 projects now)

• Consistent practices between projects and solutions

Page 18: A Mashup with Backbone

Imagine an application that lists a

company's employees…

Page 19: A Mashup with Backbone

The View Hierarchy

Page 20: A Mashup with Backbone

Isolation of concerns

Page 21: A Mashup with Backbone

Whoa… JavaScript? And lots of it?

• Yup… it’s the way now.

• HTML 5, CSS, and JavaScript, especially for SharePoint 2013 and beyond

• Confession… app showing today is not 100% SP2013 best practice

Page 22: A Mashup with Backbone

Backbone: The App Router

Page 23: A Mashup with Backbone

Backbone: The Model and Model

Collection

Page 24: A Mashup with Backbone

Pause: Why am I using my own

Web Services?

• Centralization of

data source

retrieval

• Easier JS

• Connection

Strings and

Trusted

connections

Page 25: A Mashup with Backbone

Backbone: The View

Page 26: A Mashup with Backbone

Backbone: The View Template

Page 27: A Mashup with Backbone

Breather

Page 28: A Mashup with Backbone

Backbone: Binding and the

Observation Pattern

Page 29: A Mashup with Backbone

Backbone: Deferred (and Promise)

Objects

Page 30: A Mashup with Backbone

Backbone: Observation Pattern

Cascading up the Hierarchy

Page 31: A Mashup with Backbone

What about SP2013?

• Might be able to install as-is

• Web service layer might be a problem

• No need for application page

Page 32: A Mashup with Backbone

Summary

Gee…

Where’s

Mark Going

Soon?

Page 33: A Mashup with Backbone

Questions?

• Now is good

• Later is good,

too …

[email protected]

Page 34: A Mashup with Backbone

Get the Slide Deck / Recording

We upload all of our

presentations and

recordings to our

website.

We’ll send you an email

within the next week

containing the details

on downloading the

slide deck and

recording.

Page 35: A Mashup with Backbone

Thank You

cdh.com