REALbasic
Maybe a diary of REALbasic app development. Maybe just stuff about REALbasic. Maybe nothing :)


@ Monday, March 11, 2002
 



I'm working on an XML parser in REALbasic. I need for it to be drop-dead simple so that I can explain it. I've actually got it running, but it lacks a major feature: no support for character data. I'm thinking of leaving it that way. XML consists of markup and character data. The markup is tags and the character data goes between the tags. But tags can have attributes and for that reason, anything you can do in character data you can do as attributes to tags. There is, apparently, quite a debate over which is the better way to represent data in XML. Here's a good summary of the debate that comes down squarely on the attributes side. I agree. Fortunately. It makes my parser so much easier.

comment ()  11:28:02 PM  #  



I'm working on an XML parser in REALbasic. I need for it to be drop-dead simple so that I can explain it. I've actually got it running, but it lacks a major feature: no support for character data. I'm thinking of leaving it that way. XML consists of markup and character data. The markup is tags and the character data goes between the tags. But tags can have attributes and for that reason, anything you can do in character data you can do as attributes to tags. There is, apparently, quite a debate over which is the better way to represent data in XML. Here's a good summary of the debate that comes down squarely on the attributes side. I agree. Fortunately. It makes my parser so much easier.

comment ()  9:51:58 PM  #  



Looks like REALbasic could really use a plugin that does UDP. On the user's group mailing list there's a discussion about writing internet games with RB. RB's socket doesn't do UDP and TCP isn't fast enough. There are some alternatives, but none that are very attractive. I wonder if I could do it?

comment ()  10:28:51 AM  #  


Click here to visit the Radio UserLand website. © Copyright 2002 Will Leshner.
Last update: 3/11/02; 10:28:53 AM.
March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~