Online Conference June 17 th and 18 th 2015 WWW.COLLAB365.EVENTS Modern SharePoint Development using Visual Studio Code.

Slides:



Advertisements
Similar presentations
Unleash the Power of JavaScript Tooling Telerik Software Academy End-to-end JavaScript Applications.
Advertisements

Server-Side vs. Client-Side Scripting Languages
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,
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
ASP.NET 5 Visual Studio Code Bill Wolff July 8, 2015.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
ASP.NET vNEXT & development tools Marco De
What’s New In Visual Studio 2010 Denys Kholod Technology Expert Hmarasoft.com.
Sustainable SharePoint 2010 Customizations By Bill Keys.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Office Business Applications Workshop Defining Business Process and Workflows.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Explore GNOME The easy way, using a live CD By Carl Weisheit.
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
I18n - DateTime ASP.NET MVC. I18n DateTime – EF changes  In model classes, use attributes  DataType(DataType.DateTime)  DataType(DataType.Date)  DataType(DataType.Time)
1 Cutting Edge FE technologies for complex product August 6, 2015.
From SharePoint to Office 365 Development
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
JQuery Fundamentals Introduction Tutorial Videos
Building Desktop Apps with Node.js and Electron
SharePoint + CRM Saturday Zurich 2017
Fundamentals Sunny Sharma Microsoft
Getting started with .NET Core
Tutorial 2 Programming Editors Recommendation & Cordova Plugin Installation and Management Li Xu Department of Systems Engineering.
What's new in the world of SharePoint development and deployment
Node.js Express Web Applications
Modern SharePoint Development Workflow using Node, Bower, Yeoman and more! Jared Matfess, Solution Architect Slalom Consulting #SPSNYC.
Line of Business Solutions in SharePoint Online
Modern web tooling in Visual Studio 2015
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction
Multi-Device Hybrid Apps What, Why, and When to Use Hybrid Development Option Ervin Loh ALM Program Manager
New Tricks for Old Dogs: The SharePoint Framework (SPFx)
Working with the SharePoint Framework
Node.js Packages Header Mastering Node.js, Part 4 Eric W. Greene
Modern Front-End Web Development with Visual Studio
SharePoint Framework Extensions
SharePoint Practice Lead
SPFx – A modern development tool for SharePoint
Introduction to SharePoint Framework (SPFx)
Understanding SharePoint Framework and Modern Development
Intro to SQL Operations Studio
Intro to SQL Operations Studio
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Introduction to SharePoint Framework (SPFx)
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
Introduction to SharePoint Framework
Cross-Platform, Cloud and On-Premise Database Tool
Cordova & Cordova Plugin Installation and Management
The SharePoint framework
Patrick Flynn | Link Group Australia
SharePoint 2019 Overview and Use SPFx Extensions
Microsoft Connect /28/2019 2:20 AM
Cross-Platform, Cloud and On-Premise Database Tool
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Dreaming up a CMS in Go (golang)
Rich Benner SQL Server Performance Richbenner.com.
Introduce to Angular 6 Present by: Võ Văn Hào
SharePoint Workflow: Taking the Manual Out of Your Process
Visual Studio Code Walkthrough
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Online Conference June 17 th and 18 th Modern SharePoint Development using Visual Studio Code

