Post #112,780
8/5/03 12:54:45 PM
8/21/07 6:36:15 AM
|

Only you are using the data
You are both the producer and consumer of the data in the requests as far as I can tell - you could use whatever you want. I'd use PLists. I have code that does PLists and they are smaller and easier to parse than xml. Plus the data structure you get back is sane. Not some electric koolaid acid candy colored DOM thing.
Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations. --AndyBower
Only you are using the data
You are both the producer and consumer of the data in the requests as far as I can tell - you could use whatever you want. I'd use PLists. I have code that does PLists and they are smaller and easier to parse than xml. Plus the data structure you get back is sane. Not some electric koolaid acid candy colored DOM thing.
Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations. --AndyBower
|
Post #112,782
8/5/03 1:07:42 PM
|

Got a link for PLists? (google give too many to dig through)
===
Implicitly condoning stupidity since 2001.
|
Post #112,793
8/5/03 3:01:09 PM
8/21/07 6:36:27 AM
|

Explain it right here
PLists are arbitrary combinations of dictionary, list, and strings.
to encode a string - if its a token (only letters, numbers, and maybe dot) just write it. If it has any other character encode it like a C style string constant (\\n\\r\\t\\ \\"are the main escapes) and put it in double quotes.
to encode a list its ( item1, item2, item3 )
where item[123] is any plist element
to encode a dictionary its { key1 = value1; key2 = value2; }
where key[12] and value[12] is any valid plist element.
Thats it. I have a java class that does this - if you want I can sent it to you and you can port it to C++.
The interface is a stream. PList.write(aPlistObject); and object = PList.read(aStream);
Two functions. Very simple to write. Express any structure in the world. Human readable.
Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations. --AndyBower
|
Post #112,797
8/5/03 3:22:38 PM
|

How about multi-dimensional arrays?
===
Implicitly condoning stupidity since 2001.
|
Post #112,800
8/5/03 3:47:06 PM
8/21/07 6:36:32 AM
|

Lists of lists
Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations. --AndyBower
|
Post #112,869
8/6/03 12:42:46 AM
|

Re: Only you are using the data
Todd: [...] I'd use PLists. [...]
Have you seen Yaml? ([link|http://www.yaml.org|http://www.yaml.org])
-- -- Jim Weirich jweirich@one.net [link|http://onestepback.org|http://onestepback.org] --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
|
Post #112,951
8/6/03 4:20:24 PM
8/21/07 6:39:28 AM
|

Too complicated
Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations. --AndyBower
|
Post #112,946
8/6/03 3:24:33 PM
|

Was just reminded that's not always going to be true
We anticipate exposing this interface so customers can update status on their orders, add remarks, etc directly from their own systems. Rather than have one interface for internal use and a separate one for external use, we're just going to build the one public interface and then use it internally.
===
Implicitly condoning stupidity since 2001.
|