Skip to content
This repository
Browse code

Added in Tyler's flow diagrams

Closes #43
  • Loading branch information...
commit 78870d6b334d3a50592854ae4b2c3caf832ba5d1 1 parent 856a398
Derek Chen-Becker authored July 13, 2011
162  chap-advanced.lyx
... ...
@@ -1,4 +1,4 @@
1  
-#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
  1
+#LyX 1.6.10 created this file. For more info see http://www.lyx.org/
2 2
 \lyxformat 345
3 3
 \begin_document
4 4
 \begin_header
@@ -991,6 +991,113 @@ We realize that this is a lot of information to digest in one pass, so as
991 991
  the new information in the greater context of how Lift is working.
992 992
 \end_layout
993 993
 
  994
+\begin_layout Standard
  995
+Tyler Weir has created a set of diagrams on the following two pages that
  996
+ outline Lift's processing at the global level and also for HTTP requests
  997
+ in particular.
  998
+ For the visually-oriented these may explain things a bit better.
  999
+\begin_inset Newpage clearpage
  1000
+\end_inset
  1001
+
  1002
+
  1003
+\end_layout
  1004
+
  1005
+\begin_layout Standard
  1006
+\begin_inset Float figure
  1007
+placement H
  1008
+wide false
  1009
+sideways false
  1010
+status open
  1011
+
  1012
+\begin_layout Plain Layout
  1013
+\align center
  1014
+\begin_inset Graphics
  1015
+	filename images/lift_request_processing_global.png
  1016
+	width 7in
  1017
+
  1018
+\end_inset
  1019
+
  1020
+
  1021
+\end_layout
  1022
+
  1023
+\begin_layout Plain Layout
  1024
+\begin_inset Caption
  1025
+
  1026
+\begin_layout Plain Layout
  1027
+Lift Global Request Processing
  1028
+\end_layout
  1029
+
  1030
+\end_inset
  1031
+
  1032
+
  1033
+\end_layout
  1034
+
  1035
+\end_inset
  1036
+
  1037
+
  1038
+\end_layout
  1039
+
  1040
+\begin_layout Standard
  1041
+The 
  1042
+\begin_inset Quotes eld
  1043
+\end_inset
  1044
+
  1045
+Process HTTP request
  1046
+\begin_inset Quotes erd
  1047
+\end_inset
  1048
+
  1049
+ step is expanded on the following page.
  1050
+\end_layout
  1051
+
  1052
+\begin_layout Standard
  1053
+\begin_inset Newpage pagebreak
  1054
+\end_inset
  1055
+
  1056
+
  1057
+\end_layout
  1058
+
  1059
+\begin_layout Standard
  1060
+\begin_inset Float figure
  1061
+placement H
  1062
+wide false
  1063
+sideways false
  1064
+status open
  1065
+
  1066
+\begin_layout Plain Layout
  1067
+\align center
  1068
+\begin_inset Graphics
  1069
+	filename images/lift_request_processing_http.png
  1070
+	height 9in
  1071
+
  1072
+\end_inset
  1073
+
  1074
+
  1075
+\end_layout
  1076
+
  1077
+\begin_layout Plain Layout
  1078
+\begin_inset Caption
  1079
+
  1080
+\begin_layout Plain Layout
  1081
+Lift HTTP Request Processing
  1082
+\end_layout
  1083
+
  1084
+\end_inset
  1085
+
  1086
+
  1087
+\end_layout
  1088
+
  1089
+\end_inset
  1090
+
  1091
+
  1092
+\end_layout
  1093
+
  1094
+\begin_layout Standard
  1095
+\begin_inset Newpage pagebreak
  1096
+\end_inset
  1097
+
  1098
+
  1099
+\end_layout
  1100
+
994 1101
 \begin_layout Section
995 1102
 Lift Function Mapping
996 1103
 \begin_inset CommandInset label
@@ -1497,7 +1604,6 @@ must
1497 1604
 
1498 1605
 \begin_layout Standard
1499 1606
 \begin_inset listings
1500  
-lstparams "basicstyle={\scriptsize},frame=single"
1501 1607
 inline false
1502 1608
 status open
1503 1609
 
