Replies: 6 comments 2 replies
-
Hey @brillout! I had never heard of Reframe or Wildcard. Wildcard is really cool! Definitely similar to what we are doing with Blitz. I think there's definitely a place for a starters + libs framework, but for Blitz we specifically want it to be a monolith like Rails. There's a fundamental upper limit to the DX of starters+libs that we are going beyond :) Rails is very popular for this reason. The main reason Rails is falling out of favor is because people want to build SPA type experiences with fullstack Javascript and with ability to share code with React Native apps. So Blitz is filling that hole :) |
Beta Was this translation helpful? Give feedback.
-
Are you sure about this? To me, this is actually the opposite. It's nice (and reassuring) to use do-one-thing libraries highly focused and well maintained instead of using one big monolith that will much more likely die. I believe it's not only me but the general sentiment. And, even more importantly, I can much easier replace a do-one-thing lib with another one. Replacing a framework is a order of magnitude more daunting task. Curious about your thoughts about this. Getting this right is fundamentally important for Blitz. |
Beta Was this translation helpful? Give feedback.
-
@merelinguist You downvoted; do you mind sharing your thoughts? I'm genuinely curious |
Beta Was this translation helpful? Give feedback.
-
Rails, (or Laravel in php) are frameworks that follow the “convention over configuration” paradigm. |
Beta Was this translation helpful? Give feedback.
-
@brillout We do see the value in extracting certain things out as necessary. Yesterday, we published That said, there’s both a danger and a difficulty in splitting everything up. The difficulty is that Blitz is not that big right now! I’d prefer to give our users a complete package, rather than a dozen little ones. The danger is that, at least at our scale, it’s a lot easier to maintain a monolith than too many “microservices”. When everything is in the same place, and uses the same mental model, it’s generally easier to maintain. A great example of a library which initially started with the principle of splitting things up is Apollo. A few years ago, you had to install a whole list of packages to get Apollo working, a few of which you could swap as you wished. Over time, Apollo seems to have slowly consolidated these because it’s much easier to install one package and go, than to install a handful, many of which have seemingly opaque functionality. The final thing I’d say is that Blitz is a framework. Fundamentally, you are going to have to buy in to some of the design decisions Blitz at some level, otherwise there’s not really any framework, but just a collection of utility libraries! I think Blitz is a much stronger framework for recommending what we feel is the best way to do things, rather than leaving users fending for themselves. Interested to hear your thoughts. |
Beta Was this translation helpful? Give feedback.
-
Sounds good! The more code lives in libraries the better! If 50% of the code you guys write are for libraries that can be used independently of Blitz, then you are doing Blitz and the community as a whole a huge favor. Libraries are inherently more robust and flexible than monoliths. Where can I find the auth package you mentioned? I was actually looking for one for Reframe but I never found something decent. So I'm super curious about what you are building there.
Neat, I may actually use Superjson instead of the serializer I wrote for Wildcard. That's really neat that instead of competing we end up sharing code. Libraries enable fundamentally more collaboration :). I've gathered an extensive amount of feedback and experience with Wildcard. Maybe we should cooperate on the RPC side — is that something you guys would be up to? I'm working on a Wildcard rewrite and it's going to be much much better. New name, new docs website, simpler context object, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi @flybayer
Nice job on creating Blitz!
I'm curious about what you think about https://github.com/reframejs/reframe. The idea is to have starters + libs instead of one big monolithic framework.
Which brings me to https://github.com/reframejs/wildcard-api.
I'm the author of both.
I really like your manifest, that was my goal with Reframe as well until I got caught up by https://lsos.org/.
Thanks for what you are doing and if by any chance Blitz eventually follows what I call the "zero-lock framework" principle I'd your biggest advocate :-).
Beta Was this translation helpful? Give feedback.
All reactions