big code reorg

0 views
Skip to first unread message

Joe Edelman

unread,
Apr 3, 2009, 3:19:16 PM4/3/09
to Groundcrew Viewer Developers
Hi folks,

I moved a lot of files around and changed directory names just now.
This is in response to some of Sebastian's (and Jay's) comments on
exploring the code.

I think this new layout makes things much clearer to the new developer.
Especially if they have a rails background.

It also lays the foundation for extracting our little javascript
framework, which now has a name: "jsappkit". It's named after the
MacOS UI kit, AppKit, because it implements similar mechanisms for event
handling (i.e., what in Mac OS and iPhone are called the responder chain
and app delegate).

* I will update Sebastian's docs to reflect all this soon.

* The big html file is now generated with m4 rather than just with cat,
from the file "app/app.html.m4". See the Makefile.

* what were called "apps" are now called "modes" (ala emacs). the
javascript hasn't been changed yet to reflect this, just the
filenames.

* everything that was under "components" is now under "app".

- what was under palettes is now under "chrome".. these are things
that are onscreen across modes, including palettes, but also the
agentbar at the bottom and the header

- the apps are now under "app/modes"

- misc files are under "app/helpers"

- event handlers are under "app/listeners"

- maplayers are under "app/maplayers"

* i have begun to extract out the underlying javascript webapp
framework, which will be called "jsappkit". this is under
"lib/jsappkit", and is extended to handle maps with "lib/jsmapkit".

* gc_api has jumped from "src/" to "lib/"

* debug mode has been simplified

--Joe

--
J.E. -- http://nxhx.org -- 413.250.8007

Reply all
Reply to author
Forward
0 new messages