Discussion about using data with Scriptview.
| From: | Alessio Bernesco L�vore | Date: | Thu, 17 May 2001 08:12:23 +0000 |
| Subject: | Discussion about using data with Scriptview. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7664@lists.php.net to get a copy of this message | ||
Hi everyone,
I'd like to know your opinion about these question:
I have to create a redistribuitable CD using Scriptview. The CD will contain
a limited edition of an actual website, based on a MySQL database.
The question is: what's the best way to use the data with Scriptview?
The data are some simple products description (5 char fields, approx.) and
the products are about 50.
I've thinked those solutions:
- Several files to include (one for product) with variable declaration and
name equal to the product (i.e. mug.php, title="Coffee Mug" color="White",
etc.).
- A unique text file containing the data, with a parsing function to extract
data.
- (forbidden dream) An XML file containing products data... (i suppose expat
functionality are not allowed with Scriptview).
Considering that extracting format data from the database is not really a
problem, according to you, what's the best choice?
Is there some one alternative and convenient solution?
Thanks,
Alessio.