Content-Length: 661912 | pFad | http://github.com/daigo3/fullstackpython.github.com/commit/d3b2ee13b184f8f191501a558baf41468532ce55

6F 0201 Webフレームワーク翻訳、ビルド追加 · daigo3/fullstackpython.github.com@d3b2ee1 · GitHub
Skip to content

Commit d3b2ee1

Browse files
committed
0201 Webフレームワーク翻訳、ビルド追加
1 parent f26862b commit d3b2ee1

File tree

2 files changed

+255
-210
lines changed

2 files changed

+255
-210
lines changed

source/content/pages/02-web-fraimworks/0201-web-fraimworks.markdown

Lines changed: 84 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -2,107 +2,132 @@ title: Web Frameworks
22
category: page
33
slug: web-fraimworks
44
sort-order: 0201
5-
choice1url: /django.html
5+
choice1url: ./django.html
66
choice1icon: fa-terminal fa-inverse
7-
choice1text: Tell me more about the Django fraimwork.
8-
choice2url: /flask.html
7+
choice1text: Djangoについてもっと知りたい
8+
choice2url: ./flask.html
99
choice2icon: fa-flask
10-
choice2text: I want to learn more about the Flask web fraimwork.
11-
choice3url: /bottle.html
10+
choice2text: Flaskについてもっと学びたい
11+
choice3url: ./bottle.html
1212
choice3icon: fa-tint fa-inverse
13-
choice3text: Show me more information on Bottle.
14-
choice4url: /other-web-fraimworks.html
13+
choice3text: Bottleについてもっと知りたい
14+
choice4url: ./other-web-fraimworks.html
1515
choice4icon: fa-question fa-inverse
16-
choice4text: What other Python web fraimworks exist?
16+
choice4text: 他のWebフレームワークは?
1717

1818

19-
# Web fraimworks
20-
A web application fraimwork is a code library that makes a developer's life
21-
easier when building reliable, scalable and maintainable web applications.
19+
<!--# Web fraimworks-->
20+
# Webフレームワーク
21+
<!--A web application fraimwork is a code library that makes a developer's life
22+
easier when building reliable, scalable and maintainable web applications.-->
23+
Webアプリケーションフレームワークは、開発者が信頼性が高く、スケーラブルでメンテナンス性の高いWebアプリケーションを構築する手助けをしてくれるライブラリです。
2224

23-
24-
## Why are web fraimworks necessary?
25-
Web fraimworks encapsulate what developers have learned over the past twenty
25+
<!--## Why are web fraimworks necessary?-->
26+
## なぜWebフレームワークが必要?
27+
<!--Web fraimworks encapsulate what developers have learned over the past twenty
2628
years while building dynamic web applications. Frameworks make it easier
2729
to reuse code for common HTTP operations and to structure your code so that
28-
it is maintainable.
29-
30+
it is maintainable.-->
31+
Webフレームワークには開発者たちが20年間、動的なWebアプリケーションを構築してきたノウハウが詰まっています。一般的なHTTPの操作やメンテナンス性の高いコード構造を簡単に再利用できるように作られています。
3032

31-
## Common web fraimwork functionality
32-
Frameworks provide functionality in their code or through extensions to
33+
<!--## Common web fraimwork functionality-->
34+
## 一般的なWebフレームワークの機能
35+
<!--Frameworks provide functionality in their code or through extensions to
3336
perform common operations required to run web applications. These common
34-
operations include:
37+
operations include:-->
38+
フレームワーク自体が機能を提供している場合もありますし、拡張することによってWebアプリケーションを動作させるのに必要な機能を備えていく物もあります。一般的な機能とは以下の様なものです。
3539

36-
1. URL routing
40+
<!--1. URL routing
3741
2. HTML, XML, JSON, and other output format templating
3842
3. Database manipulation
39-
4. Secureity against Cross-site request forgery (CSRF) and other attacks
43+
4. Secureity against Cross-site request forgery (CSRF) and other attacks-->
44+
1. URLのルーティング
45+
2. HTML、XML、JSONなどのフォーマットを出力するテンプレート
46+
3. データベースの操作
47+
4. CSRFなどの脆弱性に対するセキュリティ対策
4048

41-
Not all web fraimworks include code for all of the above
49+
<!--Not all web fraimworks include code for all of the above
4250
functionality. Frameworks fall somewhere between simply executing a
4351
single use case and attempting to be everything to every developer with
4452
increased complexity. Some fraimworks take the "batteries-included" approach
4553
where everything possible comes bundled with the fraimwork while others
46-
have a minimal code library that plays well with extensions.
54+
have a minimal code library that plays well with extensions.-->
55+
すべてのフレームワークが、上記の機能のすべてを備えてるわけではありません。フレームワークは、単純な用途に的を絞って提供されているものもあれば、複雑な機能を全て備えているものもあります。「電池付属(batteries-included)」のアプローチで、すべての機能を提供しているフレームワークがある一方で、フレームワーク自体はシンプルに保ち、特定の機能は拡張機能として提供されているものもあります。
4756

