Coder Social home page Coder Social logo

mundlejs's People

Contributors

meelash avatar tauren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mundlejs's Issues

Plugins for compiling files

I want to include compiled jade templates in my client-side js. How awesome will that be? Widgets and all, just concatenated in... sweet.

Also, I want to use coffeescript.

Load tests

We need some load tests so that we can compare different options for serving files, e.g.:

I know we shouldn't be converting buffer->strings unless absolutely necessary on account of the cpu cost,
we need to experiment with cdn integration,
we need to quantify how much different cacheing strategies improve performance.

Convert a popular open-source app to use mundle as a demo/test

scripted looks like it might be a good choice: https://github.com/scripted-editor/scripted

Uses requirejs, so code should be fairly modular and easy to convert
Served from node.js
Nice, big application, looks like >2MB unminified javascript served

The only possible con about it is that I'm not sure it has much room for demoing async loading. If there was an app with lots of different windows, etc. it might be better... But maybe stuff like save/open dialogs and all could be loading async?

mundle install

Packages, like npm, cpan etc.

mundle install [email protected]

Should be relatively easy to implement, but very, very cool.

Real client-side package management.

Cache to cdn

Wonder if it would be beneficial to be able to deploy to cdn. The way it could work is, as bundles are cached on the server, they could be uploaded to a cdn. The next time a client connects, the client-side code can include the location of that bundle. The client-side code can also be included on a cdn and be updated there with the latest cache.

Seems like the biggest challenge is working with the api to different cdn's. Need to research if they even exist and if there is any standardization.

port to other server-side stacks

Bit of a pipe-dream at this point, but the client-side package management idea got me thinking of the possibilities :)

cross-language/environment client-side package support.

g-wan would be very cool, perl, ruby, etc.

Inconsistent auth erroring

The failure modes are different for async and sync requires of an unauthorized file (below the 'root' directory).

Keep track of errors client-side

Instead of just making the module contain an empty string, actually store the error in the module and show it every time that is required

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.