I'm gearing up for an internship starting in May, and I want to hit the ground running. I've got a good idea of the tasks ahead, but I'm curious about how to actually develop a framework. What strategies or resources should I consider to learn how to build one? Any tips would be greatly appreciated!
2 Answers
When building your framework, it’s crucial to start by deciding whether you want it to be opinionated or non-opinionated. This choice shapes how others can use or extend your framework. Implementing a plugin architecture is super important too, as it allows others to contribute easily. Don't forget that documentation is key—great docs and examples can really make or break its adoption.
I also recommend building in public; feedback can help you avoid a framework that tries to do too much. Aim to integrate with existing tools to broaden your reach and user base. Lastly, keep the framework for yourself first—if it solves your problems, it’s likely to resonate with others too! For resources, check out "Commercial Open Source Software" to get a feel for how frameworks gain traction.
Before you dive into development, I'd recommend clarifying what kind of framework you want to build. If it’s a frontend framework, get familiar with manipulating the DOM directly without relying on libraries. Identify repetitive tasks in your current workflow and start considering library functions to simplify them. It’s essential to know the domain well to craft a framework that truly adds value; just be cautious about building something for production if you're still learning.
Thanks for the advice! I think the framework will handle automated tests to check configurations and processes.
Thanks for the insights!