Git Product home page Git Product logo

nombo's People

Contributors

johnkpaul avatar jondubois avatar juliangruber avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nombo's Issues

Add a way to bypass server cache

Currently the only way to bypass server cache (for static files served over HTTP) is using some tricky custom middleware. It would be nice to allow the client to easily bypass server cache to make sure that it gets the most up to date version of a file.

Issue #2 should be resolved before moving on to this one (it will make this task much easier).

Creative use of "several"

In the readme file, there is a list of "several" "features". That list is 14 entries long and sort of a wall-of-text situation. You might want to cut it down a bit. I personally didn't even read it all when I first saw it, just because it was so densely packed in.

These are the things that caught my eye:

  • Offers a simple webservice module which allows you to seamlessly interact with other Nombo applications
  • Allows your client-side scripts to listen to server-side events. (You can also listen to events which occur on remote Nombo servers - If they allow you of course)

You might want to shove the rest off to the side somewhere and focus on the interesting bits. I mean, the other "ground-breaking features" are... well... not actually that ground-breaking. Everyone already knows that node is kind of quick, and obviously it's going to be JavaScript, and really, "socket.io" isn't a feature.

Play to your strengths, guys!

Split router into separate caching, routing, compressing and responding middleware layers

Instead of letting the router handle all these aspects, split it into multiple middleware layers.

The flow of a request should be something like this:

(req, res) >> userDefinedMiddleware(req, res) >> respondFromCache(req, res) >> rout(req, res) >> gzip(req, res) >> respond(req, res)

Each middleware will need to decorate the req object with pending response data after the request has passed through it. Once the final respond() middleware is reached, the response will be sent.

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.