Giter VIP home page Giter VIP logo

vue-template-service's Introduction

vue-template-service

(Note that the service name is currently misleading and subject to change. It was initally a spike to create a generic vue template rendering service, but then turned into a demo of completely decoupling the view layer from the mediawiki stack)

Motivation / Design Principles

  • Increase cohesion: Change to a view only needs to touch a single JS file
  • Reduce coupling: All dependencies on the mediawiki stack, such as l10n, are exposed via APIs.
  • Modernize infrastructure: This introduces a build step, which allows us to write ES2017 instead of ES5 without losing browser compatibility (this will need some polyfilling and integration tests which are out of scope for the spike).
  • Reduce devlopment feedback cycle and developer experience: By testing in isoloation and using modern development features like hot reladoing, we reduce cycle times both locally and in the continuous integration phase.
  • Move towards continuous deployment: Decoupling the service will make it much easier to move towards adopting continuous deployment practices and deliver value faster.
  • Remove accidental complication: We are aiming to break volatile dependencies, ban all global objects and remove unneccessary layers of custom abstractions such as the resource loader aliases, which already broke standard JS tooling and created hard to debug errors during this spike.
  • Decrease setup cost: The Frontend can be used without a running mediawiki. The current spike only assumes a recent node.js installation.
  • Improve Inclusivity: Moving towards are more modern stack means developers can contribute to the project without learning about PHP or the mediawiki stack.

Run dev

docker build -t vue-server .

docker run -p 3000:3000 vue-server

vue-template-service's People

Contributors

c089 avatar jakobw avatar jonaskress avatar

Watchers

 avatar  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.