Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
d20 rules as XML
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JBowtie" data-source="post: 70855" data-attributes="member: 1810"><p><strong>Re: what are using for development environment?</strong></p><p></p><p></p><p>Well, I'm using XML for the rules, XSLT for processing the rules, and HTML with Javascript for my user interface.</p><p></p><p>The main drawback to a <em>database</em> as such is that a relational database doesn't work especially well with loosely structured data. And, given the creative ways feats and classes can affect the basic mechanics (or introduce new mechanics), the rules for d20 are only loosely structured.</p><p></p><p>For example, when a new feat is defined, it may include a notation that it can be used as a fighter bonus feat. I'm not going to go back and edit the fighter class every time that happens, especially if the feat introduces a new mechanic.</p><p>Instead, I need to be a little looser and allow the fighter list to be built from a combination of the predefined list and new feats that claim to belong to the list.</p><p></p><p>This looser structure is lot harder to model in a database - that's why the Master Tools folks don't expose a way to expose your own prestige classes. But with XML I've added prestige classes from Dragon Magazine and Rokugan without having to change my processing or user interface.</p><p></p><p>Now, I'm still in the process of defining and implementing the XML, so some prerequisites are still hard to define (mostly the ones relating to spells and casters since I don't handle spells at all yet). But the majority of feats and skills are handled correctly.</p><p></p><p>The point is that there's enough structure to model the rules, but not enough to model them as a database.</p><p></p><p>Oy, I've said too much without giving a concrete example. I'll post some sample markup later today.</p></blockquote><p></p>
[QUOTE="JBowtie, post: 70855, member: 1810"] [b]Re: what are using for development environment?[/b] Well, I'm using XML for the rules, XSLT for processing the rules, and HTML with Javascript for my user interface. The main drawback to a [I]database[/I] as such is that a relational database doesn't work especially well with loosely structured data. And, given the creative ways feats and classes can affect the basic mechanics (or introduce new mechanics), the rules for d20 are only loosely structured. For example, when a new feat is defined, it may include a notation that it can be used as a fighter bonus feat. I'm not going to go back and edit the fighter class every time that happens, especially if the feat introduces a new mechanic. Instead, I need to be a little looser and allow the fighter list to be built from a combination of the predefined list and new feats that claim to belong to the list. This looser structure is lot harder to model in a database - that's why the Master Tools folks don't expose a way to expose your own prestige classes. But with XML I've added prestige classes from Dragon Magazine and Rokugan without having to change my processing or user interface. Now, I'm still in the process of defining and implementing the XML, so some prerequisites are still hard to define (mostly the ones relating to spells and casters since I don't handle spells at all yet). But the majority of feats and skills are handled correctly. The point is that there's enough structure to model the rules, but not enough to model them as a database. Oy, I've said too much without giving a concrete example. I'll post some sample markup later today. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
d20 rules as XML
Top