A new core format.

Catch-all for all development not having a specific forum.
Post Reply
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

I threw a bone in the dev forum about having cores in an xml format, tiger and dog bit. I appoligize if either of them is offended for the quote.
Tigereye wrote:QUOTE (Tigereye @ Jul 11 2006, 11:08 AM) I know it's always been a pipe dream of everyone to extend the current core format to include other things. Even simple things like the techpath names (Expansion, Supremacy, etc) are hard-coded and are not dynamic based on the core. Of course more complex things can be dreamt up too.

Eventually when we start adding things to the core format, it's going to change significantly and the current binary format will be broken. What'll suck more is after we make the first round of modifications to the cores, future mods will once again break this updated coredef.

Moving to XML should make it extensible allowing a new 2nd gen core to be compatible with a 3rd gen core'd Allegiance. If XML's guidelines are followed, all changes to core formats should be backwards compatible.
Then the hardest move is the first one (from current cores to Xml cores) but after that it'll be smooth sailing.
Dogbones wrote:QUOTE (Dogbones @ Jul 11 2006, 02:32 PM) Regarding making the new cores xml (native) that is a great idea and if you do it correctly it should be backward compatible. I would caution that the xml would have to be designed correctly, it is not sufficient to just stuff everything in xml tags/values. Sort of an obvious statement, but the hard part is not how to represent the core as xml vs text vs binary vs directed graph, etc it is designing it so that it makes sense, supports what we need, and is easily built on.
I havn't had as much experiance with the cores as many of the core devs out there, we at least my experiance is quite dated. I figured it would be a good idea to pull the other core devs out there for any info on what a good extensible, logical core XML schema would be.

I have a very basic (non sutable) schema at http://austin.bluedepot.com/alleg/allegiance_core_v1.xsd and a sample zone core at http://austin.bluedepot.com/alleg/zone_coreXML.zip

Please all you xml and core gurus post your ideas, that we may make our first step in this direction with the correct foot.

Thanks.
-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
Dogbones
Posts: 2721
Joined: Mon Nov 24, 2003 8:00 am
Location: Virginia

Post by Dogbones »

I support your efforts Y_P but I do not know enough about the cores or the current core format to make any intelligent comments regarding a new design or even extending the current one.
Image
DOG PROPERTY LAWS:
2. If it's in my mouth, it's mine.
[unless it tastes bad, then it is yours.]
Tigereye
Posts: 4952
Joined: Mon Jul 28, 2003 7:00 am
Location: Toronto, Ontario

Post by Tigereye »

I haven't had time to review your schema or sample core yet, but I'm anxious to.

I applaud your effort for this BIG undertaking. Just remember Dog's words that you quoted above /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

--TE


The Allegiance community currently hates their sysadmin because he is doing: [Too Much] [____________|] [Too Little]
Current reason: Removing the PayPal contribute page. Send Bitcoin instead: 1EccFi98tR5S9BYLuB61sFfxKqqgSKK8Yz. This scale updates regularly.
Post Reply