Coder Social home page Coder Social logo

bzerangue / workspace-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from craigerskine/workspace-starter

0.0 1.0 0.0 97 KB

Symphony CMS workspace starter kit with examples for XSLT partials and XML includes

CSS 1.54% JavaScript 56.00% XSLT 30.42% HTML 12.04%

workspace-starter's Introduction

Symphony CMS - Workspace Starter

This is a baseline starterkit that I use for most of my site builds. This may not be appropriate for everyone, but if you know of a better way to do things, I'm all ears.

Installation

  • Install node.js.
  • Download this repo.
  • Open the containing _dev folder in a command prompt.
  • npm install

Usage

  • Open the _dev folder in a command prompt.
  • ./node_modules/.bin/gulp
  • Edit the master.xsl, *.css, *.js files in the app folder as well as any *.xsl in the /live/workspace/theme/[pages | partials | utilities]/ and save your changes to see the magic happen. Any changes you make will auto compile the .xsl, .css, .js files and maintain a hashed version of the assets while also automatically keeping the hashed file name references updated in your /live/workspace/theme/templates/master.xsl. Then just sync your changes up to your server using your favorite method and you are all set.
  • NOTE: DO NOT edit the main master.xsl file in /live/workspace/theme/templates/ as it will cause you to loose potential changes later down the road.

Features

  • Automated build system using Gulp and a bunch helper packages.
  • Concatinated and compressed single main-[hash].css file that is auto prefixed and purged of all unused rules and classes.
  • Concatinated and compressed single main-[hash].js file.
  • Tailwind CSS utility first CSS framework for rapidly building custom designs.
  • Turbolinks feature for faster page loads and a progress bar for slower database driven pages.
  • Master .xsl example.
  • Portable page .xsl example.
  • Partial .xsl example.
  • Option for per-page inline or referenced CSS and JS.
  • Other stuff I probably forgot to mention.

workspace-starter's People

Contributors

craigerskine avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.