The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: News.Report message schema in xAPFramework.net


  • Subject: Re: News.Report message schema in xAPFramework.net
  • From: Stuart Booth
  • Date: Sun, 21 Sep 2003 22:57:00 +0000

On Sun, 21 Sep 2003 22:23:50 +0100, James <<a
href="/group/xAP_developer/post?postID=0l_iBOiVxANkth3GBRT_b7CG04XBSTcxpxJPLmfxSoUXSl29Q6teHMCEHy7xGnMNwgYDaVTS">James@m...</a>>
wrote:

>If you were being really picky and worried about human readabiliy, how
>about giving item names a starting capital letter

You know, I've never noticed that before you mentioned it! All the
values are name cased as I like them, but the xAP keywords are all
lowercased. I don't know why that is. I'll investigate. I am probably
deliberately lower casing something somewhere.

> and how about ordering
>items like story,link,desc or station,title,link,desc,count.

Ahhh, that's something on my ToDo list that I need to sort. The code
just dumps all the pairs into a Dictionary object and the order they
come out is seemingly undefined. I've not got around to maintaining
the order they get added in, or sorting it all, either alphabetically
or mandatory then optional as I generally prefer.

>Does the
>framework include the error field? can't think why it would need to,
>but??

It does have support for that, but as it's an optional field, if you
don't set it, it doesn't get included. It's got its own enumerated
type so you can't set it to something incorrect.

>Your framework really does make sending things really easy!!

That's the general theme! There are a few clunky things I need to do
something about but I like wrapping up schemas and such so that they
handle the gritty details as far as possible. Stops errors very early
on in the chain.

>> 've added some helpful support for block name indexing to my
>> framework code to facilitate this type of schema, to help keep
block
>> names unique.

>I try and make things a challenge

Thanks! ;-) The more schemas I can encapsulate, the easier it gets to
integrate with the apps of others.

S
--
Stuart Booth
xAPFramework.net - a reusable xAP framework for .net

<a href="http://www.xapframework.net/";>http://www.xapframework.net/</a>
<a
href="/group/xAP_developer/post?postID=NK624fzxbIpHoPS7m78E-65GoA4CmW_Kd9ZXpnowhxx8Ksna8EnaYwj7ZQBBFtgffCqncUuM_3Sa1TdRh82mVQ">stuart@x...</a>





xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.