Posts

Post not yet marked as solved
8 Replies
3.8k Views
I saw a question similar to this but I wanted to ask it pertaining to my situation.Basically I have an app that is like an encyclopedia. The app will contain "articles" about different subjects. I will be writing all of these articles. The user will not be capable of writing or editing any of the articles. The user just types in a search term and sees the articles I have written.Now the question is, how do I store all of these articles? Right now I have them all in a giant txt file which I am parsing into arrays of strings every time the user searches. Is there some obvious or better way to store all of this data? Thanks.P.S. One problem I am having is that I use special characters to delimit where one article ends and another begins and also to designate other information about the articles. It can be a pain because if I make one typo with these delimiting characters, it will crash the app and I will have to search this entire text file to find where the typo was.
Posted
by kebos.
Last updated
.