Re: [WebDNA] db admin tool

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101478
interpreted = N
texte = --Apple-Mail-3--258680726 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable But convention becomes something that infringes on the efficient =20 freedom inherent in WebDNA. Although it would make administrative tasks easier, the additional =20 restrictions and things you'd have to remember would probably be an =20 expensive trade-off, especially if you were dependent on the admin =20 tool at all. On Nov 19, 2008, at 8:25 PM, William DeVaul wrote: > It would be nice if this was done by convention and not configuration. > For example, a products.db with fields id, maker_id and description > would mean that maker_id refers to maker.db and the field id. This is > a rails idiom and works nicely. It would mean all those > non-conforming legacy databases would need renaming. > > I think of convention as everyone driving on the right side of the > road. A lot of people go to work that way, but not race car drivers. > They burn a lot of fuel to drive in a circle. > > On Wed, Nov 19, 2008 at 8:32 PM, Kenneth Grome =20= > wrote: >>> Because there is no mechanism for structuring key fields >>> and relationships between databases, it would be a huge >>> task to write something that would figure all that out >>> automatically. >> >> The tool doesn't have to figure it out automatically, the >> user can simply define these relationships the first time >> it is used, and at any other time he feels like it. Then >> the key fields and relationships (and other operating >> parameters) can be stored in a toolprefs.db file for use >> again later. >> >>> I actually started building a modern, ajax driven db >>> admin tool that is much more powerful than the one built >>> in the 90s. Essentially it does everything you need =96 >>> create a db, edit a db, remove fields, add fields, add >>> records, remove records, edit records, search, delete db, >>> backup dbs, restore dbs, etc. >> >> I did this many years ago too (not in ajax though) and I >> think I called it Ken's DB Admin. It did everything you >> mentioned here and more -- including moving fields around >> into different positions so you could change the field >> order dynamically any time you felt like it ... :) >> >> But I used cookies to store the control parameters instead >> of storing them in a separate preference file, and later I >> learned that cookies aren't the best way to store this >> data. Somehow they created an unusual situation where a >> user would have to delete them to continue using the tool. >> >> I never figured out why this happens but if I were to >> rebuild it I would most definitely use a prefs file. But >> back in the 90's I was determined to make this tool a "one >> file" solution so I used cookies to avoid the need for any >> additional files. >> >> ------------------------ >> >> There's an important issue here that makes this kind of a >> tool dangerous to use in some situations too unless you're >> aware of it. I only learned this after I had finished >> coding my db admin tool: >> >> When a db contains encrypted data you cannot edit that field >> without screwing up that record or possibly trashing the >> entire db. So if you use this kind of webdna tool you must >> limit its editing use to only those fields that contain >> non-encrypted data. >> >> Naturally the tool could be built to disable editing of >> encrypted fields, but it cannot figure out which fields are >> encrypted all by itself, so this is an important setting >> the user must make in the prefs before the tool will >> function properly -- just like setting the name of >> the "sku" field in each db so it knows which field contains >> a unique value in each record. >> >> >> Sincerely, >> Ken Grome >> >> >> >> >> >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ --Apple-Mail-3--258680726 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGGTCCAtIw ggI7oAMCAQICEBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDkyNzAxMTg1M1oXDTA5MDkyNzAxMTg1 M1owPjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEbMBkGCSqGSIb3DQEJARYMcG1A d2ViZG5hLnVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtb7ZYYJV7sbgqxdgpBU/ q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AxMjVGhh d3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEBmvvAg5L6PclE8ruwo/gMYwgYcGCyqG SIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EC EBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEBBQAEggEAlJgyvb+5u2t4QP4Ppg8gj2z+nrTo iNB4Lt8gjzSU1QRQ5BWnXQE0kK7C7jRz3z5Y7yU5yu3H9NnUgJCXN3v8IDPn5t7WKtbfztwjQMNM 5W3DPgjfALuSCj6pYKZOHOEq1BcuOanuba0b7vuolLNyNToEzS4lDrQqvoX9l+NfYiq3MAAt5C6q jE9mhP2gkRojM6J4bV/rgZO4U2Fbhwy8LKau6poJ4tTG6Wu6grOoRuFAW+UfLqlzCH1UW4hRuQSW 8i0un1LtmZpVzlZZd6SvyF2CUVa5dvRl+s1j10KLBWTFSUovjJpIWxMXNaI73/tHR41yZTfuWUYx GeAvHzIoAQAAAAAAAA== --Apple-Mail-3--258680726-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] db admin tool (Kenneth Grome 2008)
  2. Re: [WebDNA] db admin tool (Donovan Brooke 2008)
  3. Re: [WebDNA] db admin tool (Patrick McCormick 2008)
  4. Re: [WebDNA] db admin tool (Patrick McCormick 2008)
  5. Re: [WebDNA] db admin tool ("William DeVaul" 2008)
  6. Re: [WebDNA] db admin tool (Kenneth Grome 2008)
  7. RE: [WebDNA] db admin tool ("Olin Lagon" 2008)
  8. RE: [WebDNA] db admin tool ("Michael A. DeLorenzo" 2008)
  9. Re: [WebDNA] db admin tool (Donovan Brooke 2008)
  10. Re: [WebDNA] db admin tool (Gary Krockover 2008)
  11. [WebDNA] db admin tool (Patrick McCormick 2008)
