Customizing SharePoint with Knockout and Typescript

Slides:



Advertisements
Similar presentations
0 Zero to High Availability in 60 Minutes Building a SQL 2012 HA Solution for SharePoint (In under an hour) Troy Lanphier Senior Solutions Developer –
Advertisements

1 Customizing Search Result In SharePoint 2013 Chaitra Gopalakrishna.
Knockoutjs and JQuery The One-Two Punch for Richer MVC 4 Applications Connecticut.NET Developers Group November 13, 2012.
0 Session Title Speaker Name. 1 Welcome to SharePoint Saturday Houston Please turn off all electronic devices or set them to vibrate. If you must take.
Thank you for being part of the 5 th Annual Houston Techfest Please turn off or set all devices to vibrate. Thanks to our Diamond sponsors. Houston Techfest.
0 Leveraging External Data In SharePoint John Ramminger.
0 Who Are You and What Do You Want? Working with Oauth in SharePoint 2013 Eric Shupps SharePoint MVP.
2013 Workflow Basics IN PLAIN ENGLISH FOR BUSINESS USERS.
1 SharePoint 2013 Catalog Sites Brian Culver Build a SharePoint 2013 Search Driven Application.
An introduction to. Introductions  I’m Rob Fonseca-Ensor  A Solution Architect at Infusion  I run the Canary Wharf.NET User Group  I blog at
SharePoint Saturday Sponsors Gold Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
0 What is Project Online and why should I care? Treb Gatte, MBA, MCP, MCTS, Project MVP.
SharePoint Saturday Gulf Saturday, April 12 th,2014 Live Online #SPSGulf Our Sponsors:
San Diego 2014 SharePoint Saturday San Diego November 15, 2014 UCSD Extension SharePoint Saturday San Diego November 15, 2014 UCSD Extension.
Welcome to SharePoint Saturday Houston
0 Branding Impossible: What to know when branding SharePoint! Thor & Odin Castillo Houston, Texas.
Solution Architect Cambridge Technology Partners Using TFS Event Service to integrate TFS 2010 with external EPM and.
1 Welcome to the New Madison Chapter of MPUG!. 2 Agenda Welcome Review Survey Feedback & Recommendations View Draft Madison MPUG Website Determine Next.
Introduction to TypeScript Sergey Barskiy Architect Level: Introductory.
1 Extending User Profiles with Line of Business Data Patrick Curran, MCT.
0 SharePoint Search 2013 Rafael de la Cruz SharePoint Developer Seneca Resources twitter.com/delacruz_rafael
0 Title Speaker. 1 Welcome to SharePoint Saturday Houston Please turn off all electronic devices or set them to vibrate If you must take a phone call,
The Web Developer’s Toolbox Steve Fabian e:
JAVASCRIPT WITH A VIEW Jordan Knight Solution Architect Xamling SESSION CODE: WEB305 (c) 2011 Microsoft. All rights reserved.
Canopy walk through Single-Page Apps (SPAs) Benjamin Howarth Freelancer, Code Gecko Umbraco UK Festival, Fri 30 th Oct 2015 CODE GECKO.
Spice up Your Forms and Views Deep Dive into Client Side Rendering (CSR) Joe McShea Owner/Consultant IntelliPoint Solutions LLC.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
SharePoint Migration On Time and On Budget. Welcome to SharePoint Saturday Houston  Please turn off all electronic devices or set them to vibrate. 
Name Bringing Information Architecture and UX into a SharePoint Hybrid Environment Virgil Carroll principal architect, high monkey.
Apps for the modern enterprise INTRODUCTION TO SHAREPOINT AS A DEVELOPMENT PLATFORM RON COURVILLE.
SharePoint Doesn’t Suck, Your Search Sucks
SPEasyForms: The Free Forms Designer Solution for SharePoint Joe McShea Owner/Software Architect IntelliPoint Solutions LLC.
SPEasyForms: The Free Forms Designer Solution for SharePoint Joe McShea Owner/Software Architect IntelliPoint Solutions LLC.
Spice up Your Forms and Views with Client Side Rendering (CSR) Joe McShea Owner/Consultant IntelliPoint Solutions LLC 8/06/2016.
MVC 4.0, Knockout.js, Bootstrap and EF6.0 FAST, FLEXIBLE AND RESPONSIVE QUICK TO MARKET WEBSITES.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
Spice up Your Forms and Views
Ramping Up On The SharePoint Framework (SPFx)
Spice up Your Forms and Views
Welcome to SharePoint Saturday Houston
Microsoft’s shiny dashboard-tool
LCS - The Tool to Ease Ramping up your employees in a repetitive way
What's new in the world of SharePoint development and deployment
Creating Lightning Fast Apps Using AngularJS
Customizing SharePoint with TypeScript and Knockout
Getting Started as an EdgeX Developer
It’s a Knockout! MVVM Style Web Development
Creating and Deploying Your First SharePoint Framework Application
KnockoutJS -Pradeep Shet 31st August 2014.
Customizing SharePoint with TypeScript and Knockout
AngularJS and SharePoint 2013: Lessons Learned from the Trenches
Customizing SharePoint with TypeScript and Knockout
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Creating and Deploying Your First SharePoint Framework Application
Spice up Your Forms and Views
Learn about PnP initiative and the new SharePoint Framework
Making PowerShell Useful
Customizing SharePoint with TypeScript and Knockout
Visio 2013 and Visio Services
SharePoint & jQuery: Better Together
Rich single page applications with SharePoint
presentation for February 9, 2015
Please thank our sponsors!
SharePoint Guy, Protiviti
Creating Lightning Fast Apps Using AngularJS
Chapter 3 – part2.
The SharePoint framework
Creating Lightning Fast Apps Using AngularJS
6/20/2019 1:09 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
JavaScript and the DOM MIS 2402 Maxwell Furman Department of MIS
Presentation transcript:

