GithubHelp home page GithubHelp logo

API Stability about goji HOT 2 CLOSED

zenazn avatar zenazn commented on July 17, 2024
API Stability

from goji.

Comments (2)

zenazn avatar zenazn commented on July 17, 2024

Yeah, I'd like to promise a stable API at some point. I don't think that point is now, though: the project is simply too new.

This is a pretty shitty answer for people actually attempting to use Goji, though, so let me make some educated guesses as to which things are currently actually stable:

  • bind on *NIX
  • graceful
  • param.Parse (i.e., its method signature and rough behavior. The types of errors returned might get a little more done to them)
  • web.C
  • the types accepted as middleware, the middleware mutation functions, and how middleware behaves in general
  • the types accepted as handlers
  • the semantics of route selection

Things that I'm definitely going to have a good hard look at:

  • the syntax of pat-like prefix routes (e.g., "/profile/:id/*"). I'm kind of suspicious of the syntax and am starting to get cold feet about the semantics as well
  • all the standard middleware implementations
  • all the standard environment keys

from goji.

zenazn avatar zenazn commented on July 17, 2024

It's been a while, but I finally implemented the changes I thought I would with prefix routes (2fe5c3e).

I think this is all the API changes I've come up with during several months of use, so I think I'm about ready to declare Goji (or at the very least package web) API-stable.

from goji.

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.