xml

  • Thread starter Zunbeltz Izaola
  • Start date
Z

Zunbeltz Izaola

Hi!

I am planning a program and I need some advice about what tool to use.

Basically my program will deal with a object A. A is a list like
object with same attributtes and a list of objects B. B is also a list
like object with attributes and a list of object C.

class A:
Name = ""
...
List = [] # List of B

class B:
Name = ""
...
List = [] # List of C

....

I want to store the information in a A object in a file. The structure
is a tree-like structure and I think XML is a good choice. I want to
know what model SAX or DOM, will be better to write/read the
information from the file. Is posible the files to get big (>1MB) and
the XML HOWTO recommend to use SAX, is that ok? what would be eaiser?

In a future i want to be able to do search and in different instances
of object A. I think i can storoe the information in a database
format. What tool are suitable for this task? I have read somethin
about MySQL and PostgreSQL, but i think they are only for servers, no
for program, is that all right?
Hi!

I am planning a program and I need some advice about what tool to use.

Basically my program will deal with a object A. A is a list like
object with same attributtes and a list of objects B. B is also a list
like object with attributes and a list of object C.

class A:
Name = ""
...
List = [] # List of B

class B:
Name = ""
...
List = [] # List of C

....

I want to store the information in a A object in a file. The structure
is a tree-like structure and I think XML is a good choice. I want to
know what model SAX or DOM, will be better to write/read the
information from the file. Is posible the files to get big (>1MB) and
the XML HOWTO recommend to use SAX, is that ok? what would be eaiser?

thanks in advance

Zunbeltz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top