Radicore Forum - RDF feed
https://forum.radicore.org/index.php
metadata vs. business logic
https://forum.radicore.org/index.phpindex.php?t=rview&goto=76&th=31#msg_76
I want to use a perl script to generate my table classes from the create sql script. I am considering making my meta-data definitions separate from any business logic and then using multiple inheritence to include them in the $<table> class so that if my table structures change I can regen the meta-data definitions with minimum impact. I just wanted to get your opinion on this and why you did not design it this way. Maybe changing table specifications is an issue that only affects inexperienced programmers like me? Thanks.]]>lauxa2006-06-15T21:27:09-00:00Re: metadata vs. business logic
https://forum.radicore.org/index.phpindex.php?t=rview&goto=77&th=31#msg_77
http://www.tonymarston.net/php-mysql/menuguide/dict_table(up d4)export.html) it can create two files - the table class for business logic and a separate structure file. It does not overwrite the class file if it already exists, thus preserving any business logic which you may have defined. Only the structure file is overwritten.]]>AJM2006-06-16T09:12:20-00:00