Customizing SharePoint with Knockout and Typescript Attention: Johnny Lopez or Naimish Pandya 750 Town and Country Blvd Suite 1000 Houston, TX 77024 Joe McShea

Welcome to SharePoint Saturday Houston Thank you for being a part of the 8th Annual SharePoint Saturday for the greater Houston area! Please turn off all electronic devices or set them to vibrate. If you must take a phone call, please do so in the hall so as not to disturb others. Special thanks to our Platinum Sponsors:

Thanks to all our Sponsors! Thank you to our sponsors Thank you to our sponsors Thank you to our sponsors Thanks to all our Sponsors! Thanks to all our Sponsors!

Information Speaker presentation slides should be available from the SPSHOU website within a week or so The Houston SharePoint User Group will be having it’s next meeting Wednesday May 18th. Please join us at www.h-spug.org

Who am I? Joe McShea IntelliPoint Solutions LLC Owner/Software Architect Over 20 years as a software developer/architect Focused on the Microsoft stack and SharePoint/Office 365 since 2007 Author of SPEasyForms, the free/open source for SharePoint 2010, 2013, 2016, and Online available for download on CodePlex Contact joe@intellipointsol.com @Joe_McShea (twitter) http://speasyforms.com (blog)

Agenda Talk a little about Typescript Talk a little about Knockout Demo using them in SharePoint

What is Typescript? Strongly typed JavaScript Adds Classes, Interfaces, Modules Superset of JavaScript

Typescript is a Superset of JavaScript

Why Typescript? Easier transition for server-side developers Early detection of errors Better tool support Because Microsoft says so

Modules import * as ko from "knockout"; export const numberRegexp = /^[0-9]+$/; // exports from external modules export * from "./StringValidator"; export * from "./LettersOnlyValidator"; export * from "./ZipCodeValidator";

Classes and Interfaces

Arrow Functions

Don’t use var

Use let instead

What is Knockout? JavaScript library to simplify CRUD applications Eases the creation of rich and responsive web sites Provides 2 way databinding between the data and it’s presentation Based on the Model View ViewModel (MVVM) pattern

Why Knockout? Um…really? Most SharePoint Customizations are CRUD applications CRUD is mostly boiler plate HTML and JavaScript Knockout helps separate concerns and minimizes boiler plate code and markup

So what can we bind to in HTML? POJO Observable Observable Array Event

POJO

POJO Result

Observable

Observable Result

Observable Array

Observable Array

Observable Array Result

Event

Event Result

Not Covered Computed Observables Custom Bindings

Demo…

References Typescript quick Start: http://www.typescriptlang.org/docs/tutorial.html Knockout documentation: http://knockoutjs.com/documentation/introduction.html Widget-Wrangler by Bob German and Julie Turner: https://github.com/Widget-Wrangler/ww Source code for tkoWebPart demo: https://github.com/mcsheaj/tkoWebPart