Coder Social home page Coder Social logo

Resource builder? about falco HOT 7 CLOSED

pimbrouwers avatar pimbrouwers commented on May 20, 2024
Resource builder?

from falco.

Comments (7)

pimbrouwers avatar pimbrouwers commented on May 20, 2024

I thought long and hard about adding something like this. Basically a way to plug in a "group" of handlers that would form a REST unit for a specific resource (i.e. /user). But to me, it feels too much like a pattern and not enough like core functionality (in this next commit, I'm also removing form streaming functionality for this same reason).

The philosophy of this library is to provide only the utility required to build a "complete" server-side application. It's difficult to draw a line around what "complete" means in this case. But to this point, I've seen it as:

  • Build & run self-host mechanism
  • Handle routing
  • Process requests
  • Model binding
  • Render text
  • Render markup (html, svg, xml)
  • Render JSON
  • Authentication & Authorization

With that said, I think there is tremendous utility to these type of tools. So I wonder if we handle this by creating sub-packages, for example Falco.ApiBuilder and Falco.MultipartStreaming? This allows the core package to be light and clean, and enables incremental enhancement. We'd also have to decide at that point whether we should house all of this under an organization account?

from falco.

panesofglass avatar panesofglass commented on May 20, 2024

Sounds good. My more recent goal with Frank was to redo Freya directly on top of ASP.NET Core. Maybe Falco.WebMachine? :)

from falco.

panesofglass avatar panesofglass commented on May 20, 2024

How about I start be replacing the WebHostBuilder in Frank with the one from Falco, then we work it in, if we want, from there?

from falco.

pimbrouwers avatar pimbrouwers commented on May 20, 2024

That sounds like an excellent idea! I'm really looking forward to merging our efforts. And I appreciate that you're open to doing it under the "Falco" umbrella :)

from falco.

panesofglass avatar panesofglass commented on May 20, 2024

Well, Frank no longer has any brand value, and it is so far from Sinatra at this point, I don’t see the point of the name. Besides, all these separate but similar packages make it harder to get started.

from falco.

panesofglass avatar panesofglass commented on May 20, 2024

I've got the WebHostBuilder in Frank matching roughly with yours. Next step is to replace it. See anything in mine that might be worth pulling over before I make the swap?

from falco.

pimbrouwers avatar pimbrouwers commented on May 20, 2024

from falco.

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.