Timeline for Database-backed website configuration
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 17, 2011 at 18:42 | comment | added | SRKX | @Xkeeper : TEXT requires much more disk space I think, and I'm not sure you'll need more that 255 bits for your use. This is not an overkill, it provides you with enough flexibility to enhance your system later if need. It is a good pattern for scalability and proved useful for me. | |
Nov 17, 2011 at 17:24 | comment | added | Xkeeper |
Also, is there any reason for using VARCHAR instead of TEXT ?
|
|
Nov 17, 2011 at 17:22 | comment | added | Xkeeper | This really seems like overkill for a small amount of options, and handling types in PHP is only useful if you have a specific thing that writes to a config value and cross-checks the proper typing and everything. | |
Nov 17, 2011 at 17:16 | history | answered | SRKX | CC BY-SA 3.0 |