For those of you who write web applications (in any language), what do
you recommend as the best way to store arbitrary atomic data for the web
application? in other words, data that doesn't really need to be stored
in a relational database, as it does not really relate to anything?
In the
On Saturday 27 April 2002 03:50, Erik Price wrote:
For those of you who write web applications (in any language), what do
you recommend as the best way to store arbitrary atomic data for the web
application? in other words, data that doesn't really need to be stored
in a relational database,
, in its supreme development, invariably excites the
sensitive soul to tears. - Edgar Allan Poe
From: Erik Price [EMAIL PROTECTED]
Date: Fri, 26 Apr 2002 15:50:08 -0400
To: [EMAIL PROTECTED]
Subject: [PHP] web application development question
For those of you who write web applications (in any
To: Erik Price; PHP General
Subject: Re: [PHP] web application development question
I usually have an info.inc file that has all these variables that I
might
need to change. Then include it in the files that use those variables
and
if I ever need to change one of them I just change
PROTECTED], 'PHP General' [EMAIL PROTECTED]
Subject: RE: [PHP] web application development question
Agreed, this is how I would recommend you do it. I would be careful
naming your include files with an .inc extension, though, since .inc
isn't parsed by PHP and will be shown as plain text when
On Friday, April 26, 2002, at 03:58 PM, Jason Wong wrote:
For those of you who write web applications (in any language), what do
you recommend as the best way to store arbitrary atomic data for the
web
application? in other words, data that doesn't really need to be
stored
in a
On Fri, 26 Apr 2002, Erik Price wrote:
although include files are great for storing data that will probably not
change (but are now in a convenient include file in case they have to
change), I was thinking of making this data updateable from within the
application. So that my employer,
.
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: April 26, 2002 4:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] web application development question
On Friday, April 26, 2002, at 03:58 PM, Jason Wong wrote:
For those of you who write web applications (in any
On Fri, 26 Apr 2002, SP wrote:
How about storing it in a database like you said with variable and value but
when you change a value then you write over your config.inc.php file with a
new one. So you get to change the value easily in a database and by using a
file you make your app faster
- Nelson Mandela
From: Erik Price [EMAIL PROTECTED]
Date: Fri, 26 Apr 2002 16:14:43 -0400
To: [EMAIL PROTECTED]
Subject: Re: [PHP] web application development question
On Friday, April 26, 2002, at 03:58 PM, Jason Wong wrote:
For those of you who write web applications (in any language
Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 21:19
To: Erik Price
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] web application development question
On Fri, 26 Apr 2002, Erik Price wrote:
although include files are great for storing data that will probably not
change
: RE: [PHP] web application development question
On Fri, 26 Apr 2002, SP wrote:
How about storing it in a database like you said with variable and value
but
when you change a value then you write over your config.inc.php file with
a
new one. So you get to change the value easily in a database
Yup,
Just keep a minimal include file for access to the DB's etc, then keep a
config table in MySQL, and write an interface for it. Nice idea for some
stuff (like how many news items to show on the front page), bad idea for
other stuff (like server root).
I might look into something like that
13 matches
Mail list logo