Creating Knockout User Experiences in SharePoint with JavaScript Making awesome with Knockout, jQuery and SharePoint REST.

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

SharePoint 2010 Overview Presented by: Oscar Garcia
Windows Workflow Foundation By Sam Nasr, MCAD October 23,
SharePoint and Knockout for the REST of Us
Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Presentation Prep Open Fiddler
SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
November 11, MCT, MCITP, MCTS, MCP SharePoint Architect for Planet Technologies. Working with SharePoint since – Administrator / Developer.
Creating Page Layouts using SharePoint Designer or Visual Studio Becky Bertram MCSD, MCAD MCTS WSS Development MCTS MOSS Development
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Introduction to ASP.NET MVC
MSDN Connection Get personalised information on the topics and technologies you want Profile yourself today and get updates via RSS Get personalised information.
Microsoft SharePoint 2010 technology for Developers
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Solution Architect,Microsoft.
April Dunnam Lead SharePoint Consultant/Developer SharePoint 2013: Intro to Branding and Design Manager.
SPSVB 2015 Create Tailored Search Results w/ Display Templates SHAREPOINT SATURDAY VIRGINIA BEACH– JANUARY 10, 2015 MIKE ORYSZAK BLOG:
02 | New Features for Web Developers Susan Ibach| Technical Evangelist Christopher Harrison | Head Geek.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
Knockoutjs and JQuery The One-Two Punch for Richer MVC 4 Applications Connecticut.NET Developers Group November 13, 2012.
Chalermvong Vijitpiyakul Microsoft MVP Greatfriends.biz Community Lead GF 30 August 2009.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
How to make SharePoint 2010 not look like SharePoint Branding for Developers By Matt Huber.
By: Eric Maurer © Keller Schroeder  Rich and interactive user interface  Supports animations and reflection  Data can be refreshed with out doing.
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
SharePoint Saturday Sponsors Gold Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
User Group 2015 Version 5 Features & Infrastructure Enhancements.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Building Dynamic Applications on both Office 365 and on-premise.
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
Tulsa SharePoint User Group TulsaSPUG. Agenda Introductions (5 Minutes) Branding Review (25 Minutes) Site Overview (5 Minutes) Office 365 Provisioning.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Sustainable SharePoint 2010 Customizations By Bill Keys.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
SharePoint Saturday Sponsors Gold Bronze Creating Knockout User Experiences in SharePoint with JavaScript Making awesome with Knockout, jQuery and SharePoint.
Dudok de Wit David.  Documents management in a deskless company  SharePoint Online as a solution  Redesigning the documentary organization  Interoperability.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
The Web Developer’s Toolbox Steve Fabian e:
Michael Hofer Senior Consultant Microsoft Corporation.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
SHAREPOINT & JQUERY. Hi, my name and I am a product manager at lightning tools. I have been working with SharePoint for 5 years.
Update: Office & SharePoint Development Feb 2016.
Getting Started on Office Addin with AngularJS and Yeoman
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
Bravely Take your Skills to the Next Level: Office Add-Ins John Liu SharePoint Gurus.
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Apps for the modern enterprise INTRODUCTION TO SHAREPOINT AS A DEVELOPMENT PLATFORM RON COURVILLE.
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
SharePoint & jQuery. About me Phill Duffy – Product Manager at Lightning Tools Ltd – Author of ‘Pro SharePoint with jQuery’ – MCTS Application Developer.
MVC 4.0, Knockout.js, Bootstrap and EF6.0 FAST, FLEXIBLE AND RESPONSIVE QUICK TO MARKET WEBSITES.
Introduction to ASP.NET 2.0
Automate Custom Solutions Deployment on Office 365 and Azure
KnockoutJS -Pradeep Shet 31st August 2014.
Customizing SharePoint with TypeScript and Knockout
SharePoint-Hosted Apps and JavaScript
Customizing SharePoint with TypeScript and Knockout
Web Development in Microsoft Visual Studio 2013
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Introduction to SharePoint Framework
AngularJS and SharePoint I Chris Douglas Senior SharePoint Developer ECS Web:
Bootstrap Direct quote from source: bootstrap/
WCF Data Services and Silverlight
Introduction to ASP.NET Parts 1 & 2
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
Presentation transcript:

Creating Knockout User Experiences in SharePoint with JavaScript Making awesome with Knockout, jQuery and SharePoint REST

Plugs  John Liu - I work with SharePoint Gurus in Sydney. We are a consultancy that delivers awesome SharePoint solutions for our happy clients.  Australian SharePoint Conference - March 20-21, in Melbourne. I'm covering a developer topic on custom REST services and Knockout.  SharePoint Saturdays later in the year TBA  InfoPath is cool. Don't diss InfoPath :-(

Contents  Demo, demo, demo (5 demos)  Tricks  Risks  Related techniques

Picture - build this in 1 sesson

Demo - ko  … 0

Demo - ko.mapping  … 1

Demo - SP2010 REST  … 2  listdata.svc  GET interface

Demo - SP2010 REST  … 3  POST  MERGE  Remember e-tag

Demo - crazy  … everything!

Current issues  Debugging is not as great as Visual Studio. You'll need to know how to use the browser's JavaScript debugger fairly well  Not all binding errors show up in the console log - sometimes you only see an error when you debug  It is possible to create circular dependency graphs and then your JavaScript will slow to a dog!

Tricks  IE developer toolbar  Using HTML inspector  Using JavaScript debugger  Using Network inspector

Risk: Is this mainstream?  Knockout is created as an open source project, by Steve Sanderson. Who is actually a Microsoft Program Manager in the ASP.NET team.  There are other template engines but they aren't as mature - some are still in beta. Knockout is stable and in version 2 already.  Has been proven to work for ASP.NET WCF, ASP.NET MVC, Ruby on Rails, and now SharePoint ;-)  Knockout supports other template engine as plugins.

Risk: looks difficult to learn  A good grasp of the concepts is the right starting point - hopefully I've provided that  Next, go through the demos and experiment, and use that as a reference to build your own creations

What about if you can't use REST?  You can use it with the client object model, load SPItem via SP.ClientContext and then use ko.mapping  For SP2007, you can also use SPServices.codeplex.com which is a JavaScript wrapper library around SharePoint 2007/2010 SOAP Services  You can also use KO with your own custom REST services

Whoa! We don't do dirty Content Editor webparts!  Take the entire content of the html file, and put it into a sandbox visual web part. This will create a sandbox solution and you can deploy that within your site collection.

Cool pictures

Downloads  Knockout:  Knockout.Mapping: ree/master/build/output

References  SP2010 REST - us/library/ff aspx   icles/Pages/Applying-the-MVVM-pattern-to-create- SharePoint-list-driven-interactive-tools-using- Knockout.aspx  icles/Pages/SharePoint-Development-Using-HeadJS- KnockoutJS-And-SPServices.aspx

References  SPServices - s/jQuery-Library-for-SharePoint-Web-Services- (SPServices)-v0.7.1-Released-.aspx

Summary  Saw lots of demos  Tricks  Risks  Related techniques

 (twitter)