├── .env ├── .gitattributes ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── Vagrantfile ├── app.py ├── chapter10 └── section2 │ ├── __init__.py │ ├── app.py │ ├── calc.thrift │ ├── client.py │ ├── client_with_thriftpy.py │ ├── config.py │ ├── ext.py │ ├── gen-py │ ├── __init__.py │ └── pastefile │ │ ├── PasteFileService-remote │ │ ├── PasteFileService.py │ │ ├── __init__.py │ │ ├── constants.py │ │ └── ttypes.py │ ├── mimes.py │ ├── models.py │ ├── pastefile.thrift │ ├── server.py │ ├── server_with_thriftpy.py │ └── utils.py ├── chapter11 ├── section1 │ ├── data │ │ ├── a-2016-06-30_00000.bz2 │ │ ├── b-2016-06-30_00000.bz2 │ │ ├── c-2016-06-30_00000.bz2 │ │ └── d-2016-06-30_00000.bz2 │ ├── map_reduce.py │ └── parallel.py ├── section2 │ └── tyrion.py ├── section3 │ ├── app.py │ ├── chart_styles.py │ ├── chart_styles.xlsx │ ├── core_user_report.py │ ├── core_user_report.xlsx │ ├── email_with_mako.py │ ├── pv_uv.py │ ├── pv_uv.xlsx │ ├── statistics.csv │ └── tmpl │ │ ├── bootstrap.min.css │ │ └── statistics.txt └── section4 │ ├── csv │ └── 20160423.csv │ └── pv_uv.xlsx ├── chapter12 ├── section1 │ ├── ipython_config.py │ ├── py_autoreload.py │ └── py_debug.py ├── section2 │ ├── Untitled.html │ ├── Untitled.ipynb │ ├── custom.js │ ├── echarts.ipynb │ ├── foo.py │ ├── jupyter_notebook_config.py │ ├── mycert.pem │ ├── mykey.key │ ├── rich-display.ipynb │ ├── untitled.txt │ └── web_develop.tpl ├── section3 │ ├── __init__.py │ ├── ipy_test.py │ ├── line_test.py │ ├── mem_test.py │ └── profile_test.py ├── section4 │ ├── app.py │ ├── config.py │ ├── mimes.py │ ├── shell.py │ └── utils.py └── section5 │ ├── 00-double11.py │ ├── 99-hide_attribute.py │ ├── custom.css │ ├── custom.js │ ├── double11.ipynb │ └── init_db.py ├── chapter13 ├── section1 │ ├── config.py │ ├── models.py │ ├── proxy_fetcher.py │ ├── proxy_fetcher_with_queue.py │ └── utils.py ├── section2 │ ├── config.py │ ├── gevent_spawn.py │ ├── models.py │ ├── remove_unavailable_proxy.py │ ├── search_result.py │ ├── search_result_with_lock.py │ └── utils.py ├── section3 │ ├── config.py │ ├── models.py │ ├── save_article_content.py │ └── utils.py ├── section4 │ ├── config.py │ ├── models.py │ ├── remove_unavailable_proxy.py │ ├── save_article_content.py │ ├── save_article_content_with_futures.py │ └── utils.py └── section5 │ ├── aiohttp_fetcher.py │ ├── aiohttp_server.py │ ├── async_for.py │ ├── async_future.py │ ├── async_future_with_cb.py │ ├── async_with.py │ ├── config.py │ ├── models.py │ ├── new_coroutine.py │ ├── old_coroutine.py │ ├── save_article_content.py │ ├── use_yield.py │ └── utils.py ├── chapter14 ├── section1 │ ├── contextlib_example.py │ └── errno_example.py ├── section3 │ ├── context_lib.py │ ├── help.txt │ ├── help_err.txt │ ├── help_out.txt │ ├── json_singledispatch.py │ ├── partial_method.py │ ├── python3_partial_method.py │ └── web_cache.py ├── section4 │ ├── _abi_out.py │ ├── _add.c │ ├── _add.o │ ├── _api_out.c │ ├── _api_out.o │ ├── _board.c │ ├── _board.o │ ├── board.c │ ├── board.h │ ├── board.py │ ├── build_board.py │ ├── ceil.c │ ├── ceil.pyx │ ├── ceil_cy.c │ ├── ceil_cy.pyx │ ├── cffi_abi_out_line.py │ ├── cffi_api_out_line.py │ ├── hello │ ├── hello. │ ├── hello.c │ ├── hello.py │ ├── levenshtein.c │ ├── levenshtein_c.c │ ├── levenshtein_c.pyx │ ├── levenshtein_cy.c │ ├── levenshtein_cy.pyx │ ├── levenshtein_cy2.c │ ├── levenshtein_cy2.pyx │ ├── levenshtein_p.py │ ├── setup.py │ ├── setup_c.py │ ├── setup_ceil.py │ ├── setup_ceil_cy.py │ └── setup_cy2.py └── section5 │ ├── douban.png │ ├── error.png │ ├── notification.py │ └── notify ├── chapter15 └── section2 │ ├── ascii.py │ ├── ast_transformer.py │ ├── ast_visitor.py │ ├── check_mc.py │ ├── flake8-mc │ ├── flake8_mc.py │ └── setup.py │ ├── movie_order.py │ ├── movie_order_wrong.py │ ├── non_ascii.py │ ├── pylint_example.py │ ├── stubs.py │ └── test.py ├── chapter2 └── section2 │ ├── create-venv-script.py │ ├── create-venv-script_v2.py │ └── pyvenv.py ├── chapter3 ├── __init__.py ├── section1 │ ├── app_api.py │ ├── app_bp.py │ ├── app_cli.py │ ├── app_response.py │ ├── app_subdomain.py │ ├── app_view.py │ ├── app_with_custom_converter.py │ ├── config.py │ ├── debug.py │ ├── hello.py │ ├── simple.py │ ├── url.py │ └── user.py ├── section3 │ ├── __init__.py │ ├── app_with_sqlalchemy.py │ ├── config.py │ ├── consts.py │ ├── curd.py │ ├── example1.py │ ├── exp_sql.py │ ├── ext.py │ ├── logger_slow_query.py │ ├── orm_sql.py │ ├── raw_sql.py │ ├── rel_sql.py │ ├── text_sql.py │ └── users.py ├── section4 │ ├── app.py │ ├── app_with_local_proxy.py │ ├── config.py │ ├── consts.py │ ├── ext.py │ ├── local.py │ └── users.py └── section5 │ ├── __init__.py │ ├── app.py │ ├── config.py │ ├── ext.py │ ├── mimes.py │ ├── models.py │ ├── requirements.txt │ └── utils.py ├── chapter4 ├── section1 │ ├── blinker_signal.py │ └── login_signal.py ├── section2 │ ├── __init__.py │ ├── app.py │ ├── app_admin.py │ ├── app_assets.py │ ├── app_debug.py │ ├── app_migrate.py │ ├── app_restful.py │ ├── app_security.py │ ├── app_wtf.py │ ├── assets.py │ ├── config.py │ ├── ext.py │ ├── manage.py │ ├── mimes.py │ ├── models.py │ ├── static │ │ ├── css │ │ │ ├── all.min.css │ │ │ ├── base-min.css │ │ │ └── buttons-min.css │ │ ├── js │ │ │ ├── all.min.js │ │ │ ├── src │ │ │ │ ├── click.es6 │ │ │ │ ├── common.js │ │ │ │ └── highlight.js │ │ │ └── vendor │ │ │ │ └── jquery.min.js │ │ └── scss │ │ │ ├── common.scss │ │ │ └── forms.scss │ ├── templates │ │ └── index.html │ ├── users.py │ └── utils.py └── section3 │ ├── app_dispatcher_middleware.py │ ├── app_lint_middleware.py │ ├── app_profiler_middleware.py │ ├── app_share_middleware.py │ ├── app_tornado.py │ ├── config.py │ ├── hashed_user.py │ └── static │ └── main.js ├── chapter5 └── section3 │ └── app.py ├── chapter6 ├── __init__.py ├── section1 │ ├── __init__.py │ ├── app.py │ ├── gevent_wsgi.py │ └── tornado_wsgi.py ├── section2 │ ├── nginx_gunicorn.conf │ └── nginx_uwsgi.conf ├── section3 │ ├── app_with_mc.py │ ├── mc.py │ └── mc_decorator.py ├── section4 │ ├── __init__.py │ ├── lastest_files.py │ ├── lastest_files_with_msgpack.py │ ├── top_n.py │ └── user_active.py ├── section5 │ ├── haproxy.cfg │ └── rsyslog_haproxy.conf ├── section6 │ ├── keepalived_lvs_director_primary.conf │ ├── keepalived_lvs_director_secondary.conf │ ├── keepalived_lvs_primary.conf │ ├── keepalived_ngx_primary.conf │ └── keepalived_ngx_secondary.conf ├── section7 │ ├── default.vcl │ ├── error50x.html │ └── varnish └── section8 │ ├── __init__.py │ ├── app.py │ ├── config.py │ ├── example_pymongo.py │ ├── ext.py │ ├── mimes.py │ ├── models.py │ ├── mongodb.service │ ├── use_big_documents.py │ └── utils.py ├── chapter7 ├── section1 │ ├── listener.py │ ├── supervisord.conf │ ├── supervisord_global.conf │ └── supervisord_global2.conf ├── section2 │ ├── fabfile.py │ └── fabfile_app.py ├── section3 │ ├── ansible │ │ ├── dev │ │ │ ├── jenkins │ │ │ │ ├── host_vars │ │ │ │ │ └── 192.168.0.130 │ │ │ │ ├── jenkins.host │ │ │ │ └── jenkins.yml │ │ │ └── redis │ │ │ │ ├── main.yml │ │ │ │ ├── templates │ │ │ │ ├── redis-server.service │ │ │ │ ├── redis.conf.j2 │ │ │ │ └── upstart.conf │ │ │ │ └── vars.yml │ │ └── roles │ │ │ └── flyapen.jenkins │ │ │ ├── .gitignore │ │ │ ├── LICENCE │ │ │ ├── README.md │ │ │ ├── defaults │ │ │ └── main.yml │ │ │ ├── files │ │ │ └── jenkins-ci.org.key │ │ │ ├── handlers │ │ │ └── main.yml │ │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ ├── main.yml │ │ │ └── main.yml.sample │ │ │ ├── tasks │ │ │ ├── cli.yml │ │ │ ├── config.yml │ │ │ ├── dependencies_deb.yml │ │ │ ├── jenkins.yml │ │ │ ├── main.yml │ │ │ ├── plugins.yml │ │ │ └── repo.yml │ │ │ ├── templates │ │ │ └── hudson.tasks.Mailer.xml.j2 │ │ │ └── vars │ │ │ └── main.yml │ ├── pillar │ │ ├── packages.sls │ │ ├── redis.sls │ │ └── top.sls │ └── salt │ │ ├── dev │ │ └── redis │ │ │ ├── common.sls │ │ │ ├── files │ │ │ ├── redis-2.8.conf.jinja │ │ │ └── redis-3.0.conf.jinja │ │ │ ├── init.sls │ │ │ ├── map.jinja │ │ │ └── server.sls │ │ └── top.sls ├── section5 │ ├── __init__.py │ └── app.py └── section7 │ ├── op │ └── portforwarder.py ├── chapter8 ├── section1 │ ├── doc_test.py │ ├── ut_case.py │ ├── ut_suite.py │ └── ut_suite_with_case.py ├── section2 │ ├── client.py │ ├── test_mock.py │ └── test_pytest.py └── section3 │ ├── requirements.txt │ ├── tests │ └── test_pytest.py │ └── tox.ini ├── chapter9 ├── section2 │ ├── amqp_consumer.py │ ├── amqp_producer.py │ └── amqp_producer_with_confirm.py ├── section3 │ ├── celery_socketio.py │ ├── proj │ │ ├── __init__.py │ │ ├── app.py │ │ ├── celery.py │ │ ├── celeryconfig.py │ │ └── tasks.py │ ├── projb │ │ ├── __init__.py │ │ ├── celery │ │ ├── celery.py │ │ ├── celeryconfig.py │ │ └── tasks.py │ └── projq │ │ ├── __init__.py │ │ ├── celery.py │ │ ├── celeryconfig.py │ │ └── tasks.py └── section4 │ ├── kombu_consumer.py │ ├── kombu_producer.py │ ├── librabbitmq_consumer.py │ ├── librabbitmq_producer.py │ └── proj │ ├── __init__.py │ ├── app.py │ ├── celery │ ├── celery.py │ ├── celeryconfig.py │ └── tasks.py ├── data ├── dump.zip └── fake_useragent.json ├── databases └── schema.sql ├── errata.md ├── setup.md ├── static ├── img │ ├── arrow.svg │ ├── audio.png │ ├── binary.png │ ├── link.svg │ ├── pdf.png │ └── video.png ├── javascripts │ ├── fetch.js │ ├── index.js │ ├── jquery.min.js │ ├── success.js │ └── vendors.js └── stylesheets │ ├── bootstrap.min.css │ └── index.css └── templates ├── chapter11 └── section4 │ └── csv.html ├── chapter3 ├── section1 │ └── users.html ├── section2 │ ├── jinja2 │ │ ├── base.html │ │ ├── hello.html │ │ ├── hello_macro.html │ │ ├── index.html │ │ ├── macro.html │ │ └── simple.html │ └── mako │ │ ├── base.html │ │ ├── hello.mako │ │ ├── index.html │ │ ├── my_filters.html │ │ ├── page_filters.html │ │ ├── simple.html │ │ └── utils.html ├── section4 │ └── user.html └── section5 │ ├── hello.html │ └── test.plim ├── chapter4 └── section2 │ ├── authenticated-admin.html │ ├── login_user.html │ └── register.html ├── chapter5 └── section3 │ ├── signin.html │ ├── signin_fetch.html │ └── signin_xhr.html ├── chapter9 └── section3 │ └── index.html └── r ├── index.html └── success.html /.env: -------------------------------------------------------------------------------- 1 | source /home/ubuntu/.virtualenvs/venv/bin/activate 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | chapter12/section2/Untitled.html linguist-vendored 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/Vagrantfile -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter10/section2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter10/section2/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/app.py -------------------------------------------------------------------------------- /chapter10/section2/calc.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/calc.thrift -------------------------------------------------------------------------------- /chapter10/section2/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/client.py -------------------------------------------------------------------------------- /chapter10/section2/client_with_thriftpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/client_with_thriftpy.py -------------------------------------------------------------------------------- /chapter10/section2/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/config.py -------------------------------------------------------------------------------- /chapter10/section2/ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/ext.py -------------------------------------------------------------------------------- /chapter10/section2/gen-py/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter10/section2/gen-py/pastefile/PasteFileService-remote: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/gen-py/pastefile/PasteFileService-remote -------------------------------------------------------------------------------- /chapter10/section2/gen-py/pastefile/PasteFileService.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/gen-py/pastefile/PasteFileService.py -------------------------------------------------------------------------------- /chapter10/section2/gen-py/pastefile/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/gen-py/pastefile/__init__.py -------------------------------------------------------------------------------- /chapter10/section2/gen-py/pastefile/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/gen-py/pastefile/constants.py -------------------------------------------------------------------------------- /chapter10/section2/gen-py/pastefile/ttypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/gen-py/pastefile/ttypes.py -------------------------------------------------------------------------------- /chapter10/section2/mimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/mimes.py -------------------------------------------------------------------------------- /chapter10/section2/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/models.py -------------------------------------------------------------------------------- /chapter10/section2/pastefile.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/pastefile.thrift -------------------------------------------------------------------------------- /chapter10/section2/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/server.py -------------------------------------------------------------------------------- /chapter10/section2/server_with_thriftpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/server_with_thriftpy.py -------------------------------------------------------------------------------- /chapter10/section2/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter10/section2/utils.py -------------------------------------------------------------------------------- /chapter11/section1/data/a-2016-06-30_00000.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section1/data/a-2016-06-30_00000.bz2 -------------------------------------------------------------------------------- /chapter11/section1/data/b-2016-06-30_00000.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section1/data/b-2016-06-30_00000.bz2 -------------------------------------------------------------------------------- /chapter11/section1/data/c-2016-06-30_00000.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section1/data/c-2016-06-30_00000.bz2 -------------------------------------------------------------------------------- /chapter11/section1/data/d-2016-06-30_00000.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section1/data/d-2016-06-30_00000.bz2 -------------------------------------------------------------------------------- /chapter11/section1/map_reduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section1/map_reduce.py -------------------------------------------------------------------------------- /chapter11/section1/parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section1/parallel.py -------------------------------------------------------------------------------- /chapter11/section2/tyrion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section2/tyrion.py -------------------------------------------------------------------------------- /chapter11/section3/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/app.py -------------------------------------------------------------------------------- /chapter11/section3/chart_styles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/chart_styles.py -------------------------------------------------------------------------------- /chapter11/section3/chart_styles.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/chart_styles.xlsx -------------------------------------------------------------------------------- /chapter11/section3/core_user_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/core_user_report.py -------------------------------------------------------------------------------- /chapter11/section3/core_user_report.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/core_user_report.xlsx -------------------------------------------------------------------------------- /chapter11/section3/email_with_mako.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/email_with_mako.py -------------------------------------------------------------------------------- /chapter11/section3/pv_uv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/pv_uv.py -------------------------------------------------------------------------------- /chapter11/section3/pv_uv.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/pv_uv.xlsx -------------------------------------------------------------------------------- /chapter11/section3/statistics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/statistics.csv -------------------------------------------------------------------------------- /chapter11/section3/tmpl/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/tmpl/bootstrap.min.css -------------------------------------------------------------------------------- /chapter11/section3/tmpl/statistics.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section3/tmpl/statistics.txt -------------------------------------------------------------------------------- /chapter11/section4/csv/20160423.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section4/csv/20160423.csv -------------------------------------------------------------------------------- /chapter11/section4/pv_uv.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter11/section4/pv_uv.xlsx -------------------------------------------------------------------------------- /chapter12/section1/ipython_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section1/ipython_config.py -------------------------------------------------------------------------------- /chapter12/section1/py_autoreload.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | def a(): 3 | return 2 4 | -------------------------------------------------------------------------------- /chapter12/section1/py_debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section1/py_debug.py -------------------------------------------------------------------------------- /chapter12/section2/Untitled.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/Untitled.html -------------------------------------------------------------------------------- /chapter12/section2/Untitled.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/Untitled.ipynb -------------------------------------------------------------------------------- /chapter12/section2/custom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/custom.js -------------------------------------------------------------------------------- /chapter12/section2/echarts.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/echarts.ipynb -------------------------------------------------------------------------------- /chapter12/section2/foo.py: -------------------------------------------------------------------------------- 1 | print 'Hello world' -------------------------------------------------------------------------------- /chapter12/section2/jupyter_notebook_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/jupyter_notebook_config.py -------------------------------------------------------------------------------- /chapter12/section2/mycert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/mycert.pem -------------------------------------------------------------------------------- /chapter12/section2/mykey.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/mykey.key -------------------------------------------------------------------------------- /chapter12/section2/rich-display.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/rich-display.ipynb -------------------------------------------------------------------------------- /chapter12/section2/untitled.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter12/section2/web_develop.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section2/web_develop.tpl -------------------------------------------------------------------------------- /chapter12/section3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter12/section3/ipy_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section3/ipy_test.py -------------------------------------------------------------------------------- /chapter12/section3/line_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section3/line_test.py -------------------------------------------------------------------------------- /chapter12/section3/mem_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section3/mem_test.py -------------------------------------------------------------------------------- /chapter12/section3/profile_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section3/profile_test.py -------------------------------------------------------------------------------- /chapter12/section4/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section4/app.py -------------------------------------------------------------------------------- /chapter12/section4/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section4/config.py -------------------------------------------------------------------------------- /chapter12/section4/mimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section4/mimes.py -------------------------------------------------------------------------------- /chapter12/section4/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section4/shell.py -------------------------------------------------------------------------------- /chapter12/section4/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section4/utils.py -------------------------------------------------------------------------------- /chapter12/section5/00-double11.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section5/00-double11.py -------------------------------------------------------------------------------- /chapter12/section5/99-hide_attribute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section5/99-hide_attribute.py -------------------------------------------------------------------------------- /chapter12/section5/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section5/custom.css -------------------------------------------------------------------------------- /chapter12/section5/custom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section5/custom.js -------------------------------------------------------------------------------- /chapter12/section5/double11.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section5/double11.ipynb -------------------------------------------------------------------------------- /chapter12/section5/init_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter12/section5/init_db.py -------------------------------------------------------------------------------- /chapter13/section1/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section1/config.py -------------------------------------------------------------------------------- /chapter13/section1/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section1/models.py -------------------------------------------------------------------------------- /chapter13/section1/proxy_fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section1/proxy_fetcher.py -------------------------------------------------------------------------------- /chapter13/section1/proxy_fetcher_with_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section1/proxy_fetcher_with_queue.py -------------------------------------------------------------------------------- /chapter13/section1/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section1/utils.py -------------------------------------------------------------------------------- /chapter13/section2/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/config.py -------------------------------------------------------------------------------- /chapter13/section2/gevent_spawn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/gevent_spawn.py -------------------------------------------------------------------------------- /chapter13/section2/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/models.py -------------------------------------------------------------------------------- /chapter13/section2/remove_unavailable_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/remove_unavailable_proxy.py -------------------------------------------------------------------------------- /chapter13/section2/search_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/search_result.py -------------------------------------------------------------------------------- /chapter13/section2/search_result_with_lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/search_result_with_lock.py -------------------------------------------------------------------------------- /chapter13/section2/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section2/utils.py -------------------------------------------------------------------------------- /chapter13/section3/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section3/config.py -------------------------------------------------------------------------------- /chapter13/section3/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section3/models.py -------------------------------------------------------------------------------- /chapter13/section3/save_article_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section3/save_article_content.py -------------------------------------------------------------------------------- /chapter13/section3/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section3/utils.py -------------------------------------------------------------------------------- /chapter13/section4/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section4/config.py -------------------------------------------------------------------------------- /chapter13/section4/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section4/models.py -------------------------------------------------------------------------------- /chapter13/section4/remove_unavailable_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section4/remove_unavailable_proxy.py -------------------------------------------------------------------------------- /chapter13/section4/save_article_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section4/save_article_content.py -------------------------------------------------------------------------------- /chapter13/section4/save_article_content_with_futures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section4/save_article_content_with_futures.py -------------------------------------------------------------------------------- /chapter13/section4/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section4/utils.py -------------------------------------------------------------------------------- /chapter13/section5/aiohttp_fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/aiohttp_fetcher.py -------------------------------------------------------------------------------- /chapter13/section5/aiohttp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/aiohttp_server.py -------------------------------------------------------------------------------- /chapter13/section5/async_for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/async_for.py -------------------------------------------------------------------------------- /chapter13/section5/async_future.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/async_future.py -------------------------------------------------------------------------------- /chapter13/section5/async_future_with_cb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/async_future_with_cb.py -------------------------------------------------------------------------------- /chapter13/section5/async_with.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/async_with.py -------------------------------------------------------------------------------- /chapter13/section5/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/config.py -------------------------------------------------------------------------------- /chapter13/section5/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/models.py -------------------------------------------------------------------------------- /chapter13/section5/new_coroutine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/new_coroutine.py -------------------------------------------------------------------------------- /chapter13/section5/old_coroutine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/old_coroutine.py -------------------------------------------------------------------------------- /chapter13/section5/save_article_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/save_article_content.py -------------------------------------------------------------------------------- /chapter13/section5/use_yield.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/use_yield.py -------------------------------------------------------------------------------- /chapter13/section5/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter13/section5/utils.py -------------------------------------------------------------------------------- /chapter14/section1/contextlib_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section1/contextlib_example.py -------------------------------------------------------------------------------- /chapter14/section1/errno_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section1/errno_example.py -------------------------------------------------------------------------------- /chapter14/section3/context_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section3/context_lib.py -------------------------------------------------------------------------------- /chapter14/section3/help.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section3/help.txt -------------------------------------------------------------------------------- /chapter14/section3/help_err.txt: -------------------------------------------------------------------------------- 1 | (stderr) A: 'Test' 2 | -------------------------------------------------------------------------------- /chapter14/section3/help_out.txt: -------------------------------------------------------------------------------- 1 | (stdout) A: 'Test' 2 | -------------------------------------------------------------------------------- /chapter14/section3/json_singledispatch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section3/json_singledispatch.py -------------------------------------------------------------------------------- /chapter14/section3/partial_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section3/partial_method.py -------------------------------------------------------------------------------- /chapter14/section3/python3_partial_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section3/python3_partial_method.py -------------------------------------------------------------------------------- /chapter14/section3/web_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section3/web_cache.py -------------------------------------------------------------------------------- /chapter14/section4/_abi_out.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_abi_out.py -------------------------------------------------------------------------------- /chapter14/section4/_add.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_add.c -------------------------------------------------------------------------------- /chapter14/section4/_add.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_add.o -------------------------------------------------------------------------------- /chapter14/section4/_api_out.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_api_out.c -------------------------------------------------------------------------------- /chapter14/section4/_api_out.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_api_out.o -------------------------------------------------------------------------------- /chapter14/section4/_board.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_board.c -------------------------------------------------------------------------------- /chapter14/section4/_board.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/_board.o -------------------------------------------------------------------------------- /chapter14/section4/board.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/board.c -------------------------------------------------------------------------------- /chapter14/section4/board.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/board.h -------------------------------------------------------------------------------- /chapter14/section4/board.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/board.py -------------------------------------------------------------------------------- /chapter14/section4/build_board.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/build_board.py -------------------------------------------------------------------------------- /chapter14/section4/ceil.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/ceil.c -------------------------------------------------------------------------------- /chapter14/section4/ceil.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/ceil.pyx -------------------------------------------------------------------------------- /chapter14/section4/ceil_cy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/ceil_cy.c -------------------------------------------------------------------------------- /chapter14/section4/ceil_cy.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/ceil_cy.pyx -------------------------------------------------------------------------------- /chapter14/section4/cffi_abi_out_line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/cffi_abi_out_line.py -------------------------------------------------------------------------------- /chapter14/section4/cffi_api_out_line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/cffi_api_out_line.py -------------------------------------------------------------------------------- /chapter14/section4/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/hello -------------------------------------------------------------------------------- /chapter14/section4/hello.: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter14/section4/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/hello.c -------------------------------------------------------------------------------- /chapter14/section4/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/hello.py -------------------------------------------------------------------------------- /chapter14/section4/levenshtein.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein.c -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_c.c -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_c.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_c.pyx -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_cy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_cy.c -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_cy.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_cy.pyx -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_cy2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_cy2.c -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_cy2.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_cy2.pyx -------------------------------------------------------------------------------- /chapter14/section4/levenshtein_p.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/levenshtein_p.py -------------------------------------------------------------------------------- /chapter14/section4/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/setup.py -------------------------------------------------------------------------------- /chapter14/section4/setup_c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/setup_c.py -------------------------------------------------------------------------------- /chapter14/section4/setup_ceil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/setup_ceil.py -------------------------------------------------------------------------------- /chapter14/section4/setup_ceil_cy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/setup_ceil_cy.py -------------------------------------------------------------------------------- /chapter14/section4/setup_cy2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section4/setup_cy2.py -------------------------------------------------------------------------------- /chapter14/section5/douban.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section5/douban.png -------------------------------------------------------------------------------- /chapter14/section5/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section5/error.png -------------------------------------------------------------------------------- /chapter14/section5/notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section5/notification.py -------------------------------------------------------------------------------- /chapter14/section5/notify: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter14/section5/notify -------------------------------------------------------------------------------- /chapter15/section2/ascii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/ascii.py -------------------------------------------------------------------------------- /chapter15/section2/ast_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/ast_transformer.py -------------------------------------------------------------------------------- /chapter15/section2/ast_visitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/ast_visitor.py -------------------------------------------------------------------------------- /chapter15/section2/check_mc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/check_mc.py -------------------------------------------------------------------------------- /chapter15/section2/flake8-mc/flake8_mc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/flake8-mc/flake8_mc.py -------------------------------------------------------------------------------- /chapter15/section2/flake8-mc/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/flake8-mc/setup.py -------------------------------------------------------------------------------- /chapter15/section2/movie_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/movie_order.py -------------------------------------------------------------------------------- /chapter15/section2/movie_order_wrong.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/movie_order_wrong.py -------------------------------------------------------------------------------- /chapter15/section2/non_ascii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/non_ascii.py -------------------------------------------------------------------------------- /chapter15/section2/pylint_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/pylint_example.py -------------------------------------------------------------------------------- /chapter15/section2/stubs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/stubs.py -------------------------------------------------------------------------------- /chapter15/section2/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter15/section2/test.py -------------------------------------------------------------------------------- /chapter2/section2/create-venv-script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter2/section2/create-venv-script.py -------------------------------------------------------------------------------- /chapter2/section2/create-venv-script_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter2/section2/create-venv-script_v2.py -------------------------------------------------------------------------------- /chapter2/section2/pyvenv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter2/section2/pyvenv.py -------------------------------------------------------------------------------- /chapter3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter3/section1/app_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_api.py -------------------------------------------------------------------------------- /chapter3/section1/app_bp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_bp.py -------------------------------------------------------------------------------- /chapter3/section1/app_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_cli.py -------------------------------------------------------------------------------- /chapter3/section1/app_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_response.py -------------------------------------------------------------------------------- /chapter3/section1/app_subdomain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_subdomain.py -------------------------------------------------------------------------------- /chapter3/section1/app_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_view.py -------------------------------------------------------------------------------- /chapter3/section1/app_with_custom_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/app_with_custom_converter.py -------------------------------------------------------------------------------- /chapter3/section1/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/config.py -------------------------------------------------------------------------------- /chapter3/section1/debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/debug.py -------------------------------------------------------------------------------- /chapter3/section1/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/hello.py -------------------------------------------------------------------------------- /chapter3/section1/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/simple.py -------------------------------------------------------------------------------- /chapter3/section1/url.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/url.py -------------------------------------------------------------------------------- /chapter3/section1/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section1/user.py -------------------------------------------------------------------------------- /chapter3/section3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter3/section3/app_with_sqlalchemy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/app_with_sqlalchemy.py -------------------------------------------------------------------------------- /chapter3/section3/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/config.py -------------------------------------------------------------------------------- /chapter3/section3/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/consts.py -------------------------------------------------------------------------------- /chapter3/section3/curd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/curd.py -------------------------------------------------------------------------------- /chapter3/section3/example1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/example1.py -------------------------------------------------------------------------------- /chapter3/section3/exp_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/exp_sql.py -------------------------------------------------------------------------------- /chapter3/section3/ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/ext.py -------------------------------------------------------------------------------- /chapter3/section3/logger_slow_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/logger_slow_query.py -------------------------------------------------------------------------------- /chapter3/section3/orm_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/orm_sql.py -------------------------------------------------------------------------------- /chapter3/section3/raw_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/raw_sql.py -------------------------------------------------------------------------------- /chapter3/section3/rel_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/rel_sql.py -------------------------------------------------------------------------------- /chapter3/section3/text_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/text_sql.py -------------------------------------------------------------------------------- /chapter3/section3/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section3/users.py -------------------------------------------------------------------------------- /chapter3/section4/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/app.py -------------------------------------------------------------------------------- /chapter3/section4/app_with_local_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/app_with_local_proxy.py -------------------------------------------------------------------------------- /chapter3/section4/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/config.py -------------------------------------------------------------------------------- /chapter3/section4/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/consts.py -------------------------------------------------------------------------------- /chapter3/section4/ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/ext.py -------------------------------------------------------------------------------- /chapter3/section4/local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/local.py -------------------------------------------------------------------------------- /chapter3/section4/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section4/users.py -------------------------------------------------------------------------------- /chapter3/section5/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter3/section5/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section5/app.py -------------------------------------------------------------------------------- /chapter3/section5/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section5/config.py -------------------------------------------------------------------------------- /chapter3/section5/ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section5/ext.py -------------------------------------------------------------------------------- /chapter3/section5/mimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section5/mimes.py -------------------------------------------------------------------------------- /chapter3/section5/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section5/models.py -------------------------------------------------------------------------------- /chapter3/section5/requirements.txt: -------------------------------------------------------------------------------- 1 | python-magic==0.4.10 2 | Pillow==8.3.2 3 | cropresize2==0.1.9 4 | short-url==1.2.1 5 | -------------------------------------------------------------------------------- /chapter3/section5/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter3/section5/utils.py -------------------------------------------------------------------------------- /chapter4/section1/blinker_signal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section1/blinker_signal.py -------------------------------------------------------------------------------- /chapter4/section1/login_signal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section1/login_signal.py -------------------------------------------------------------------------------- /chapter4/section2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter4/section2/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app.py -------------------------------------------------------------------------------- /chapter4/section2/app_admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_admin.py -------------------------------------------------------------------------------- /chapter4/section2/app_assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_assets.py -------------------------------------------------------------------------------- /chapter4/section2/app_debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_debug.py -------------------------------------------------------------------------------- /chapter4/section2/app_migrate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_migrate.py -------------------------------------------------------------------------------- /chapter4/section2/app_restful.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_restful.py -------------------------------------------------------------------------------- /chapter4/section2/app_security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_security.py -------------------------------------------------------------------------------- /chapter4/section2/app_wtf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/app_wtf.py -------------------------------------------------------------------------------- /chapter4/section2/assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/assets.py -------------------------------------------------------------------------------- /chapter4/section2/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/config.py -------------------------------------------------------------------------------- /chapter4/section2/ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/ext.py -------------------------------------------------------------------------------- /chapter4/section2/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/manage.py -------------------------------------------------------------------------------- /chapter4/section2/mimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/mimes.py -------------------------------------------------------------------------------- /chapter4/section2/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/models.py -------------------------------------------------------------------------------- /chapter4/section2/static/css/all.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/css/all.min.css -------------------------------------------------------------------------------- /chapter4/section2/static/css/base-min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/css/base-min.css -------------------------------------------------------------------------------- /chapter4/section2/static/css/buttons-min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/css/buttons-min.css -------------------------------------------------------------------------------- /chapter4/section2/static/js/all.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/js/all.min.js -------------------------------------------------------------------------------- /chapter4/section2/static/js/src/click.es6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/js/src/click.es6 -------------------------------------------------------------------------------- /chapter4/section2/static/js/src/common.js: -------------------------------------------------------------------------------- 1 | console.log('In common'); 2 | -------------------------------------------------------------------------------- /chapter4/section2/static/js/src/highlight.js: -------------------------------------------------------------------------------- 1 | console.log('In highlight'); 2 | -------------------------------------------------------------------------------- /chapter4/section2/static/js/vendor/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/js/vendor/jquery.min.js -------------------------------------------------------------------------------- /chapter4/section2/static/scss/common.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/scss/common.scss -------------------------------------------------------------------------------- /chapter4/section2/static/scss/forms.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/static/scss/forms.scss -------------------------------------------------------------------------------- /chapter4/section2/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/templates/index.html -------------------------------------------------------------------------------- /chapter4/section2/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/users.py -------------------------------------------------------------------------------- /chapter4/section2/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section2/utils.py -------------------------------------------------------------------------------- /chapter4/section3/app_dispatcher_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/app_dispatcher_middleware.py -------------------------------------------------------------------------------- /chapter4/section3/app_lint_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/app_lint_middleware.py -------------------------------------------------------------------------------- /chapter4/section3/app_profiler_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/app_profiler_middleware.py -------------------------------------------------------------------------------- /chapter4/section3/app_share_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/app_share_middleware.py -------------------------------------------------------------------------------- /chapter4/section3/app_tornado.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/app_tornado.py -------------------------------------------------------------------------------- /chapter4/section3/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/config.py -------------------------------------------------------------------------------- /chapter4/section3/hashed_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter4/section3/hashed_user.py -------------------------------------------------------------------------------- /chapter4/section3/static/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter5/section3/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter5/section3/app.py -------------------------------------------------------------------------------- /chapter6/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter6/section1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter6/section1/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section1/app.py -------------------------------------------------------------------------------- /chapter6/section1/gevent_wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section1/gevent_wsgi.py -------------------------------------------------------------------------------- /chapter6/section1/tornado_wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section1/tornado_wsgi.py -------------------------------------------------------------------------------- /chapter6/section2/nginx_gunicorn.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section2/nginx_gunicorn.conf -------------------------------------------------------------------------------- /chapter6/section2/nginx_uwsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section2/nginx_uwsgi.conf -------------------------------------------------------------------------------- /chapter6/section3/app_with_mc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section3/app_with_mc.py -------------------------------------------------------------------------------- /chapter6/section3/mc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section3/mc.py -------------------------------------------------------------------------------- /chapter6/section3/mc_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section3/mc_decorator.py -------------------------------------------------------------------------------- /chapter6/section4/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter6/section4/lastest_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section4/lastest_files.py -------------------------------------------------------------------------------- /chapter6/section4/lastest_files_with_msgpack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section4/lastest_files_with_msgpack.py -------------------------------------------------------------------------------- /chapter6/section4/top_n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section4/top_n.py -------------------------------------------------------------------------------- /chapter6/section4/user_active.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section4/user_active.py -------------------------------------------------------------------------------- /chapter6/section5/haproxy.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section5/haproxy.cfg -------------------------------------------------------------------------------- /chapter6/section5/rsyslog_haproxy.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section5/rsyslog_haproxy.conf -------------------------------------------------------------------------------- /chapter6/section6/keepalived_lvs_director_primary.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section6/keepalived_lvs_director_primary.conf -------------------------------------------------------------------------------- /chapter6/section6/keepalived_lvs_director_secondary.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section6/keepalived_lvs_director_secondary.conf -------------------------------------------------------------------------------- /chapter6/section6/keepalived_lvs_primary.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter6/section6/keepalived_ngx_primary.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section6/keepalived_ngx_primary.conf -------------------------------------------------------------------------------- /chapter6/section6/keepalived_ngx_secondary.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section6/keepalived_ngx_secondary.conf -------------------------------------------------------------------------------- /chapter6/section7/default.vcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section7/default.vcl -------------------------------------------------------------------------------- /chapter6/section7/error50x.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section7/error50x.html -------------------------------------------------------------------------------- /chapter6/section7/varnish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section7/varnish -------------------------------------------------------------------------------- /chapter6/section8/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter6/section8/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/app.py -------------------------------------------------------------------------------- /chapter6/section8/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/config.py -------------------------------------------------------------------------------- /chapter6/section8/example_pymongo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/example_pymongo.py -------------------------------------------------------------------------------- /chapter6/section8/ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/ext.py -------------------------------------------------------------------------------- /chapter6/section8/mimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/mimes.py -------------------------------------------------------------------------------- /chapter6/section8/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/models.py -------------------------------------------------------------------------------- /chapter6/section8/mongodb.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/mongodb.service -------------------------------------------------------------------------------- /chapter6/section8/use_big_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/use_big_documents.py -------------------------------------------------------------------------------- /chapter6/section8/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter6/section8/utils.py -------------------------------------------------------------------------------- /chapter7/section1/listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section1/listener.py -------------------------------------------------------------------------------- /chapter7/section1/supervisord.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section1/supervisord.conf -------------------------------------------------------------------------------- /chapter7/section1/supervisord_global.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section1/supervisord_global.conf -------------------------------------------------------------------------------- /chapter7/section1/supervisord_global2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section1/supervisord_global2.conf -------------------------------------------------------------------------------- /chapter7/section2/fabfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section2/fabfile.py -------------------------------------------------------------------------------- /chapter7/section2/fabfile_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section2/fabfile_app.py -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/jenkins/host_vars/192.168.0.130: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/jenkins/host_vars/192.168.0.130 -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/jenkins/jenkins.host: -------------------------------------------------------------------------------- 1 | [jenkins] 2 | 192.168.0.130 -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/jenkins/jenkins.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/jenkins/jenkins.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/redis/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/redis/main.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/redis/templates/redis-server.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/redis/templates/redis-server.service -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/redis/templates/redis.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/redis/templates/redis.conf.j2 -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/redis/templates/upstart.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/redis/templates/upstart.conf -------------------------------------------------------------------------------- /chapter7/section3/ansible/dev/redis/vars.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/dev/redis/vars.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/.gitignore -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/LICENCE -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/README.md -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/defaults/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/defaults/main.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/files/jenkins-ci.org.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/files/jenkins-ci.org.key -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/handlers/main.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Sat Apr 2 15:38:48 2016', version: v1.0.0} 2 | -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/meta/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/meta/main.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/meta/main.yml.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/meta/main.yml.sample -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/cli.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/cli.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/config.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/dependencies_deb.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/dependencies_deb.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/jenkins.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/jenkins.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/main.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/plugins.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/plugins.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/tasks/repo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/tasks/repo.yml -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/templates/hudson.tasks.Mailer.xml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/templates/hudson.tasks.Mailer.xml.j2 -------------------------------------------------------------------------------- /chapter7/section3/ansible/roles/flyapen.jenkins/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/ansible/roles/flyapen.jenkins/vars/main.yml -------------------------------------------------------------------------------- /chapter7/section3/pillar/packages.sls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/pillar/packages.sls -------------------------------------------------------------------------------- /chapter7/section3/pillar/redis.sls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/pillar/redis.sls -------------------------------------------------------------------------------- /chapter7/section3/pillar/top.sls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/pillar/top.sls -------------------------------------------------------------------------------- /chapter7/section3/salt/dev/redis/common.sls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/salt/dev/redis/common.sls -------------------------------------------------------------------------------- /chapter7/section3/salt/dev/redis/files/redis-2.8.conf.jinja: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/salt/dev/redis/files/redis-2.8.conf.jinja -------------------------------------------------------------------------------- /chapter7/section3/salt/dev/redis/files/redis-3.0.conf.jinja: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/salt/dev/redis/files/redis-3.0.conf.jinja -------------------------------------------------------------------------------- /chapter7/section3/salt/dev/redis/init.sls: -------------------------------------------------------------------------------- 1 | include: 2 | - redis.server -------------------------------------------------------------------------------- /chapter7/section3/salt/dev/redis/map.jinja: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/salt/dev/redis/map.jinja -------------------------------------------------------------------------------- /chapter7/section3/salt/dev/redis/server.sls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/salt/dev/redis/server.sls -------------------------------------------------------------------------------- /chapter7/section3/salt/top.sls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section3/salt/top.sls -------------------------------------------------------------------------------- /chapter7/section5/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter7/section5/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section5/app.py -------------------------------------------------------------------------------- /chapter7/section7/op: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section7/op -------------------------------------------------------------------------------- /chapter7/section7/portforwarder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter7/section7/portforwarder.py -------------------------------------------------------------------------------- /chapter8/section1/doc_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section1/doc_test.py -------------------------------------------------------------------------------- /chapter8/section1/ut_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section1/ut_case.py -------------------------------------------------------------------------------- /chapter8/section1/ut_suite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section1/ut_suite.py -------------------------------------------------------------------------------- /chapter8/section1/ut_suite_with_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section1/ut_suite_with_case.py -------------------------------------------------------------------------------- /chapter8/section2/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section2/client.py -------------------------------------------------------------------------------- /chapter8/section2/test_mock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section2/test_mock.py -------------------------------------------------------------------------------- /chapter8/section2/test_pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section2/test_pytest.py -------------------------------------------------------------------------------- /chapter8/section3/requirements.txt: -------------------------------------------------------------------------------- 1 | flake8==2.5.1 2 | -------------------------------------------------------------------------------- /chapter8/section3/tests/test_pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section3/tests/test_pytest.py -------------------------------------------------------------------------------- /chapter8/section3/tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter8/section3/tox.ini -------------------------------------------------------------------------------- /chapter9/section2/amqp_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section2/amqp_consumer.py -------------------------------------------------------------------------------- /chapter9/section2/amqp_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section2/amqp_producer.py -------------------------------------------------------------------------------- /chapter9/section2/amqp_producer_with_confirm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section2/amqp_producer_with_confirm.py -------------------------------------------------------------------------------- /chapter9/section3/celery_socketio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/celery_socketio.py -------------------------------------------------------------------------------- /chapter9/section3/proj/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter9/section3/proj/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/proj/app.py -------------------------------------------------------------------------------- /chapter9/section3/proj/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/proj/celery.py -------------------------------------------------------------------------------- /chapter9/section3/proj/celeryconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/proj/celeryconfig.py -------------------------------------------------------------------------------- /chapter9/section3/proj/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/proj/tasks.py -------------------------------------------------------------------------------- /chapter9/section3/projb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter9/section3/projb/celery: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter9/section3/projb/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/projb/celery.py -------------------------------------------------------------------------------- /chapter9/section3/projb/celeryconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/projb/celeryconfig.py -------------------------------------------------------------------------------- /chapter9/section3/projb/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/projb/tasks.py -------------------------------------------------------------------------------- /chapter9/section3/projq/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter9/section3/projq/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/projq/celery.py -------------------------------------------------------------------------------- /chapter9/section3/projq/celeryconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/projq/celeryconfig.py -------------------------------------------------------------------------------- /chapter9/section3/projq/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section3/projq/tasks.py -------------------------------------------------------------------------------- /chapter9/section4/kombu_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/kombu_consumer.py -------------------------------------------------------------------------------- /chapter9/section4/kombu_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/kombu_producer.py -------------------------------------------------------------------------------- /chapter9/section4/librabbitmq_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/librabbitmq_consumer.py -------------------------------------------------------------------------------- /chapter9/section4/librabbitmq_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/librabbitmq_producer.py -------------------------------------------------------------------------------- /chapter9/section4/proj/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter9/section4/proj/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/proj/app.py -------------------------------------------------------------------------------- /chapter9/section4/proj/celery: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter9/section4/proj/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/proj/celery.py -------------------------------------------------------------------------------- /chapter9/section4/proj/celeryconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/proj/celeryconfig.py -------------------------------------------------------------------------------- /chapter9/section4/proj/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/chapter9/section4/proj/tasks.py -------------------------------------------------------------------------------- /data/dump.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/data/dump.zip -------------------------------------------------------------------------------- /data/fake_useragent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/data/fake_useragent.json -------------------------------------------------------------------------------- /databases/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/databases/schema.sql -------------------------------------------------------------------------------- /errata.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/errata.md -------------------------------------------------------------------------------- /setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/setup.md -------------------------------------------------------------------------------- /static/img/arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/img/arrow.svg -------------------------------------------------------------------------------- /static/img/audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/img/audio.png -------------------------------------------------------------------------------- /static/img/binary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/img/binary.png -------------------------------------------------------------------------------- /static/img/link.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/img/link.svg -------------------------------------------------------------------------------- /static/img/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/img/pdf.png -------------------------------------------------------------------------------- /static/img/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/img/video.png -------------------------------------------------------------------------------- /static/javascripts/fetch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/javascripts/fetch.js -------------------------------------------------------------------------------- /static/javascripts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/javascripts/index.js -------------------------------------------------------------------------------- /static/javascripts/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/javascripts/jquery.min.js -------------------------------------------------------------------------------- /static/javascripts/success.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/javascripts/success.js -------------------------------------------------------------------------------- /static/javascripts/vendors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/javascripts/vendors.js -------------------------------------------------------------------------------- /static/stylesheets/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/stylesheets/bootstrap.min.css -------------------------------------------------------------------------------- /static/stylesheets/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/static/stylesheets/index.css -------------------------------------------------------------------------------- /templates/chapter11/section4/csv.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter11/section4/csv.html -------------------------------------------------------------------------------- /templates/chapter3/section1/users.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section1/users.html -------------------------------------------------------------------------------- /templates/chapter3/section2/jinja2/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/jinja2/base.html -------------------------------------------------------------------------------- /templates/chapter3/section2/jinja2/hello.html: -------------------------------------------------------------------------------- 1 | Hello {{ name }} 2 | -------------------------------------------------------------------------------- /templates/chapter3/section2/jinja2/hello_macro.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/jinja2/hello_macro.html -------------------------------------------------------------------------------- /templates/chapter3/section2/jinja2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/jinja2/index.html -------------------------------------------------------------------------------- /templates/chapter3/section2/jinja2/macro.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/jinja2/macro.html -------------------------------------------------------------------------------- /templates/chapter3/section2/jinja2/simple.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/jinja2/simple.html -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/mako/base.html -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/hello.mako: -------------------------------------------------------------------------------- 1 | Hello ${name} 2 | -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/mako/index.html -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/my_filters.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/mako/my_filters.html -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/page_filters.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/mako/page_filters.html -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/simple.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/mako/simple.html -------------------------------------------------------------------------------- /templates/chapter3/section2/mako/utils.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section2/mako/utils.html -------------------------------------------------------------------------------- /templates/chapter3/section4/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section4/user.html -------------------------------------------------------------------------------- /templates/chapter3/section5/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter3/section5/hello.html -------------------------------------------------------------------------------- /templates/chapter3/section5/test.plim: -------------------------------------------------------------------------------- 1 | /! This is HTML Comment 2 | -------------------------------------------------------------------------------- /templates/chapter4/section2/authenticated-admin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter4/section2/authenticated-admin.html -------------------------------------------------------------------------------- /templates/chapter4/section2/login_user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter4/section2/login_user.html -------------------------------------------------------------------------------- /templates/chapter4/section2/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter4/section2/register.html -------------------------------------------------------------------------------- /templates/chapter5/section3/signin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter5/section3/signin.html -------------------------------------------------------------------------------- /templates/chapter5/section3/signin_fetch.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter5/section3/signin_fetch.html -------------------------------------------------------------------------------- /templates/chapter5/section3/signin_xhr.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter5/section3/signin_xhr.html -------------------------------------------------------------------------------- /templates/chapter9/section3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/chapter9/section3/index.html -------------------------------------------------------------------------------- /templates/r/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/r/index.html -------------------------------------------------------------------------------- /templates/r/success.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongweiming/web_develop/HEAD/templates/r/success.html --------------------------------------------------------------------------------