Welcome Guest, Not a member yet? Register   Sign In
Relations Module
#8

(02-18-2020, 04:25 AM)MGatner Wrote: @x1250 The Schemas dependency is essential to the design of the module, otherwise it wouldn’t know which tables are related to others and they nature of their relationship. If you don’t like the database-scanning nature of Schemas you can still define you schema in a single flat file using the DirectoryHandler. If you have other concerns about Schemas I’m open to hearing them.

@BasicApp the constructor isn’t essential but the code it runs needs to happen - I could move it to an init() function of some sort but then either you would be responsible for initializing or it would have to be checked on every method call. I’m open to input.

Hello MGatner. Right, my point is that an add-in like this shouldn't depend on the schema guesswork, since that limits its application. The guess work should be minimal and the schema stuff optional.

Also, in real applications, sometimes there is no way any programmed guess work will be able to determine any relations between tables.

IMO, relations should be defined directly in the model and nowhere else and the schema thing should be optional.

I hope someone can do it, because it is out of my technical capacity for now   Shy
Reply


Messages In This Thread
Relations Module - by MGatner - 09-24-2019, 08:20 AM
RE: Relations Module - by MGatner - 11-19-2019, 02:27 PM
RE: Relations Module - by nicolasriver - 11-30-2019, 08:01 AM
RE: Relations Module - by MGatner - 12-01-2019, 05:03 AM
RE: Relations Module - by x1250 - 02-17-2020, 08:24 PM
RE: Relations Module - by Basic App - 02-18-2020, 12:18 AM
RE: Relations Module - by MGatner - 02-18-2020, 04:25 AM
RE: Relations Module - by x1250 - 02-18-2020, 11:32 AM
RE: Relations Module - by MGatner - 02-18-2020, 11:36 AM
RE: Relations Module - by Basic App - 02-18-2020, 12:37 PM
RE: Relations Module - by MGatner - 02-20-2020, 04:11 AM
RE: Relations Module - by MGatner - 07-13-2020, 01:28 PM
RE: Relations Module - by hungtrinhbds - 08-09-2020, 08:41 AM
RE: Relations Module - by MGatner - 08-10-2020, 06:24 AM
RE: Relations Module - by hungtrinhbds - 08-10-2020, 08:19 AM
RE: Relations Module - by hungtrinhbds - 08-10-2020, 08:52 AM
RE: Relations Module - by MGatner - 08-11-2020, 04:26 AM
RE: Relations Module - by hungtrinhbds - 08-12-2020, 07:37 AM
RE: Relations Module - by MGatner - 08-14-2020, 02:38 PM
RE: Relations Module - by hungtrinhbds - 08-19-2020, 01:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB