[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A Statice question



While doing my first steps with Statice I've come up with a question
I don't see an immediate answer for. Maybe there's someone who thought
about it already and could give me a hint:

I thought about storing special (mail) messages inside a db and now
wonder where to put message bodies. How do you store such chunks of data
in Statice?

I can imagine two possible solutions: 

a) designing records which keep headers and keywords and other important
stuff, while putting messages into LMFS files and storing pointers
(pathnames) into the records.

b) keep the message bodies in data records too by using sequences of
statice:limited-string or statice:string type fields. (The latter one
would force me to parse these strings into lines when needed?!)

How would one do it and why? Any other suggestions? Thanks.

	--jc