Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

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

Conversation

Copy link

@tolgahanipek tolgahanipek commented Jul 8, 2024

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
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /