Coder Social home page Coder Social logo

Comments (3)

unscriptable avatar unscriptable commented on June 22, 2024

Hey temsa!

curl.js's plugins all adhere to the CommonJS Modules/LoaderPlugin proposed spec. RequireJS's don't, yet.

There's no proposed standard for the names of plugins. I think this would also be important in the near future. For example, I think we should reserve the following names for plugins that are likely to be used by most loaders:

text! -- load a text file
css! -- load a css file as a link
i18n! -- load a translation string bundle
js! -- load a non-module javascript file

Is this what you mean?

-- John

from curl.

temsa avatar temsa commented on June 22, 2024

Hi ! and thank you for your great talk at #JSConf, was part of the attendees :)

Sorry, I probably overlooked your plugin code while searching for all AMD implementations that don't follow this spec (BTW, curl is not listed in CommonJS wiki as an implemention of this spec ;) ). I just try to move people to have real standards about this. in some way I would have liked a better approach (worked a bit with Wes Garland for CommonJS Module/2.0 spec some months ago, and proposed some syntax, following more or less @danwrong guidelines), allowing for more innovative possibility regarding syntax, but still i prefer something standard, rather than per implementation.

I know you've tweeted about the new mailing list Jame has made (I guess, didn't verified it was him, but at least he advertised it on twitter end commonjs mailing list), I just put the url if some other people interested by this topic would want to join : https://groups.google.com/group/amd-implement

from curl.

unscriptable avatar unscriptable commented on June 22, 2024

Hi temsa. I remember you. You asked some good questions about ES/Harmony Modules. :)

You wrote:

BTW, curl is not listed in CommonJS wiki as an implemention of this spec

Thanks! I fixed that just now.

Looking forward to working with you on AMD and modules.

-- John

from curl.

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.