Montag, 22. April 2013

mostly holes - part 7 : Bijective views

in order to get a nice user interface, I've done some research on SVG, javascript and thought a lot about the boxes of the last post ...
  • The boxes would have to resize itself and you would just drag and drop the needed things into them.
  • To make it short - there are many libraries to help you do such funny things but it is still a pain in the ...
  • Taking a theoretically ideal implementation it would probably still be quite chaotic with resizing boxes that hop around on the screen...

changing the perspective

  • Nested boxes is, what I wanted at the start
  • In the background, I would have saved the data as XML or something like it ... which is also nested
  • ... so why don't we use something like XML from the start...?
  • a tree-view library might be just the thing to get something nice and clean.
  • It won't need any graphical base functions and might look not sooo bad as it sounds in the beginning.

Teaching an old cat new tricks 

  • the cat's text-balloon got an options mode you can now click on.
  • the interaction was placed into a "while(true)-loop" (... or what javascript makes of it) and global variables were used to glue the cat and the rest together
  • ... and a bit more abstract with me as the old cat ... that the javascript libraries have evolved into an art form that cannot be compared to the hacks, I've done a few years ago ;-)
=> The new version is out and I will try to make at least the first steps to an implementation of the sentenceSorter .... the PopUp with the Tree-View.

Keine Kommentare:

Kommentar veröffentlichen