Print Page | Close Window

Text File Use As Database

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11058
Printed Date: 30 March 2026 at 7:27am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Text File Use As Database
Posted By: padoxky
Subject: Text File Use As Database
Date Posted: 01 July 2004 at 9:01am

There's a website I want to build is a Personal website anyway it was hosted at Free Server that support Asp ext. Since they are not supporting .mdb ext I wanted to use a text file for it.

But now i don't konw how to connect to a text file am using as my database and how do I arrange the colums  and the rows with it names in a text file?.

Plz help.



-------------
NgWebDesigns



Replies:
Posted By: Mart
Date Posted: 01 July 2004 at 10:37am
You might want to look into XML


Posted By: padoxky
Date Posted: 01 July 2004 at 10:45am

Thanks

But I don't Know any thing about XML.

Help me tell to do it I need it seriouly.



-------------
NgWebDesigns


Posted By: Mart
Date Posted: 01 July 2004 at 11:24am
You could start with this http://www.w3schools.com/xml/default.asp - http://www.w3schools.com/xml/default.asp


Posted By: zaboss
Date Posted: 01 July 2004 at 11:32am
The most popular tutorial about text files used as substitute for a db is  http://www.asp101.com/samples/textfile.asp - this one . You could find several other http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=asp+and+text+files - here . Also, you may want to read http://www.w3schools.com/asp/asp_ref_textstream.asp - this .

The only problem with text files against xml is server resource. XML are lighter while the fileObject is more resource consuming. But for a small site, text files are OK.

After zou get it, you'll realize that it is a very good substitute for a db (small sites only). After a certain level you should go for a real db.


-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: padoxky
Date Posted: 01 July 2004 at 1:04pm

How dose text Data base look like.

Cos I want to add new record to text database also login page and I don't to do that.

Help



-------------
NgWebDesigns


Posted By: padoxky
Date Posted: 01 July 2004 at 1:11pm

Also I want to how the  text file database format. Like if you want add a MemberName to a Name column and Member ID to ID column etc.

Plz, I need to this clearly am new this text file database.



-------------
NgWebDesigns


Posted By: Mart
Date Posted: 01 July 2004 at 1:47pm

You will find Text files very complicated and resource consuming for that. Simpley because you have to parse, insert update etc. the text file. Which is quite hard. You will also find ID fields resource consuming.

Your best off sticking with a known format like XML



Posted By: zaboss
Date Posted: 01 July 2004 at 1:59pm
Mart is right. Text files are not fit for such a use. Mostly they are use for reading & grabing data from them and not to write to it. This is a very resource consuming and difficult task. I mean, you can do it, but there are better ways. Much better.
Because it's so difficult, I'm afraid nobody would have enough time to device some sample code for you. If you realy want, you have to figure yourself.


-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: padoxky
Date Posted: 01 July 2004 at 2:03pm

Honestly am confused all about this issue.

I want to have a guestbook form on my personal site.

Can you WRITE  sample of XML that i will use for the guestbook form I think i will be able to do rest.

Help any person!



-------------
NgWebDesigns



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net