Cluttering the variables table
tjholowaychuk - April 16, 2008 - 17:49
| Project: | Pathauto |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Certainly a small issue that can wait, but this module IMO clutters the variables table. When querying the table with LIKE 'pathauto_%' there are 63 rows in the version I am using, could this data not just be serialized and stored as a single row?

#1
It could be stored as a single row, but according to http://www.drupaltoughlove.com/review/printer-friendly-pages that´s a bad idea (see the part about using #tree TRUE).
Generally speaking, I am not sure of a reason to keep the variables table "clean". If there is a performance problem or some other reason then sure, but as far as I know that is not a problem with 63 entries or even many more.
#2
True, it would not work with system_settings_form(). Certainly your call! its a great module I just feel bad plastering the variables table with entries since the entire table is scanned, I suppose the caching makes that pretty irrelevant though