Complex DB and Appgini Coding Approach
Posted: 2014-04-21 01:33
Hi,
I have been working with AG and have a design question issue. I have a database that will serve 10 companies.
1. Each company will need to have credentials with complete"ownership and filtering" of all data entered uniquely to their "operations"
2. I understand that I can have a common database and create each record in each table with key that identifies "who" owns the record in the tables and are there AG examples of this approach?
3. The clarity I need is does appgini membeship allow for this type of "separation\ownership" of records completely using membership for admin, creators, editor, and reviewers of this data using groups or owners?
4. Performance is the next issue; If I have 10 companies creating, editing, uploading pdfs, in this environment is appgini capable of "scaling" or "stabilizng" read/writes to the database?
5. What if it grows to 100 companies with 5 users each hitting the same database with "different" and "Unique" ownership the record in a database?
6. My basic question is should I just have a separate database for each company or should I approach it with a universal database and have each company "own" their data in a common database?
7. Are there samples or white paper on how to handle such a scenario in Appgini.
8. for the record.. I am adding to each table company_id, location_id, and unique_key to each table that no matter what each record will be retrievable.
9. from what I read, I would need to "filter" each view by company_id, location_id, unique_key in addition to the user "owndership" to insure proper workflow and usage.
10. is there a better approach or suggestion for this scenario utilizing the AG system.
11. I love what I have been able to accomplish; this is by far the fastest application design and generator I have ever used. Very Nice!
12. Thank you in advance
Sincerely,
Dmac411
I have been working with AG and have a design question issue. I have a database that will serve 10 companies.
1. Each company will need to have credentials with complete"ownership and filtering" of all data entered uniquely to their "operations"
2. I understand that I can have a common database and create each record in each table with key that identifies "who" owns the record in the tables and are there AG examples of this approach?
3. The clarity I need is does appgini membeship allow for this type of "separation\ownership" of records completely using membership for admin, creators, editor, and reviewers of this data using groups or owners?
4. Performance is the next issue; If I have 10 companies creating, editing, uploading pdfs, in this environment is appgini capable of "scaling" or "stabilizng" read/writes to the database?
5. What if it grows to 100 companies with 5 users each hitting the same database with "different" and "Unique" ownership the record in a database?
6. My basic question is should I just have a separate database for each company or should I approach it with a universal database and have each company "own" their data in a common database?
7. Are there samples or white paper on how to handle such a scenario in Appgini.
8. for the record.. I am adding to each table company_id, location_id, and unique_key to each table that no matter what each record will be retrievable.
9. from what I read, I would need to "filter" each view by company_id, location_id, unique_key in addition to the user "owndership" to insure proper workflow and usage.
10. is there a better approach or suggestion for this scenario utilizing the AG system.
11. I love what I have been able to accomplish; this is by far the fastest application design and generator I have ever used. Very Nice!
12. Thank you in advance
Sincerely,
Dmac411