18
The Power of SPA Mónica Rodrigues https://github.com/monica85rodrigues/presentation-iscte-thepowerofspa 06/05/2015

The power of spa

Embed Size (px)

Citation preview

Page 1: The power of spa

The  Power  of  SPA

Mónica Rodrigues https://github.com/monica85rodrigues/presentation-iscte-thepowerofspa

06/05/2015

Page 2: The power of spa

2

Me? Since  2010

Mónica Rodrigues [email protected]

Page 3: The power of spa

3

Contents

•  Challenge •  Solution •  Motivations •  Considerations •  Multiple page application vs SPA •  Some Javascript Frameworks •  SPA Samples •  Demos •  References

Page 4: The power of spa

4

Challenge

Users want a central place to view or take actions on most or all content so they don’t have to waste time navigating between pages.

Page 5: The power of spa

5

Solution Go to a SPA

Page 6: The power of spa

6

Solution Use modern web development techniques to build a single-page app that doesn’t need to reload itself as the user browses through it.

SPA Single  Page  Application

Page 7: The power of spa

7

Motivations

Reach

Responsive

Round Trip

Web app may be accessible on different platforms and devices

Web app needs to be very responsive to different screen resolutions

Web app does not require many round trips between client and server

The 3 Rs

Page 8: The power of spa

8

Motivations

Better user experience

Separation of responsibilities between client and server

Offline Web applications

Page 9: The power of spa

9

Considerations

The first time that the applications loads is slow

Security

What is the effort to make an offline application? It is possible?

Page 10: The power of spa

10

Multiple Page Application

Page  access

Returns  rendered  page

Page  rendering

Page 11: The power of spa

11

Single Page Application

Requests  data

Returns  data

DOM  processing  and  manipulation

Page 12: The power of spa

12

Some Javascript Frameworks

Page 13: The power of spa

13

SPA Samples

Page 14: The power of spa

14

Demos Mini SPAs

SPA

Multiple page application

Knockout

Magazines manager

Page 15: The power of spa

15

References

•  Angular VS Knockout [Online] http://blog.scottlogic.com/2014/07/30/spa-angular-knockout.html

•  Angular [Online] https://angularjs.org/ •  Knockout.js  [Online] http://knockoutjs.com/

•  Backbone.js  [Online] http://backbonejs.org/ •  React  [Online] https://facebook.github.io/react/

•  Code School  [Online] https://www.codeschool.com/

Page 16: The power of spa

16

Page 17: The power of spa

17

Contacts

https://www.facebook.com/monica85rodrigues

https://github.com/monica85rodrigues

https://www.linkedin.com/in/monicascrodrigues

@Monica85Rodrig

Page 18: The power of spa

18