Modular GeneratorThe Modular Generator is a dynamic Visual Studio Code extension tailored specifically for developers keen on clean architecture. This extension brings a host of streamlined, automated routines, empowering you to focus on your core development tasks. Features
Add ModuleOur Add Module feature brings a set of automated procedures for component generation:
By simplifying these integral procedures, Modular Generator lets you concentrate on what's crucial - delivering high-quality code. Update ModuleChoose a module and follow the prompts to update the Moduele, with View, Service, or Repository updates. PhilosophyWith the focus on modular design, Modular Generator encourages a more manageable folder structure. The Controller, Page, and Widget components are tied together logically rather than strewn about in a flat structure. Over time, this approach significantly reduces cognitive overhead and prevents confusion, fostering long-term codebase maintenance and comprehensibility. Modular Generator promotes a parallel module structure. There are no nested submodules within another module, mitigating confusion and ensuring each module remains self-contained and independent. Having experimented with various project structures, like ModuleRoutes and WidgetModule for Page/Controller, we found this strategy to be the most effective. It promotes transparency and ease of access by avoiding hidden modules and consolidating all dependencies into a singular, accessible location. An example of the envisioned structure is as follows:
Which would look like this:
Continuous DevelopmentThe Modular Generator is under active development, with plans to introduce more customization options while respecting our fundamental principles.
You might notice the absence of shared/core folders or models in the module structure we provide. This isn't an oversight, but a conscious decision. While these components are indeed vital to any project, we believe that the management of these elements should be left to the developer's discretion. The Modular Generator extension does not dictate your project's overall architecture. Instead, it focuses on automating the aspects related to module generation and management. This approach allows you to leverage the benefits of the Modular Generator while retaining complete control over the organization of your core and shared components. Requirements
LicenseThis project is licensed under the MIT License. Support and Feedback
ContributingContributions are welcome! Check out the repository and feel free to submit pull requests or create issues. |