annotate README @ 445:a122424f2f0f

Fixed typos in fields.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 03 Dec 2013 17:08:44 +0100
parents 067ecffac15d
children 9ba41a46f6e5
rev   line source
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
1 Lada-Client
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
2 ===========
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
3
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
4 Entwicklung
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
5 -----------
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
6 Für die Entwicklung ist es notwenig in dem Wurzelordner die ExtJS-Bibliothek
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
7 in der Version >=4.2.0 unter dem Namen "extjs" zur Verfügung zu stellen.
27
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
8
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
9 Diese lässt sich unter der folgenden URL herunterladen:
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
10 http://cdn.sencha.com/ext/gpl/ext-4.2.0-gpl.zip
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
11
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
12 SHA1 Checksum: 2ce990d9e90c48a76078e8533c72b5452f9ed809
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
13
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
14 Beispiel:
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
15 curl -O http://cdn.sencha.com/ext/gpl/ext-4.2.0-gpl.zip
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
16 unzip ext-4.2.0-gpl.zip
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
17 ln -s ext-4.2.0-gpl extjs
340
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
18
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
19 Zusätzlich wird für diese Anwendung eine Bibliothek zur Internationalisierung
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
20 verwendet, die unter der URL
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
21
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
22 https://github.com/elmasse/Ext.i18n.Bundle
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
23
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
24 verfügbar ist, verwendet.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
25 Diese muss in dem Ordner 'src' der vorher zur Verfügung gestellten ExtJS
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
26 Bibliothek eingebunden werden. Dazu wird der Ordner 'i18n' in den Ordner 'src' kopiert
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
27 oder verlinkt.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
28
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
29 Installation
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
30 ------------
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
31 Die Anwendung wird mit Hilfe des von Sencha bereitgestellten Tools 'Sencha Cmd'
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
32 compiliert und minifiziert. Vorbedingung für den Compilevorgang ist die unter
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
33 Entwicklung beschriebene Verzeichnisstruktur.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
34
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
35 Sencha Cmd kann unter der URL
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
36
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
37 http://www.sencha.com/products/sencha-cmd/download
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
38
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
39 heruntergeladen und dann installiert werden.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
40
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
41 Mit dem folgenden Befehl kann dann der Lada-Client compiliert und minifiziert werden:
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
42
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
43 sencha -sdk /path/to/extjs compile \
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
44 -classpath=app,app/view/widgets/resources/datetime page -yui \
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
45 -in index.html -out build/index.html
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
46
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
47 Dies erzeugt in dem Ordner 'build' die minifizierte Version der Anwendung, die
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
48 alle benötigten Klassen der ExtJS Bibliothek beinhaltet und eine entsprechende
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
49 index.html, die zur Auslieferung in einem Webserver verwendet werden kann.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
50
340
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
51 Dokumentation
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
52 -------------
340
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
53 Die Dokumentation wird mit dem Tool JSDuck erzeugt.
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
54 Im Wurzelordner lässt sich nach der Installation von JSDuck dann mit dem
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
55 Befehl "jsduck" die Dokumentation für den Lada-Clienten erzeugen.
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
56 Die Dokumentation findet sich nach der Generierung in dem Order "doc".
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
57 Einstiegseite ist die Seite template.html.
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
58
399
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
59 JSDuck ist unter der Adresse
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
60
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
61 https://github.com/senchalabs/jsduck
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
62
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
63 zu finden und muss installiert werden.
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
64
340
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
65 Einstellung bezüglich der Generierung der Dokumentation ist in der Datei
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
66 jsduck.json hinterlegt.

http://lada.wald.intevation.org