This topic is locked

Many nearly identical files produced by PHPRunner

9/13/2007 6:23:36 AM
PHPRunner General questions
D
daviesgh author

Hi,
There are a large number of files produced by PHPRunner that appear to be virtually identical apart from minor differences.
The following files only appear to differ on line 8: include("include/TableName_variables.php")

  • TableName_addnewitem.php
  • TableName_autocomplete.php
  • TableName_lookupsuggest.php



The following files only appear to differ on line 8: include("include/TableName_variables.php") and the line with $keys["PrimaryKey"]=postvalue("key1");

  • TableName_download.php
  • TableName_fulltext.php
  • TableName_getfile.php
  • TableName_imager.php



Most of these files are quite small but one of my Projects has 24 of TableName_lookupsuggest.php files and each one is 66KB. The situation for TableName_lookupsuggest.php has improved since PHPRunner 4.0 where each file on the same project was 233KB.
Surely for at least some of these file types, there should be common files shared across all tables/views?
Regards,
Gordon

Alexey admin 9/13/2007

Gordon,
when these files are separated they have more clear code and it's easier to customize them.
However you are right, we can decrease the number of generated files.

We'll add this to our suggestion list.