@@ -2267,14 +2373,22 @@ LiftRules gabage collection variables
2267 2373
 
2268 2374
 \begin_layout Plain Layout
2269 2375
 
2270  
- * By default lift uses a garbage-collection mechanism of removing unused
2271  
- bound functions from LiftSesssion
  2376
+ * By default lift uses a garbage-collection mechanism of removing 
  2377
+\end_layout
  2378
+
  2379
+\begin_layout Plain Layout
  2380
+
  2381
+ * unused bound functions from LiftSesssion
2272 2382
 \end_layout
2273 2383
 
2274 2384
 \begin_layout Plain Layout
2275 2385
 
2276  
- * Setting this to false will disable this mechanims and there will be no
2277  
- Ajax polling request attempted.
  2386
+ * Setting this to false will disable this mechanims and there will 
  2387
+\end_layout
  2388
+
  2389
+\begin_layout Plain Layout
  2390
+
  2391
+ * be no Ajax polling request attempted.
2278 2392
     
2279 2393
 \end_layout
2280 2394
 
@@ -2299,20 +2413,23 @@ var enableLiftGC = true;
2299 2413
 
2300 2414
 \begin_layout Plain Layout
2301 2415
 
2302  
- * If Lift garbage collection is enabled, functions that are not seen in
2303  
- the page for this period of time  
  2416
+ * If Lift garbage collection is enabled, functions that are not seen 
2304 2417
 \end_layout
2305 2418
 
2306 2419
 \begin_layout Plain Layout
2307 2420
 
2308  
- * (given in milliseonds) will be discarded, hence eligible for garbage
2309  
- collection.
2310  
- 
  2421
+ * in the page for this period of time (given in milliseonds) will be
2311 2422
 \end_layout
2312 2423
 
2313 2424
 \begin_layout Plain Layout
2314 2425
 
2315  
- * The default value is 10 minutes.
  2426
+ * discarded, hence eligible for garbage collection.
  2427
+ The default value
  2428
+\end_layout
  2429
+
  2430
+\begin_layout Plain Layout
  2431
+
  2432
+ * is 10 minutes.
2316 2433
     
2317 2434
 \end_layout
2318 2435
 
@@ -2337,8 +2454,12 @@ var unusedFunctionsLifeTime: Long = 10 minutes
2337 2454
 
2338 2455
 \begin_layout Plain Layout
2339 2456
 
2340  
- * The polling interval for background Ajax requests to prevent functions
2341  
- of being garbage collected.
  2457
+ * The polling interval for background Ajax requests to prevent
  2458
+\end_layout
  2459
+
  2460
+\begin_layout Plain Layout
  2461
+
  2462
+ * functions of being garbage collected.
2342 2463
    
2343 2464
 \end_layout
2344 2465
 
@@ -2369,14 +2490,23 @@ var liftGCPollingInterval: Long = 75 seconds
2369 2490
 \begin_layout Plain Layout
2370 2491
 
2371 2492
  * The polling interval for background Ajax requests to prevent functions
2372  
- of being garbage collected.
  2493
+\end_layout
  2494
+
  2495
+\begin_layout Plain Layout
  2496
+
  2497
+ * of being garbage collected.
2373 2498
   
2374 2499
 \end_layout
2375 2500
 
2376 2501
 \begin_layout Plain Layout
2377 2502
 
2378 2503
  * This will be applied if the Ajax request will fail.
2379  
- Default value is set to 15 seconds.
  2504
+ Default value is
  2505
+\end_layout
  2506
+
  2507
+\begin_layout Plain Layout
  2508
+
  2509
+ * set to 15 seconds.
2380 2510
   
2381 2511
 \end_layout
2382 2512
 
BIN  images/lift_request_processing_global.png
BIN  images/lift_request_processing_http.png
2  master.lyx
... ...
@@ -1,4 +1,4 @@
1  
-#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
  1
+#LyX 1.6.10 created this file. For more info see http://www.lyx.org/
2 2
 \lyxformat 345
3 3
 \begin_document
4 4
 \begin_header

0 notes on commit 78870d6

Please sign in to comment.
Something went wrong with that request. Please try again.