diff --git a/handbook/troggle/trogdesignx.html b/handbook/troggle/trogdesignx.html
index 2d0f5169c..0bbb527fe 100644
--- a/handbook/troggle/trogdesignx.html
+++ b/handbook/troggle/trogdesignx.html
@@ -47,14 +47,14 @@ enthusiast must have done this already surely ? Ah yes, Brython.
www.brython.info
Which is fun, but not useful. And not just because it is immature. None of -this addresses our biggest problem: devising something that can be +this addresses our biggest problem: devising something that can be maintained by fewer, less-expert people who can only devote short snippets -of time and not long-duration immersion. +of time and not long-duration immersion.
I know Wookey has been thinking of a loose federation of independent scripts working on the same data, but the more I look at troggle and the tasks it -does the less I feel that would work. At the core there is a common data -model that everything must understand - and the only unambiguous way of +does the less I feel that would work. At the core there is a common data +model that everything must understand - and the only unambiguous way of presenting that data model is working code, e.g. see Troggle architecture and click on the image to see a bigger copy. [It is out of date - if someone can quickly generate diff --git a/handbook/troggle/trogsimpler.html b/handbook/troggle/trogsimpler.html index 9a2195f25..66c751c21 100644 --- a/handbook/troggle/trogsimpler.html +++ b/handbook/troggle/trogsimpler.html @@ -9,7 +9,10 @@
Troggle runs much of the the cave survey data management, presents the data on the website and manages the Expo Handbook. - +
This part of the handbook is intended for people +maintaining the troggle software. +Day to day cave recording and surveying tasks are documented +in the expo "survey handbook"
At one time Martin Green attempted to reimplement troggle as "stroggle" using flask instead of Django at git@gitorious.org:stroggle/stroggle.git (but gitorious has been deleted).
@@ -22,10 +25,7 @@This part of the handbook is intended for people - maintaining the troggle software. - Day to day cave recording and surveying tasks are documented - in the expo "survey handbook" +
Radost Waszkiewicz (CUCC member 2016-2019) proposed a plan for superceding troggle
@@ -41,13 +41,18 @@ unnecessary - we have about 200 caves, about 250 entrances, about 200 people and couple dozen expos. We don't need efficient lookups at all. We can write something which will be 'slow' and make only things we actually care about. -"A less obvious but more deeply rooted problem was the lack of relational information. One table named folk.csv stored +
And for ensuring survey data does not get lost we need to coordinate people, trips, survex blocks, survex files, drawing files (several formats), QMs, wallet-progress pages, rigging guides, entrance photos, GPS tracks, kataster boundaries, scans of sketches, scans of underground notes, and dates for all those - Philip Sargent]
@@ -57,8 +62,21 @@ survex files, drawing files (several formats), QMs, wallet-progress pages, riggi template pages. These contain mainly nested for loops which could just as well be written in e.g. python. -Troggle has 66 different url recognisersand there are 71 HTML django +template files which the recognisers direct to. +Not all page templates are currently used but still some kind of templating system would seem to be +probably necessary.
+The django system is sufficiently well-thought-of +that it forms the basis for the framework-independent templaing engine +Jinja - and that site has a good discussion +on whether templating is a good thing or not. There are about +20 different python template engines.]
Troggle today has 8,200 lines of python (including comments and blank lines), plus 600 in imagekit and 200 in flatpages. 2,200 of those are in the parsers. Django itself has a lot more, including integration with TinyMCE in-browser HTML editor.
]Eventually we will have to migrate from django of course, as it will eventually +
Eventually we will have to migrate from django of course, as it will eventually fail to keep up with the rest of the world. Right now we need to get ourselves onto python3 so that we can use an LTS release which has current security updates. This is more urgent for django than for Linux. In Ubuntu terms we are on 18.04 LTS (Debian 10) which has no free maintenance updates from 2023. We should plan to migrate troggle from django to another framework in about 2025. See stroggle below.] @@ -137,7 +157,7 @@ solution to this minified automatically) Rad -