To start any project we need to store data.
After tweaking around width XML and though is so restrictive i got the idea of adding more stuff to DTR so is becoming really good. (The DTR is the costume format use to store data in project)
The top of the file represents settings for it. the first version only worked width basic lines in 1.0x and now add groups, and it represents all kind of things.
Add:
- Keys (already in 1.x) avoid adding then again in file is declared only one. It makes it harder to read from file you need a interface to represents. The goal is to make faster files.
- groups to mimic xml
- type of interface to load,
- costume scripts you build,
- Separator : how to add data to the files: line for for editor or grouped for manual input,
- settings to tell the prog how to tweaking a style
- The type is still under dev don't know... it allow to have different styles of data in the same file
- Lines reference to set performance points. Lets say that characters are at 100+ line, and spells at 1-100 line. This prevents him to search so much.
- the settings end after the maximum reserved lines in here 8 lines. After that assumes data input.
- *Missing a function to remove efficiency mode for the keys in this case you need to type all the keys again for witch entry.
Keys : Name, Code, Notes, Dependency's
Groups\Tags : Language, Library, Macro
Interface : Template A\grid left
Scripts :
separator\view : #,line
Settings : background gray, topics font Arial 24
type : macros, characters
Lines reference : <100 characters, >100 spells
<python> #groups like XML
<tkinter>
# group for manual type. easy to read and input data from file
label;
variable = Label(root, text="info", width=20, font=("bold",15));
needs parent element in here named root;
# Line keys input by interface hard to read from file
button; variable = Button(root, text="Register", command=register);needs parent element in here named root
# Efficiency mode off, need to input all keys.
<button>
<macro>variable = Button(root, text="Register", lambda: function(values)) </macro>
<notes>lambda used to pass variables</notes>
<dependencys></dependecys>
</button>
No comments:
Post a Comment