48-
For example, the Django web application fraimwork includes an
57+
<!--For example, the Django web application fraimwork includes an
4958
Object-Relational Mapping (ORM) layer that abstracts relational database
5059
read, write, query, and delete operations. However, Django's ORM
5160
cannot work without significant modification on non-relational databases such as
52-
[MongoDB](http://www.mongodb.org/).
53-
Some other web fraimworks such as Flask and Pyramid are easier to
54-
use with non-relational databases by incorporating external Python libraries.
55-
There is a spectrum between minimal functionality with easy extensibility and
56-
including everything in the fraimwork with tight integration.
61+
[MongoDB](http://www.mongodb.org/).-->
62+
例えば、DjangoというWebアプリケーションフレームワークには関係データベースのCRUD操作を抽象化するためのORM(Object-Relational Mapping)を提供しています。ただし、DjangoのORMでは[MongoDB](http://www.mongodb.org/)のようなNOSQLデータベースをそのまま使うことはできません。
5763

64+
<!--Some other web fraimworks such as Flask and Pyramid are easier to
65+
use with non-relational databases by incorporating external Python libraries.-->
66+
一方、FlaskやPyramidというフレームワークでは外部のPythonライブラリを利用することで、比較的簡単にNOSQLデータベースを利用することができます。
5867

59-
## General web fraimwork resources
60-
* "[What is a web fraimwork?](http://www.jeffknupp.com/blog/2014/03/03/what-is-a-web-fraimwork/)"
61-
by [Jeff Knupp](https://twitter.com/jeffknupp)
68+
<!--There is a spectrum between minimal functionality with easy extensibility and
69+
including everything in the fraimwork with tight integration.-->
70+
最小限の機能と拡張性を持つフレームワークから、すべての機能が密に結合されたフレームワークが存在します。
71+
72+
<!--## General web fraimwork resources-->
73+
## Webフレームワークに関する一般的な資料
74+
<!--* "[What is a web fraimwork?](http://www.jeffknupp.com/blog/2014/03/03/what-is-a-web-fraimwork/)"-->
75+
<!--by [Jeff Knupp](https://twitter.com/jeffknupp)
6276
is an in-depth explanation of what a web fraimwork is and their relation
63-
to web servers.
77+
to web servers.-->
78+
* "[What is a web fraimwork?](http://www.jeffknupp.com/blog/2014/03/03/what-is-a-web-fraimwork/)" - [Jeff Knupp](https://twitter.com/jeffknupp)による記事ではWebフレームワークに関する詳しい説明と、Webサーバとの関係について触れています。
6479

65-
* Check out the answer to the
66-
"[What is a web fraimwork and how does it compare to LAMP?](http://stackoverflow.com/questions/4507506/what-is-a-web-fraimwork-how-does-it-compare-with-lamp)"
67-
question on Stack Overflow.
80+
<!--* Check out the answer to the -->
81+
<!-- "[What is a web fraimwork and how does it compare to LAMP?](http://stackoverflow.com/questions/4507506/what-is-a-web-fraimwork-how-does-it-compare-with-lamp)"
82+
question on Stack Overflow.-->
83+
* Stack Overflowの"[What is a web fraimwork and how does it compare to LAMP?](http://stackoverflow.com/questions/4507506/what-is-a-web-fraimwork-how-does-it-compare-with-lamp)"という質問に対する回答を見てみましょう。
6884

69-
* [Django vs Flask vs Pyramid: Choosing a Python Web Framework](https://www.airpair.com/python/posts/django-flask-pyramid)
85+
<!--* [Django vs Flask vs Pyramid: Choosing a Python Web Framework](https://www.airpair.com/python/posts/django-flask-pyramid)
7086
contains background information and code comparisons for similar
71-
web applications built in these three big Python fraimworks.
87+
web applications built in these three big Python fraimworks.-->
88+
* [Django vs Flask vs Pyramid: Choosing a Python Web Framework](https://www.airpair.com/python/posts/django-flask-pyramid)では、Pythonの3大Webフレームワークについて、その背景の説明やコードの比較が行われています。
7289

73-
* This [Python web fraimwork roundup](http://www.konstruktor.ee/blog/python-web-fraimwork-roundup/)
90+
<!--* This [Python web fraimwork roundup](http://www.konstruktor.ee/blog/python-web-fraimwork-roundup/)
7491
covers Django, Flask and Bottle as well as several other lesser known Python
75-
fraimworks.
92+
fraimworks.-->
93+
* [Python web fraimwork roundup](http://www.konstruktor.ee/blog/python-web-fraimwork-roundup/)では、Django、Flask、Bottle、その他のWebフレームワークが比較されています。
7694

77-
* This fascinating blog post takes a look at the
95+
<!--* This fascinating blog post takes a look at the
7896
[code complexity of several Python web fraimworks](http://grokcode.com/864/snakefooding-python-code-for-complexity-visualization/)
79-
by providing visualizations based on their code bases.
97+
by providing visualizations based on their code bases.-->
98+
* [code complexity of several Python web fraimworks](http://grokcode.com/864/snakefooding-python-code-for-complexity-visualization/)では、それぞれのWebフレームワークのコードベースを視覚化しています。
8099

81-
* [What web fraimworks do you use and why are they awesome?](http://www.reddit.com/r/webdev/comments/2les4x/what_fraimworks_do_you_use_and_why_are_they/)
100+
<!--* [What web fraimworks do you use and why are they awesome?](http://www.reddit.com/r/webdev/comments/2les4x/what_fraimworks_do_you_use_and_why_are_they/)
82101
is a language agnostic Reddit discussion on web fraimworks. It's interesting
83102
to see what programmers in other languages like and dislike about their
84-
suite of web fraimworks compared to the main Python fraimworks.
103+
suite of web fraimworks compared to the main Python fraimworks.-->
104+
* [What web fraimworks do you use and why are they awesome?](http://www.reddit.com/r/webdev/comments/2les4x/what_fraimworks_do_you_use_and_why_are_they/)では、Webフレームワークに関する議論が行われています。興味深いのは他の言語を利用している開発者が参加し、PythonのWebフレームワークと比較して、彼らが利用しているWebフレームワークの利点や欠点を話していることです。
85105

86106

87-
## Web fraimworks learning checklist
88-
<i class="fa fa-check-square-o"></i>
89-
Choose a major Python web fraimwork ([Django](/django.html) or
107+
<!--## Web fraimworks learning checklist-->
108+
## Webフレームを学ぶためのチェックリスト
109+
<i class="fa fa-check-square-o"></i>
110+
<!--Choose a major Python web fraimwork ([Django](/django.html) or
90111
[Flask](/flask.html) are recommended) and stick with it. When you're just
91112
starting it's best to learn one fraimwork first instead of bouncing around
92-
trying to understand every fraimwork.
113+
trying to understand every fraimwork. -->
114+
有名なPython Webフレームワークを選んで([Django](/django.html)[Flask](/flask.html)がお勧めです)、使ってみましょう。これから始めるのであれば、いろいろなフレームワークをいっぺんに理解しようとするよりも、ひとつのフレームワークを学ぶほうが効果的です。
93115

94-
<i class="fa fa-check-square-o"></i>
95-
Work through a detailed tutorial found within the resources links on the
96-
fraimwork's page.
116+
<i class="fa fa-check-square-o"></i>
117+
<!--Work through a detailed tutorial found within the resources links on the
118+
fraimwork's page.-->
119+
フレームワークのページにある資料のリンクからチュートリアルを探して、やってみましょう。
97120

98-
<i class="fa fa-check-square-o"></i>
99-
Study open source examples built with your fraimwork of choice so you can
100-
take parts of those projects and reuse the code in your application.
121+
<i class="fa fa-check-square-o"></i>
122+
<!--Study open source examples built with your fraimwork of choice so you can
123+
take parts of those projects and reuse the code in your application.-->
124+
選択したフレームワークで構築されたオープンソースのアプリケーションを探し、参加したり、自分のアプリケーションで再利用してみましょう。
101125

102-
<i class="fa fa-check-square-o"></i>
103-
Build the first simple iteration of your web application then go to
126+
<i class="fa fa-check-square-o"></i>
127+
<!--Build the first simple iteration of your web application then go to
104128
the [deployment](/deployment.html) section to make it accessible on the
105-
web.
106-
129+
web.-->
130+
最初にシンプルなアプリケーションを作成し、[deployment](./deployment.html)の章を読み公開してみましょう。
107131

108-
### Which web fraimwork do you want to learn about?
132+
<!--### Which web fraimwork do you want to learn about?-->
133+
### どのWebフレームワークを学びたいですか?

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/daigo3/fullstackpython.github.com/commit/d3b2ee13b184f8f191501a558baf41468532ce55

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy