-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- through thoughtful development and continuous discussion, I suggested fixing the design of those calibration app relational tables as the initial design I received has flaws and I convey discussion with points to show the flaws my colleague made in the designing and provide adjustments to resolute. - From the aspect of database design done right with foreignKey and targetKey, regardless of assistance from ORM: Sequelize, Entity, DAO vs Repository, Hibernate, SQLAlchemy,..., having the tables tightly associated is extremely important for data astraction and encapsulation, as the data is the entry point for the building of our app business logic and there comes inheritance and polymorphism in my development. That can be verified with SQL, MySQL clients like WorkBench, DB Navigator, PHPMyAdmin. Clicking a foreignKey data should navigate us automatically to the view of a data record in the associated table. The tables if not well-associated are often loose, sparse and writing into the tables though might still be proceeded with some hacks like getting the highest index of location table to determine the next location_id for the equipment table but that often results in extra work, querying location table to find that highest index and soon to be chaotic. - Despite knowhow and knowledge distribution I have been giving, It takes time for peers to have a strong grab of it and be able to come up with a good database design and data structure. - Only provides more focus to business logic better development and less hassle of building and debugging PHP application
- Loading branch information
1 parent
26c200c
commit 518b28f
Showing
4 changed files
with
124 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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