--Apple-Mail-3--258680726 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable But convention becomes something that infringes on the efficient =20 freedom inherent in WebDNA. Although it would make administrative tasks easier, the additional =20 restrictions and things you'd have to remember would probably be an =20 expensive trade-off, especially if you were dependent on the admin =20 tool at all. On Nov 19, 2008, at 8:25 PM, William DeVaul wrote: > It would be nice if this was done by convention and not configuration. > For example, a products.db with fields id, maker_id and description > would mean that maker_id refers to maker.db and the field id. This is > a rails idiom and works nicely. It would mean all those > non-conforming legacy databases would need renaming. > > I think of convention as everyone driving on the right side of the > road. A lot of people go to work that way, but not race car drivers. > They burn a lot of fuel to drive in a circle. > > On Wed, Nov 19, 2008 at 8:32 PM, Kenneth Grome =20= > wrote: >>> Because there is no mechanism for structuring key fields >>> and relationships between databases, it would be a huge >>> task to write something that would figure all that out >>> automatically. >> >> The tool doesn't have to figure it out automatically, the >> user can simply define these relationships the first time >> it is used, and at any other time he feels like it. Then >> the key fields and relationships (and other operating >> parameters) can be stored in a toolprefs.db file for use >> again later. >> >>> I actually started building a modern, ajax driven db >>> admin tool that is much more powerful than the one built >>> in the 90s. Essentially it does everything you need =96 >>> create a db, edit a db, remove fields, add fields, add >>> records, remove records, edit records, search, delete db, >>> backup dbs, restore dbs, etc. >> >> I did this many years ago too (not in ajax though) and I >> think I called it Ken's DB Admin. It did everything you >> mentioned here and more -- including moving fields around >> into different positions so you could change the field >> order dynamically any time you felt like it ... :) >> >> But I used cookies to store the control parameters instead >> of storing them in a separate preference file, and later I >> learned that cookies aren't the best way to store this >> data. Somehow they created an unusual situation where a >> user would have to delete them to continue using the tool. >> >> I never figured out why this happens but if I were to >> rebuild it I would most definitely use a prefs file. But >> back in the 90's I was determined to make this tool a "one >> file" solution so I used cookies to avoid the need for any >> additional files. >> >> ------------------------ >> >> There's an important issue here that makes this kind of a >> tool dangerous to use in some situations too unless you're >> aware of it. I only learned this after I had finished >> coding my db admin tool: >> >> When a db contains encrypted data you cannot edit that field >> without screwing up that record or possibly trashing the >> entire db. So if you use this kind of webdna tool you must >> limit its editing use to only those fields that contain >> non-encrypted data. >> >> Naturally the tool could be built to disable editing of >> encrypted fields, but it cannot figure out which fields are >> encrypted all by itself, so this is an important setting >> the user must make in the prefs before the tool will >> function properly -- just like setting the name of >> the "sku" field in each db so it knows which field contains >> a unique value in each record. >> >> >> Sincerely, >> Ken Grome >> >> >> >> >> >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ --Apple-Mail-3--258680726 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGGTCCAtIw ggI7oAMCAQICEBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDkyNzAxMTg1M1oXDTA5MDkyNzAxMTg1 M1owPjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEbMBkGCSqGSIb3DQEJARYMcG1A d2ViZG5hLnVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtb7ZYYJV7sbgqxdgpBU/ qCRsIJYGNIo40L9odKmo6Y/mPBybeSry8KefqmuWoBXxc6xCvSSJDWFcb2sZ+TkedZrdxvtoL1pH Nj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YwgYcGCyqG SIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EC EBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEBBQAEggEAlJgyvb+5u2t4QP4Ppg8gj2z+nrTo iNB4Lt8gjzSU1QRQ5BWnXQE0kK7C7jRz3z5Y7yU5yu3H9NnUgJCXN3v8IDPn5t7WKtbfztwjQMNM 5W3DPgjfALuSCj6pYKZOHOEq1BcuOanuba0b7vuolLNyNToEzS4lDrQqvoX9l+NfYiq3MAAt5C6q jE9mhP2gkRojM6J4bV/rgZO4U2Fbhwy8LKau6poJ4tTG6Wu6grOoRuFAW+UfLqlzCH1UW4hRuQSW 8i0un1LtmZpVzlZZd6SvyF2CUVa5dvRl+s1j10KLBWTFSUovjJpIWxMXNaI73/tHR41yZTfuWUYx GeAvHzIoAQAAAAAAAA== --Apple-Mail-3--258680726-- Patrick McCormick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] SETCOOKIE (2009) Temp DB (Was freeze) (2003) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) oops private message leaked into talk list (1997) Nested tags count question (1997) [WebDNA] [ipaddress] - [RealIP] - Not working properly (2016) WebCat2 - storing unformatted date data? (1997) tracking variables across a site... (2000) Artwork (1997) [convertchars] on potential malicious input even in a link? (2000) Emailer problems. (1998) test for John (1999) Kaaaaahhhhhhhnnnnnnn! (1997) Taxable Shipping (2003) Web Developer Product Awards (1997) Nested tags count question (1997) Nested tags count question (1997) encryption madness (2003) Problems reading files created by WC (1997) taxRate is fine but taxTotal isn't (1997)