Changeset 5652
- Timestamp:
- 11/03/08 17:04:15 (2 months ago)
- Files:
-
- docs/2.0/docs/index.rst (modified) (4 diffs)
- docs/2.0/docs/main/Config.rst (modified) (2 diffs)
- docs/2.0/docs/project_code/wiki_root/trunk/development.ini (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
docs/2.0/docs/index.rst
r5573 r5652 9 9 web world has been increasingly designed around WSGI. 10 10 11 This has enabled a whole new world of component reuse, and TG2 is designed to 12 take advantage of this fact in order to make a framework which is both 13 flexible, and productive. TG2 represents a change from TurboGears 1, but it 14 also represents a set of components that we think will continue to be at 11 This has enabled a whole new world of reuse, and TG2 is designed to 12 take advantage of this fact in order to make a framework which provides 13 easy to use, productive defaults, while still providing flexibility where it's useful. 14 15 TG2 represents a change from some of the components in TurboGears 1, but we're now invested in a set of components that we think will continue to be at 15 16 the center of python web development for years to come. 16 17 TurboGears 2 is in rapid development, and those who jump onboard now may18 experience a bit of API instability that comes from all that development19 energy, but because it is well tested, and based on well tested, and known20 stable components it is already being used by some people in production21 environments.22 17 23 18 Getting Started with TurboGears … … 33 28 main/DownloadInstall 34 29 main/QuickStart 35 main/BasicMoves36 30 37 31 Tutorials … … 49 43 main/Auth 50 44 51 What's new 52 =============== 45 What's new in TG2 46 =================== 53 47 54 48 .. toctree:: … … 144 138 Not all sites are going to be performance constrained, and not all performance 145 139 constraints are created equal. Premature optimization can get you into a lot 146 of trouble if you're not careful, but at the same time knowing and doing a 147 few simple things up front can help you to handle huge traffic loads when they 148 come. 140 of trouble if you're not careful, but knowing and doing a few simple things up front can help you to handle huge traffic loads when they come. 149 141 150 142 These guides are not intended to be exhaustive descriptions of web-application docs/2.0/docs/main/Config.rst
r5649 r5652 128 128 you programatically setup one TurboGears app inside another. 129 129 130 In that case, you'll need to create your own ``base_config`` like object to use 131 when configuring the inside wsgi application instance. 130 In that case, you'll need to create your own ``base_config`` like object to usewhen configuring the inside wsgi application instance. 132 131 133 132 Fortunately, this can be as simple as creating your own ``base_config`` object … … 139 138 final_app = make_wsgi_app(global_conf, app_conf) 140 139 140 Using AppConfig outside of a quickstarted project: 141 ------------------------------------------------------ 141 142 143 144 docs/2.0/docs/project_code/wiki_root/trunk/development.ini
r5347 r5652 8 8 # and generally should not be modified by end users. 9 9 10 ##{default} 11 10 12 [DEFAULT] 11 13 debug = true … … 15 17 error_email_from = paste@localhost 16 18 19 ## 20 21 ##{server} 17 22 [server:main] 18 23 use = egg:Paste#http 19 24 host = 127.0.0.1 20 25 port = 8080 26 27 ## 28 29 ##{app} 21 30 22 31 [app:main] … … 59 68 # http://docs.python.org/lib/logging-config-fileformat.html 60 69 70 ## 71 61 72 [loggers] 62 73 keys = root, wiki20, sqlalchemy