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
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