This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
data-driven-system [2014/08/02 19:25] Mitch terminology change from rules to scripts |
data-driven-system [2015/08/15 18:35] (current) Mitch |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The ParserMonster Framework derives much of its flexibility from plain old text files! | + | ====== ParserMonster Framework Data-driven System ====== |
- | Of course, these files have special instructions but, the point is that you can drastically alter the behavior of any program based on the ParserMonster Framework. | + | |
+ | The ParserMonster Framework derives much of its flexibility from plain old text and image files! | ||
+ | |||
+ | Some of them are read-only, embedded | ||
+ | |||
+ | Others are read-write, which means that you can edit them. | ||
+ | |||
+ | Finally, you can create your own. If you follow | ||
+ | |||
+ | The following file types make up the ParserMonster Framework Data-driven System: | ||
+ | |||
+ | ===== Task Files (*.task) ===== | ||
The most visible of these files is the [[taskfiles|Task file]]. It contains the [[ParserMonster Commands|commands]] and [[ParserMonster Directives|directives]] that make the framework come to life. Naturally, the more task files you have, the more powerful your program becomes. If you learn to write your own tasks, you may not have buy more than one ParserMonster-based product! (The obvious corollary is that, yes, you can mix and match tasks - as long as they are not embedded in the program package.) | The most visible of these files is the [[taskfiles|Task file]]. It contains the [[ParserMonster Commands|commands]] and [[ParserMonster Directives|directives]] that make the framework come to life. Naturally, the more task files you have, the more powerful your program becomes. If you learn to write your own tasks, you may not have buy more than one ParserMonster-based product! (The obvious corollary is that, yes, you can mix and match tasks - as long as they are not embedded in the program package.) | ||
- | The [[taskicons|icons]] associated with task files get honorable mention in this group, because | + | ===== Task Icon Files ===== |
+ | The [[iconfiles|icons]] associated with task files are read-only, but you can add your own. | ||
+ | |||
+ | ===== Script Files ===== | ||
+ | [[scriptfiles|Script files]] are task files with super powers. | ||
+ | |||
+ | |||
+ | ===== Constant Files (cx*.txt) ===== | ||
+ | As you become more proficient with writing tasks and scripts, you'll want to explore [[parsermonster_constants|constants]], | ||
+ | |||
+ | You won' | ||
+ | |||
+ | ===== Data ===== | ||
+ | These are //your// files. ParserMonster can read several types, in addition to all plain text files of which it is aware. To ensure that ParserMonster is aware of a filetype, it must be mapped explicitly to one of these general groups: | ||
+ | * txt - Plain text | ||
+ | * rtf - Rich text format (not always, though!) | ||
+ | * doc - Microsoft Word format | ||
+ | * xls - Microsoft Excel format (except binary) | ||
+ | * xml - XML format | ||
+ | |||
+ | ParserMonster has a predefined list of [[Recognized Filetypes|recognized filetypes]]. If you need to extend or override this list, just create a [[parsermonster_constants|cx- file]] with your own mappings. | ||
- | Once you've played with the main window, you'll want to get down to business. You don't have time to repeat | + | (Note, due to the versatility of [[parsermonster_constants|cx- files]], the mapping may change in the future.) |