in reply to Re: Filter objects?
in thread Filter objects?

An XML question related to point 4. If you had a large number of filter objects, how would you store the objects in a database?

Replies are listed 'Best First'.
Re: Re: Re: Filter objects?
by dragonchild (Archbishop) on Jan 28, 2003 at 20:47 UTC
    Forget XML. XML doesn't exist for your solution. You are NOT using XML.

    You are asking how to serialize objects. There are a million solutions for that, from Object-Oriented databases to solutions in C++, Java, and Perl.

    In Perl, a quick'n'dirty solution could use Storable to serialize the object and store the serialized string.

    Better would be to have the object know how to serialize itself, possibly depending on Storable to do the actual dirty work. (Some modules, like DBI, don't store well.)

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.