Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ColdFusion and Vue - Building CFML-powered reac...

ColdFusion and Vue - Building CFML-powered reactive applications

This presentation was given at the Adobe ColdFusion 2019 Summit in Las Vegas, NV on October 1st, 2019.

Matt Gifford

October 01, 2019
Tweet

More Decks by Matt Gifford

Other Decks in Technology

Transcript

  1. MEANWHILE… Practical Functional Programming in ColdFusion Shake N’Bake: Top 10

    Performance Tuning Tricks to put you in First Place Try This At Home: Building Your Own ColdFusion Swarm
  2. DIRECTIVES Instantly recognisable with the v- prefix Can take arguments

    (eg v-bind:title) Can be written in shorthand Can be dynamic
  3. TWO-WAY BINDING Whenever a model’s property changes, change the bound

    element Whenever a bound element changes, change the model’s property
  4. COMPONENTS HEADER Title Title Lorem issue dollar sit amet Lorem

    issue dollar sit amet nav1 | nav2 | nav3 | nav4
  5. COMPONENTS HEADER Title Title Lorem issue dollar sit amet Lorem

    issue dollar sit amet nav1 | nav2 | nav3 | nav4
  6. USING AN API - AXIOS Supports the Promise API Transform

    request and response data Automatic JSON data transformations Support for XSRF
  7. VUEX Helps to deal with shared state management Ideal for

    long term productivity and larger applications More concepts, boilerplate code and architectural structure No “one-way” to structure the store
  8. SO, WHY VUEX? Keep a single source of truth for

    data Available for all components to access Avoid having to send props and emit data between every component
  9. SO, WHY VUE.JS? VERY easy to bind data to HTML

    elements Lightweight and performant Highly extensible