DEV Community

📦 Cardboard devlog, what I've done in the last update

Keff on March 17, 2025

Hey there! Hope you're having a great week! I'm building Cardboard, a straightforward, yet powerful reactive web framework. You can look at the re...
Collapse
 
ricky11 profile image
Rishi U

How would you write a figure with a fig caption, a field set with a label, all wrapped within a form and each having their own styles. Wont it all get well a bit spaghetti i, and neglect separation of concerns? -- Overall its pretty interesting and could really work well for small embedded projects.

Collapse
 
nombrekeff profile image
Keff

In theory it's possible to do everything you could with vanilla HTML/JS/CSS.

Well, yes. It could be a bit spaghetti, the same way it could in other frameworks I guess. For now it's up to the developer to organize and structure the code. Maybe the issue is calling cardboard a framework, it's probably more of a library than a framework at the moment. It offers the tools to do things, but it does not force you to do thins in some specific way.

My idea was to use it in small projects that need reactivity and basic SPA functionality with a really small footprint. All of this in a very light package that is also very performant by design. Of course it's limited for big apps, but that's not it's primary use-case.

Collapse
 
shadowruge profile image
izaias

Parabéns

Collapse
 
mineko profile image
Mineko GmbH

Good job!

Collapse
 
wormss profile image
WORMSS

Congrats you invented Vue/Solid.js

Collapse
 
nombrekeff profile image
Keff

Not really, main point of cardboard was to remove the need to write html tags. That was the main point. I hate writing html. I don't know what solid.js is, but Vue requires you to write html tags or jsx. Also cardboard is surprisingly fast, and lightweight at around 20kb. Of course other frameworks offer much more stuff, but most things can already be done with cardboard.

Collapse
 
joshuaamaju profile image
Joshua Amaju

What's the point of your comment? To discourage them or what exactly?

Collapse
 
nombrekeff profile image
Keff

Don't worry, I've been in the industry and here for a while. I'm used to it, and don't really care. I find it somewhat funny 🤣

Collapse
 
wormss profile image
WORMSS

Do you feel inventing something as good as vue and solid JS as an insult?

Collapse
 
leob profile image
leob

Might seem pointless, but I'm convinced you can learn a LOT doing this (even if you end up being the only user of the framework) ...