All Projects → amplience → dc-accelerators-content-rendering-service

amplience / dc-accelerators-content-rendering-service

Licence: other
An accelerated starting point for implementing Amplience Dynamic Content.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to dc-accelerators-content-rendering-service

bootstrap-gulp-starter-template
Bootstrap 4 + Gulp 4 + Panini for improve front-end development workflow
Stars: ✭ 67 (+346.67%)
Mutual labels:  front-end, handlebars
framework
Data handling framework complementary to backend active record systems.
Stars: ✭ 30 (+100%)
Mutual labels:  front-end
vagas
🤝 Venha fazer parte do nosso time
Stars: ✭ 15 (+0%)
Mutual labels:  front-end
event-driven-web-components-realworld-example-app
Exemplary real world application built with Vanilla JS Web Components in an Event Driven Architecture
Stars: ✭ 55 (+266.67%)
Mutual labels:  vanilla-javascript
koochak
A minimal & lightweight CSS framework
Stars: ✭ 15 (+0%)
Mutual labels:  front-end
lnv-mobile-base
移动端开发脚手架-基于gulp的使用zepto、handlebars、sass并且带移动端适配方案(flexible.js)的前端工作流,旨在帮助移动端项目的开发
Stars: ✭ 41 (+173.33%)
Mutual labels:  handlebars
webApi-angularjs
⚓ Definitely simplifies your work with server side & organizes webApi layout to further managing.
Stars: ✭ 15 (+0%)
Mutual labels:  front-end
saco
A pre customized, express server for single page web apps that aims to be production ready.
Stars: ✭ 22 (+46.67%)
Mutual labels:  front-end
Density-Wars
Real time peer to peer RTS game running on WebGL (WIP).
Stars: ✭ 60 (+300%)
Mutual labels:  vanilla-javascript
front-end-world
前端入门知识框架
Stars: ✭ 47 (+213.33%)
Mutual labels:  front-end
eins-modal
Simple to use modal / alert / dialog / popup. Created with pure JS. No javascript knowledge required! Works on every browser and device! IE9
Stars: ✭ 30 (+100%)
Mutual labels:  vanilla-javascript
blog
Ideas Technical-points 2017-2-22 blog
Stars: ✭ 13 (-13.33%)
Mutual labels:  front-end
cocktails
UI for browsing IBA cocktails
Stars: ✭ 106 (+606.67%)
Mutual labels:  front-end
loco-rails
Rails is awesome, but modern web needs Loco-motive.
Stars: ✭ 53 (+253.33%)
Mutual labels:  front-end
blog
用Node.js+Express和MongoDB搭建一个属于自己的博客
Stars: ✭ 46 (+206.67%)
Mutual labels:  handlebars
vim-ember-hbs
Ember Handlebars/HTMLBars plugin for Vim with indentation support
Stars: ✭ 45 (+200%)
Mutual labels:  handlebars
x
Commerce Search & Discovery frontend web components
Stars: ✭ 54 (+260%)
Mutual labels:  front-end
Bulletproof-Front-End-Resource-List
All the resources you will need to learn and become a professional Front-End Developer!
Stars: ✭ 108 (+620%)
Mutual labels:  front-end
Kamp-frontend
𝐾𝑎𝑚𝑝 𝑃𝑟𝑜𝑗𝑒𝑐𝑡 𝐹𝑟𝑜𝑛𝑡𝑒𝑛𝑑
Stars: ✭ 3 (-80%)
Mutual labels:  front-end
AmpShell
A WinForms-based, lean and fast DOSBox frontend, for Windows (Linux and Mac coming soon !)
Stars: ✭ 29 (+93.33%)
Mutual labels:  front-end

Amplience Dynamic Content

Dynamic Content Accelerators - Rendering Service

Extensible content types and rendering templates for use with the Amplience Rendering Service

github version License

This project is designed to accelerate implementing Amplience Dynamic Content. It contains a set of commonly used components implemented as handlebars templates that can be rendered by the Content Rendering Service.

Amplience Dynamic Content Accelerators

Demo

Getting started

Developing components

This project has a local development environment which lets you test your component templates, styles and javascript without deploying them to Dynamic Content.

Steps:

  1. Check-out the project
  2. Install project dependencies
npm install
  1. Run development environment
npm run storybook

This will launch a browser displaying the components using Storybook, a popular component explorer. Any changes made to template files, styles or Javascript will reload automatically.

See the documentation links below for further details.

Exporting components

Before you can deploy the components you need to run the export process. This will compile, concatenate and minify the CSS & JavaScript as well as collect the templates, icons and content types into a folder to ease deployment.

Steps:

  1. Ensure gulp-cli is installed:
npm install --global gulp-cli
  1. Run gulp:
gulp

This will export the following files:

file description
dist/contentTypes Content Types which define the content structure for each component.
dist/templates Content Rendering Service templates which render content to HTML.
dist/icons Icons for each component.
dist/styles.min.css CSS Styles for the components.
dist/utils.min.js JavaScript which adds functionality to the components.
dist/lory.min.js JavaScript Library required by the Slider component.

Deploying components

To make use of these components in your application you must configure them in your Amplience account in addition to including the CSS & JavaScript in your project.

Configure Dynamic Content

To make the components available for use they must be configured in your Dynamic Content account. This includes:

Steps for this can be found in the configuration guide.

Include CSS & JavaScript

Include a reference to the CSS & JavaScript resources in your application.

<link rel="stylesheet" href="dist/styles.min.css"/>
<script src="dist/utils.js"></script>

If you are using the Slider component also include the lory library.

<script src="dist/lory.min.js"></script>

Interactive components will automatically attach their functionality when the DOM has loaded. If your application asynchronously renders the components you can manually activate the components with the following JavaScript:

if (window.AmpCa && window.AmpCa.Utils) {
   window.AmpCa.Utils.attachComponents();
}

Documentation

Getting Help

If you need help please reach out using one of the following channels:

License

This software is licensed under the Apache License, Version 2.0,

Copyright 2019 Amplience

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].