Need help with sam-samples?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

203 Stars 33 Forks 156 Commits 44 Opened issues

Services available


Need anything else?

Contributors list

# 354,885
147 commits
# 43,926
1 commit
# 150,141
1 commit

SAM Samples

SAM is a new reactive functional pattern which greatly simplifies the architecture of front-ends (native or Web).

This repo focuses on Vanilla JS and Node.js implementations. It contains the following samples:

  • admin-template - an Angular2 admin template modified to implement the SAM pattern
  • aws-alexa samples show how the SAM pattern can be used to implement Alexa skills
  • Blog - a simple CRUD implementation showing how easy it is to create isomorphic implementations with SAM (vanilla.js +/- node.js)
  • Hash-DOM - an unapologetic minimalist v-dom equivalent that works well with the SAM pattern
  • Inferno - the rocket sample with an Inferno based view
  • React - counter is a boilerplate SAM implementation in React, child-instance demonstrates how a Parent/Child implementation works, and the Spinner sample shows how a view component can initiate/control a spinner
  • SB-Admin - a simple Web application based on the SB Admin template (node.js with no client-side code)
  • TODOMVC - an implementation of the TODOMVC challenge (vanilla.js)
  • Vanilla-ES6-boilerplate-project - This is a starter project for people who do not want to use a framwork

Some samples can be run here: - inferno-rocket - crud-blog - vanilla-focus-textarea

Recently Updated

Now running with the sam-pattern library - todomvc-app-lit-html
- todomvc-app-react samples - todomvc-app (vanillajs)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.