7
1 | CONFIDENTIAL 117 N. Market St. Suite 300 Wilmington, DE 19801 302.778.1300 trellist.com [email protected] © 2011 Trell ist, Inc. Date June 21, 2014 PRESENTING THE SPA WITH RESPONSIVE DESIGN, HTML5, JS/JQUERY, CSS3 Philly Code Camp Presented By: Jennifer Kenderdine @j_kdine [email protected]

SPA Philly Code Camp

Embed Size (px)

Citation preview

Page 1: SPA Philly Code Camp

11 | CONFIDENTIAL

117 N. Market St. Suite 300 • Wilmington, DE 19801 • 302.778.1300 • trellist.com • [email protected] • © 2011 Trellist, Inc.

Date June 21, 2014

PRESENTING THE SPA WITH RESPONSIVE

DESIGN, HTML5, JS/JQUERY, CSS3

Philly Code Camp

Presented By: Jennifer Kenderdine

@j_kdine

[email protected]

Page 2: SPA Philly Code Camp

22 | CONFIDENTIAL

Agenda

I. What is an SPA?

II. Why build an SPA?

III. How do I start?

IV. Demo

V. Questions

Page 3: SPA Philly Code Camp

33 | CONFIDENTIAL

What is an SPA?Quick Facts

• SPA stands for Single Page Application (AKA SPI – Single Page Interface)

• Web apps that load a single HTML page and dynamically update that page as the user interacts with the app.

• A shift to the UI and application logic from web servers to the client.

– Traditional lifecycle

– SPA lifecycle

Initial Request

HTML

Form Post

HTML

Page Refresh

Initial Request

HTML

AJAX

JSON

Page 4: SPA Philly Code Camp

44 | CONFIDENTIAL

• If developed properly,

device agnostic

• Better User Experience

• Less post back to the

server, reducing round

tripping and optimizing

the performance

Why Build an SPA?

Page 5: SPA Philly Code Camp

55 | CONFIDENTIAL

• Visual Studio Development

– Visual Studio 2013 has a number of templates available in the

Visual Studio Gallery

• HotTowel

• Durandal

• Northwind

– ASP.Net SPA Overview

• Training

– Pluralsight

• Single Page Apps Jump Start, John Papa

• Single Page Apps with HTML5, Web API, Knockout and JQuery, John

Papa (more advanced)

How to get StartedTemplates and training

Page 6: SPA Philly Code Camp

66 | CONFIDENTIAL

• DEMO – Visual Studio Templates

• Basic SPA Template

• HotTowel

• Durandal

• Northwinds

Create the SPA

– Creating from Scratch• Basic Framework

– Empty Web App (Web Forms,MVC, Web API)

– Choose not to publish to Azure

– Add packages:» EntityFramework / EntityFramework SQL Compact

» Optimization

» Modernizr (helps with browser compatibility)

» Durandal Starter Kit (great for SPA framework)

• Other Plugins / Extensions– JQuery.fullcalendar

– Moment.js

Page 7: SPA Philly Code Camp

77 | CONFIDENTIAL

117 N. Market St. Suite 300 • Wilmington, DE 19801 • Phone: 302.778.1300 • trellist.com • [email protected] • © 2011 Trellist, Inc.