Coder Social home page Coder Social logo

discussions's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

discussions's Issues

pillarjs.github.io

renamed this repo to discussions and forked badgeboard to pillarjs. realized afterwards that i could've just pulled from badgeboard, but whatever. nice to have "forked from" at the top left.

there's no need to migrate issues just yet, but we should open new ones in pillarjs.github.io like we do with jshttp and eventually delete this repo

GitHub user access cleanup

Hi @pillarjs/owners , I'm working on auditing the current owners of the pillarjs organization. If any of you think you don't need to actually be an owner, please let me know as a comment here or by email and I can remove you (I also think you have the ability to remove yourself).

I'm also going to be demoting the current owners that do not have 2FA on their GitHub account to just members of the organization for now. If you are affected, and want to be promoted back to an owner, please let me know 1) that you have setup 2FA on your GitHub account or 2) why you can't enable it (perhaps there is a legitimate reason).

Moving Request and Response into separate modules

Started with some conversation here: pillarjs/router#14 (comment)

Express, Sails and Nighthawk are all doing something similar, creating instances of Request and Response to pass to the router. Currently Express extends directly from http.IncomingResponse which doesn't work for the context of WS requests or browser routing.

The discussion I would like to have here is "How can we create stand-alone modules that can be used for all three use cases?".

cc: @mikermcneil @felixfbecker

Settings stuff

Basically ported express stuff that will be built in for now but that no-one will have to even include.

@dougwilson What's the progress on this? I'm not so sure how this will all work, but if I have an idea I can get working on the docs.

Router

Extract the express router to here.

(Work is underway)

Views

Extract the view engine abstraction from express to here.

(Work is underway)

querystring stuff

i think @dougwilson and i discussed a querystring parser/stringifier that is more configurable and strict. specifically, i only ever want strings. haven't looked at the issue right now.

Add an OpenAPI middleware to the org

I was wondering what people think about adding middleware like this to this org?

I built this because of a need I had, but it is similar to something that Fastify supports directly, so I thought it would be good if express had one as well. I haven't published it yet, and I was thinking that if we liked it we could publish under the @express scope.

I would also love feedback on the module itself. It is still a work in progress, but if anyone sees any glaring problems, or better api I could adopt, I would like to hear it.

Move express settings management to a new module

Another nice module to have would be the settings management that express has:

app.set('foo', 'bar');
app.get('foo') // bar

For the things that express specifically defaults or modifies, for example query parser, I was thinking of just adding a setter registry:

app.setter('foo', function (val) {
  return 'foo' + val;
});
app.set('foo', 'bar');
app.get('foo') // foobar

My main use case here is to also share this functionality to my front end implementation as talked about here: wesleytodd/nighthawk#5

Thoughts feedback?

promises or callbacks

Various modules support callbacks or promises.

finalhandler is callback, csrf is both and templation is promises.

I'd be nice if jshttp & pillarjs consistently support either all promises, all callbacks or all both.

I'd personally recommend that we try to support both, i.e. you SHOULD support both and MUST support callbacks.

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.