mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-25 16:52:00 +00:00
minor edits - online edit of handbook/troggle/trogarch.html
This commit is contained in:
parent
92ab73e615
commit
5eec040b18
@ -55,7 +55,7 @@ Also there have been tables added to the core representation which are not inclu
|
||||
|
||||
<h3>Implementation in software</h3>
|
||||
<p>
|
||||
Troggle is written in Python (about 11,000 lines excluding comments) and is built on the Django framework. Before starting to work on Troggle it might be a good idea to run through an initial install and exploration of <a href="https://code.djangoproject.com/wiki/Tutorials">a tutorial Django project</a> to get the Django concepts bedded down - which are not at all obvious and some exist only within Django.
|
||||
Troggle is written in Python (over 13,000 lines excluding comments) and is built on the Django framework (nearly 4,000 lines of ~HTML, excluding comments). <p>Before starting to work on Troggle it might be a good idea to run through an initial install and exploration of <a href="https://code.djangoproject.com/wiki/Tutorials">a tutorial Django project</a> to get the Django concepts bedded down - which are not at all obvious and some exist only within Django.
|
||||
|
||||
<p>Django is the thing that puts the survey data in a database in a way that helps us write far less code to get it in and out again, and provides templates which make it quicker to maintain all the webpages. <a href="http://www.djangoproject.com/"><img class="onright" src="https://www.djangoproject.com/m/img/badges/djangopowered126x54.gif" border="0" alt="Powered by Django." title="Powered by Django." /></a>
|
||||
See the <a href="https://docs.djangoproject.com/en/dev/misc/design-philosophies/">django design philosophy</a> for why we chose it: while django comes with a full stack (db, request/response, URL mapping, HTML templates) the layers of the stack are independent and individually replaceable.
|
||||
@ -84,7 +84,7 @@ See the <a href="https://docs.djangoproject.com/en/dev/misc/design-philosophies/
|
||||
|
||||
|
||||
<h3>Files generated by troggle</h3>
|
||||
<p>There are only four places where this happens. This is where online forms are used to create cave entrance records and cave records, where a form is used to record the information about a wallet. These are created in the database but also exported as files so that when troggle is rebuilt and data reimported the new cave data is there.
|
||||
<p>There are only three places where this happens. This is where online forms are used to create cave entrance records and cave records, where a form is used to record the information about a wallet. These are created in the database but also exported as files so that when troggle is rebuilt and data reimported the new cave data is there.
|
||||
<p>Any page in this handbook, and any logbook entry, can also be edited online and the page is saved as a file - and registered with the version control system.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user