Minimizing code repetitions in CRUD-with-MySQL folder and process of scaling the project according to the number of entities in the database by using Zontroy code generator#1
Open
tolgahanipek wants to merge 6 commits into
Conversation
Generated by Zontroy Code Generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Minimizing code repetitions in CRUD-with-MySQL folder and process of scaling the project according to the number of entities in the database by using Zontroy code generator
Hi 🙋♂️ @squaremost
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/ .
Display via video recording:
For Example:
As you can see, the database tables have been added to the left. To generate the code, a main.py.zsif file was created to generate the code in a single file. zsif stands for zontroy single file.
I hope it was useful for you. 🙏