Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Unified Diff: utils/tests/template/README.txt

Issue 9695048: Template parser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix GIT mixup - ugh Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/tests/template/README.txt
diff --git a/utils/tests/template/README.txt b/utils/tests/template/README.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87459158e572e2df6e58d8190ab0d807630578f9
--- /dev/null
+++ b/utils/tests/template/README.txt
@@ -0,0 +1,106 @@
+Simple Tests:
+ test_simple.dart (main application)
+
+ Works with templates:
+ name_entry.tmpl - simple template expression with attributes
+ name_entry2.tmpl - simple template expression inside bunch of nested tags
Siggi Cherem (dart-lang) 2012/03/15 01:21:25 80 col...
terry 2012/03/15 19:02:49 Done.
+ name_entry_css.tmpl - simple template expression with CSS
+
+ Build template and run application
+
+ cd $DART
+ ./utils/template/template utils/test/template/name_entry.tmpl utils/test/template/name_entry.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_simple.dart
+
+ cd $DART
+ ./utils/template/template utils/test/template/name_entry2.tmpl utils/test/template/name_entry.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_simple.dart
+
+ cd $DART
+ ./utils/template/template utils/test/template/name_entry_css.tmpl utils/test/template/name_entry.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_simple.dart
+
+
+With Tests:
+ test_with.dart (main application)
+
+ Works with templates:
+ productview.tmpl - simplest with template
+ productview2.tmpl - with tested with var
+
+ Build template and run application
+
+ cd $DART
+ ./utils/template/template utils/test/template/productview.tmpl utils/test/template/productview.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_with.dart
+
+ cd $DART
+ ./utils/template/template utils/test/template/productview2.tmpl utils/test/template/productview.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_with.dart
+
+
+List Tests:
+ test_list.dart (main application)
+
+ Works with templates:
+ applications.tmpl - simple list
+
+ Build template and run application
+
+ cd $DART
+ ./utils/template/template utils/test/template/applications.tmpl utils/test/template/applications.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_list.dart
+
+
+Complex Tests:
+ test_complex.dart (main application)
+
+ Works with templates:
+ top_searches.tmpl - #each inside of a #with
+ top_searches_css.tmpl - #each inside of a #with with CSS
+
+ Build template and run application
+
+ cd $DART
+ ./utils/template/template utils/test/template/top_searches.tmpl utils/test/template/top_searches.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_complex.dart
+
+ cd $DART
+ ./utils/template/template utils/test/template/top_searches_css.tmpl utils/test/template/top_searches.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_complex.dart
+
+
+Complex #2 Tests:
+ test_complex2.dart (main application)
+
+ Works with templates:
+ top_searches2.tmpl - #each inside of a #with w/ CSS and richer data model
+
+ Build template and run application
+
+ cd $DART
+ ./utils/template/template utils/test/template/top_searches2.tmpl utils/test/template/top_searches2.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/test_complex2.dart
+
+
+Real World Applications - Lists w/ events
+ real_app.dart (main application)
+
+ Works with templates:
+ realviews.tmpl - more complex app with event hookup (using var)
+
+
+ cd $DART
+ ./utils/template/template utils/test/template/realviews.tmpl utils/test/template/realviews.dart
+ cd $FROG
+ ./frog.py -- html -- ../utils/test/template/real_app.dart
+

Powered by Google App Engine
This is Rietveld 408576698