Comments (7)
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.
Sounds good. My more recent goal with Frank was to redo Freya directly on top of ASP.NET Core. Maybe Falco.WebMachine? :)
from falco.
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.
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.
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.
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.
from falco.
Related Issues (20)
- Docs: minor error in Falco.Markup docs
- Docs: minor error with Routing HOT 3
- Request: Update Tags/Releases feature for repository HOT 4
- falcoframework.com is down HOT 1
- Add CORS support to HostBuilder HOT 2
- Suggestion: Ability to use dotnet development User secrets HOT 5
- Broken Link & Spelling for "function composition" HOT 1
- Unable to serialize DtResponse object.
- Errors in Tutorial? HOT 6
- Add dapper HOT 1
- Attr.cols missing from Markup module HOT 1
- Enable the `Discussions` page HOT 1
- MapJson doesn't work HOT 2
- Recommendation for a basic Dockerfile to build Falco - deploy on Fly HOT 3
- [Question] Response.debugRequest is not defined HOT 2
- dead link HOT 6
- Typo HOT 3
- Question: XSS vs CSRF HOT 1
- Falco 4 handler not responding correctly. HOT 3
- Docs: re-direct examples out of date HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from falco.