Git Product home page Git Product logo

jshttp.github.io's People

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

Watchers

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

Forkers

rlidwka doc22940

jshttp.github.io's Issues

send-data

send data allows you to send information down the response.

The send-data module has 8 different functions for 8 different content types and does not try to guess what the correct encoding is.

It also has logic to handle gzip encoding.

path-match

i think i wanna see how this plays into the router and such. preferrably the router would use it

Standard error interface

Would be cool if these modules and any related ones have a common error syntax. Would be cool to have err.code matching node or something as well as .status if applicable

on-end

okay so i realized that i need on-finished for read streams as well i.e. incoming client responses. it has to be on-end.

Collaboration with http-framework related modules

This project sounds like a documentation site for a set of low level modules to work with http servers in node.

I've done similar things with ( https://github.com/Raynos/http-framework/ ) and I think philosophies are very likely to align.

I'd be willing to move any modules that make sense from ( https://github.com/Raynos/http-framework/tree/master/modules ) into the jshttp organization.

If you find any modules in http-framework that are a good fit, I'd happily move them into jshttp & contribute and maintain them there. If there are modules in http-framework that are too "high level" / "opinionated" / "out of scope" then they will just stay under my name and have nothing to do with jshttp.

None of the modules that are part of http-framework are in any way branded with it.

I did a similar collaboration with npm-dom ( https://github.com/npm-dom ) a while ago where I moved low level modules to work with the browser DOM from my name into the npm-dom organization and left high level or opinionated modules under my own name.

I suspect that express / koa / http-framework can all use modules from the jshttp organization.

cc @jonathanong @dougwilson

session module?

can we create a new session module can be used in all web frameworks?

  • cookie session
  • generic session

body

body is a thin layer on top of raw-body

It exposes the ability to fetch a form encoded body or json encoded body or to inspect the content-type header and parse the body according to the content type.

who are we?

we need to put up somewhere a "who are we?" paragraph. explaining who is running jshttp, etc.

Layout

Okay just realized the layout doesn't make sense. Each module needs a description on how it is important. I'll mess with it later unless someone else gets to it first

type-is

i would put this in the same boat as accepts

send-data

send data allows you to send information down the response.

The send-data module has 8 different functions for 8 different content types and does not try to guess what the correct encoding is.

It also has logic to handle gzip encoding.

website

What should the website convey? Right now I've heard talk about adding more badges, but maybe it'd be good to think about what purpose the site should serve. From my needs I'd expect it to have at least the following information per project:

  • Project name
  • Project description (!)
  • NPM version
  • Node compat version
  • Link to NPM
  • Link to GitHub
  • Link to possible documentation page

What am I missing from the list?

etag

for etag header parsing/comparison; not sure if it'll have generation or that will be a different module

Philosophy/manifesto/whatever

Although the name is jshttp, I see this org more for anything that satisfies "tools to BYO server-side js web framework". Some definition and a vote would be nice.

cookies

needs keygrip to be finished and moved to crypto-utils. then v1!

if anyone wants to speed this up, do a code review please :) i've been waiting on one forever...

mime-db

i'll probably work on this later

node.js version badges

since the version badges are not an official service (perhaps someone might get shields.io to add it, ehh?), i thought i would put down the different ones with there colors here:

Node.js 0.8
Node.js 0.10
Node.js 0.11

with 0.8 or lower being bright green, 0.10 being green and 0.11 being orange for not the greatest support, haha. the numbers would all go up one with 0.12 comes out, so 0.10 would then be green, etc.

lock issues

locking issues is like the best feature in github. we should always lock an issue/pr when we close it and think the user is satisfied and doesn't need to respond. this prevents people from randomly posting in some old issue about an unrelated problem.

create a "team" page

...or whatever. i don't want to put gittip badge in the readmes any longer :)

compress

base-line compression for http messages (framework-agnostic)

related orgs

would be cool if we made this page standard and had other orgs use the same template. then we could have them all crosslinked.

for ex, we might want to link the following orgs in this org:

  • expressjs
  • koajs
  • pillarjs
  • crypto-utils for keygrip
  • stream-utils for all the request stuff

tho maybe the -utils orgs could use better names

google analytics

@dougwilson @Fishrock123 did one of you guys get a domain already? want to setup google analytics for all our team pages? main thing is that i don't like how it's commented out. haha

request-body

or whatever it's called to basically wrap raw-body with HTTP stuff

add logo to readmes

thoughts on where to add the jshttp logo (and website link) in the module readmes

style-guide

move it here. make it part of the jshttp.github.io page.

mime stuff

  • mime-types
  • compressible
  • set-type

etc. we'll create mime-db first, then we can decide here how to create the APIs. mime-types and compressible APIs could probably stay the same.

grabbed twitter handles

just wanted to post here that i grabbed the twitter handles jshttp and pillarjs. i'm not sure what we'd use them for, but at least we won't end up like expressjs :D

routes-router

routes-router is a module on top of routes.

It's a http specific request handler that does routing for you.

It includes a prefix feature to nest routers recursively.

I strongly suspect this modules is too opinionated / high level but i'll leave this issue open.

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.