Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimizing code repetitions in quickstart-generated folder by using Zontroy code generator #82

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

tolgahanipek
Copy link

Minimizing code repetitions in quickstart-generated folder by using Zontroy code generator

Hi 🙋‍♂️ @nromanetti

By using Zontroy code generator, coding costs were reduced by minimizing code repetitions in quickstart-generated folder.
To explain this briefly, I first created a database from mssql to prevent this code repetition. Then, I ran the Zontroy code generator and made the necessary configuration settings to connect the database I had previously created to Zontroy. Then I pulled the tables of this database from the zontroy in the form of entities and arranged the sections that were the same as the code template but only with different labels, so that the names of the tables and fields in the database would appear. For this, I used ziref , zsif and zref file types, which are specific to Zontroy. For more detailed information, you can check out https://docs.zontroy.com/ . I hope it was useful for you. 🙏

  • Images of sections where code duplication is prevented using Zontroy

Input: [[[zg-entity...zg-name]]]Repository.java.zref

34

Output: AuthorRepository.java

34

Output: BookRepository.java

34

Output: PassportRepository.java

34

Output: ProjectRepository.java

34

Output: RoleRepository.java

34

Output: UserRepository.java

34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant