GithubHelp home page GithubHelp logo

Extension mechanism about coffeekup HOT 2 OPEN

mauricemach avatar mauricemach commented on July 17, 2024
Extension mechanism

from coffeekup.

Comments (2)

mark-hahn avatar mark-hahn commented on July 17, 2024

I assume you want discussion here about how the extensions api would work. I've got use cases for extensions that I will evaluate against the ideas discussed.

from coffeekup.

mauricemach avatar mauricemach commented on July 17, 2024

That's right. Though I think this feature should land in 0.2.5 or 0.3.0 as 0.2.4 needs to get published ASAP.

One feature that could qualify as a plugin to me is abbreviated attributes.

One I'm not sure if should be a plugin or a builtin is stylus support (and markdown, and textile, and sass, and less...).

Some things to bear in mind, off the top of my head:

  • CK runs on the browser too. Each additional feature adds to coffeekup.js download size, and potentially (even worse) to each compiled template function.
  • Currently coffeekup.coffee is the final coffeekup.js, without modifications, on both node.js and the browser. I think this is desirable to keep.
  • CK is not a language. It's a library that allows HTML-resembling CoffeeScript functions to output a string (with the equivalent document) when run. So real language extensions are not possible, only clever exploits of the existing CoffeeScript syntax.

from coffeekup.

Related Issues (20)

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.