Building e-commerce web apps with



Building e-commerce web apps with

1 1


building-web-apps-with-sofa-and-couchcommerce-slides


On Github sofa / building-web-apps-with-sofa-and-couchcommerce-slides

@sofa_io

Building e-commerce web apps with

By @cburgdorf and @PascalPrecht

Hi there.

The web today

Most shops still suck on touch devices

    
    

Pain Points

  • Long waiting times
  • Difficult navigation
  • No gesture support

What we actually want

    
    

Benefits

  • Fast
  • Easy navigation
  • Optimized UI/UX
  • Gesture support

Introducing

Sofa is an SDK that makes building e-commerce web apps for the CouchCommerce platform a breeze.

Key Features

  • Packaged Components
  • Promised Based API
  • Easy Checkout
  • Basket Handling
  • Catalog Search

Conceptual Overview

Can haz code please?

Promised Based API

couchService
  .getProducts('category')
  .then(function (products) {
    // do something with products
  });

Basket Handling

var item = basketService
          .addItem(product, 1, variant);

basketService.increase(item, 5);
basketService.decrease(item, 5);
basketService.exists(product, variant);
basketService.find(predicate);
basketService.getSummary();

✓ automagically persistence

Solid Search

searchService
  .search(searchTerm, options)
  .then(function (result) {
    // do something with result
  });

✓ configurable throttleing

✓ no out of order responses

Easy Checkout

checkoutService
  .getSupportedCheckoutMethods(...)
  .then(function (methods) {
    // do something with methods
  });
checkoutService
  .checkoutWithCouchCommerce(...)
  .then(function (token) {
    // do something with token
  });

Hands on! Now!

Okay, let's build an app real quick!

Questions?

Thanks.

@cburgdorf and @PascalPrecht