51
Trends in Front-End and Mobile Development for 2018 Brought to you by Alexey Vasiliev, Railsware 1

Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Trends in Front-End andMobile Development for 2018

Brought to you by Alexey Vasiliev, Railsware

1

Page 2: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Alexey Vasiliev• Web and Mobile Developer (Ruby, Java, JavaScript, Objective-C, C/C++,

Golang, Elixir/Erlang), DevOps

• Open-Source libs: PGTune, SQL Joins Visualizer, RWbox, Go-Kinesis, ElixirV8,

WebP-ffi, Zopfli-ffi, MongodbLogger, SMTRails, SHTRails, ...

• Open-Source books: Cooking Infrastructure by Chef, Setting up and scaling

of PostgreSQL (Russian)

• Leading RWpod podcast about Ruby and JavaScript

2

Page 3: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

3

Trends

Page 4: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

4

Page 5: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

5

Page 6: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Pros of React• JSX, Virtual DOM

• Testability

• Server-Side Rendering(SSR)

• One-Way Data Binding

6

Page 7: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of React• It is a UI library only

• You cannot setup a project without npm-ing lots of necessary packages

• Too many smaller components leading to over engineering or boilerplate

• Poor documentation

7

Page 8: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

8

Page 9: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Pros of Angular• Two-way data binding

• DOM manipulation

• Dependency injection, testability

• Support for web components

9

Page 10: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of Angular• Divided community

• Updates

• Initial load time

• Steep learning curve

10

Page 11: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

11

Page 12: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

So what makes Vue.js special?• First, it has a small learning curve, with a component approach similar to React but

with a more familiar syntax

• The ecosystem is well defined, including a set of de-facto standards: vue-router,

vuex

• The concept of single-file component that includes template, logic and styles in a

single file .vue file is really nice

• It's used by one of the most popular PHP frameworks, Laravel, as its default view

engine

• Maintained by Evan You as an open-source project sponsored through crowd-

sourcing12

Page 13: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of Vue.js• Small community

• Being too flexible can be problematic

13

Page 14: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

14

Page 15: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Pros of GraphQL• The mental model for integration becomes "what data/operations do I need"

(declarative) vs. "how do I get at the data/operations that I need"

(imperative)

• You can request for the exact data that you need and in one network

roundtrip (theoretically)

• Strongly typed, enforceable data schemas

• A standard way to expose data and operations

• Can be added gradually to an existing service layer15

Page 16: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of GraphQL• Query In Indefinite Depth

• Specific Response Structure

• Cache at Network Level

• Handling File Upload

• Unpredictable Execution

• Super Simple APIs

16

Page 17: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

17

Page 18: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

18

Page 19: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

19

Page 20: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Use Cases• Better execution for languages and toolkits that are currently cross-compiled

to the Web

• Image / video editing

• Games

• Peer-to-peer applications

• Image recognition

• VR and augmented reality

• VPN, encryption, etc20

Page 21: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

21

Page 22: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Pros of Webpack• Dead asset elimination

• Easier code splitting

• You control how assets are processed

• Stable production deploys

• Great speed benefits

22

Page 23: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of Webpack• Webpack is schizophrenic

• The documentation is awful

• Configuring Webpack is a minefield for newcomers

• Maintained mostly by one person

23

Page 24: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

24

Page 25: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Pros of Parcel• Small to medium sized projects

• Blazing fast bundle times

• Zero config code splitting

• Bundle all your assets

• Automatic transforms

25

Page 26: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of Parcel• Very young

• Small community

26

Page 27: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

27

Mobile Trends

Page 28: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

OEM SDKs

28

Page 29: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

WebViews

29

Page 30: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Reactive Views

30

Page 31: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Flutter

31

Page 32: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

32

Page 33: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

The fact that Flutter is the only mobile SDK that

provides reactive views without requiring a

JavaScript bridge should be enough to make

Flutter interesting and worth trying, but there is

something far more revolutionary about Flutter,

and that is how it implements widgets.

33

Page 34: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

34

Page 35: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of Flutter• Very young

• Small community

• Need to know Dart language

• Flutter doesn't have a WebView widget

35

Page 36: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

36

Page 37: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

37

Page 38: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Fast

38

Page 39: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Engaging

39

Page 40: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of PWA• Still a new technology – all browsers don't support it fully yet

• Not all devices support the entire software functionality

• Hardware functionality is also not supported on all devices

• No download store

• The PWAs do not support cross application logins

40

Page 41: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

41

Page 42: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Pros of Electron• Develop your Desktop App using Web Technologies

• App runs on top of Chrome

• Automatic updates

• OS Integration

• Both work on Linux, OSX and Windows

42

Page 43: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Cons of Electron• "Electron is flash for the desktop"

• Size Matters

• Code Protection

43

Page 44: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Static Page Generators and ServerlessApps

44

Page 45: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

45

Page 46: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

CSS Variables

46

Page 47: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Variable Fonts

47

Page 48: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

48

Page 49: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

Accessibility

49

Page 50: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

It’s not just about disabled users being

able to access your website — it’s

about everyone being able to access

your website.

50

Page 51: Trends in Front-End and Mobile Development for 2018...So what makes Vue.js special? • First, it has a small learning cur ve, with a component appr oach similar to React but with

<Thank You!> Questions?

Contact information

• web: leopard.in.ua

• github: le0pard

• twitter: @leopard_me

51