S Jared Matfess Slalom Consulting Twitter Facebook : /jared.matfess LinkedIn : /jaredmatfess Jared Matfess is a SharePoint Consultant working for Slalom Consulting. He has previously worked at a large Aerospace & Defense company supporting a 60+ SharePoint environment with a 200,000 user base. He is also the founder and President of the CT SharePoint Users Group ( Jared lives in Connecticut with his amazing wife May and their cute little dog named Spoopy.

S Agenda What is SharePoint Development? Visual Studio Code Node Bower Gulp / Grunt Yeoman Helpful Resources

S What is SharePoint Development? Configuration – SharePoint Designer Workflows – InfoPath Forms – Content Query Webparts – Content Search Webparts

S What is SharePoint Development? Code – Visual webparts – Server-side code (WSP’s) – Search Display Templates – Anything involving a programming language or scripting language

S The Cloud’s Impact on SP Dev Server-side code is not permitted Microsoft continues to invest in “Cloud-first” Microsoft Patterns & Practices are available:

S Code Deployment Options Content Editor Webpart Script Editor Webpart (terrible) SharePoint Add-in Provider Hosted Solution

S The focus for this presentation Client-side development using Visual Studio Code HTML CSS JavaScript 3 rd party libraries

S Introducing Visual Studio Code

S Visual Studio Code Runs on Windows, Mac, and Linux Not a full IDE, but rather a code editor which allows for a much smaller footprint Support Intellisense for most popular web languages (JavaScript, Typescript, etc.) Fully customizable to meet your needs

S Helpful Keyboard Shortcuts Ctrl + B – toggle the explorer panel Ctrl + 2 – for performing code reviews you can whiteboard ideas Ctrl + 4 – zoom in Ctrl + \ - side by side code editor (you can have up to 3 windows) Ctrl + Shift + L – multiple cursors (after highlighting a selection)

S Projects Visual Studio Code’s concept of Projects are defined at the folder level

S Quick HTML build-out using Emmet Create new file and save as.HTML !>div>ul>li*5 – hit tab and watch it build out your code

S Code settings to override Default – these are the default settings that come with Visual Studio code, they are locked from you being able to change them User – changes here impact all instances of Code on your machine. Creating a new project will inherit these preferences. Workspace – scoped at the current project that you are working on. When committing to source code repository, these would follow the project and others could use them.

S Code settings to override

S Building Our Your Dev Environment Traditional SharePoint Development using Visual Studio included a “Build” step This doesn’t exist in Client-side solutions therefore you need to “roll your own”

S

Node.js is a JavaScript runtime built on top of Chrome’s V8 JavaScript engine Enables developers to create server-side applications in JavaScript Node’s package system (NPM) – Node package manager will be used to pull in additional libraries as needed Node.js has the ability to spin up web servers on your client machine

S

S

Package manager for client side libraries Does the same thing as NPM Grabs packages from Github and loads into your project Dependent on Node.JS

S Installing Bower

S Run Git from Windows Cmd Prompt

S Some additional commands Bower search - search for package if you aren’t sure quite what the name of it is Bower update – this will update all of your packages to the latest available (might not be ideal for all scenarios) Bower install – this will install or update a package to either the latest available or the version you specify Bower uninstall – this will remove the specified package from your project

S Manifest file (bower.json)

S Changing package location Create a file called.bowerrc JSON notation, set a directory key to folder:

S Grunt & Gulp

S Automate Common Dev Tasks Minifying code Concatenating files Injecting files into HTML Testing Less/SASS to CSS compilation Code Analysis

S Gulp Code-based JavaScript task runner Stream-based – files are read/written

S Installing Gulp

S Gulp API’s Gulp.task (name [,dependency], function) – define a task Gulp.src (glob [, options]) - read files into stream Gulp.dest (folder [,option]) – write files Gulp.watch (glob [,options], tasks or callback function) – watch the files

S Gulp.task Dependency tasks run in parallel not sequence (they are also optional), and before the main function which you have defined Most common tasks Analyzing files – test & lint code Optimizing files – uglify, minify, compile, etc Serve the application – deployment

S Gulp Plug-ins Npm install gulp-csso --save-dev (CSS Optimization plugin) Npm install gulp-uglify –-save-dev (Uglify – JavaScript minification) Npm install gulp-clean --save-dev (Purges files & folders before write tasks)

S

Yeoman Scaffolding tool which pulls down all the necessary libraries, files, etc. to build out your web application project

S DEMO

S Helpful Resources Bower Fundamentals Course (Pluralsight) Bower Fundamentals Course develop-in-sharepoint-and-office-365-now/ develop-in-sharepoint-and-office-365-now/ Gulp-Sync (Wictor Wilen)

S Grab my code samples Open up a command prompt Navigate to a location that you would like to use for development Create a new directory Type in git clone Wait and it will download all the files to your local machine

S Stay tuned for more great sessions …