mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
update wikipedia link (#19464)
This commit is contained in:
@ -296,7 +296,7 @@ Plus tard, si vous changez d'avis à propos de la taille de ces vignettes, il vo
|
|||||||
Cette propriété spécifie la langue dans laquelle l'application est écrite. La valeur par défaut est `'en-US'`,
|
Cette propriété spécifie la langue dans laquelle l'application est écrite. La valeur par défaut est `'en-US'`,
|
||||||
pour (anglais — États-Unis). Vous devriez configurer cette propriété si les textes dans votre code ne sont pas en anglais US.
|
pour (anglais — États-Unis). Vous devriez configurer cette propriété si les textes dans votre code ne sont pas en anglais US.
|
||||||
|
|
||||||
Comme pour la propriété [language (langue)](#language), vous devez configurer cette propriété à l'aide d'une [étiquette IETF d'identification de langue](http://en.wikipedia.org/wiki/IETF_language_tag). Par exemple, `en` signifie `anglais`,
|
Comme pour la propriété [language (langue)](#language), vous devez configurer cette propriété à l'aide d'une [étiquette IETF d'identification de langue](https://en.wikipedia.org/wiki/IETF_language_tag). Par exemple, `en` signifie `anglais`,
|
||||||
tandis que `en-US` signifie for `anglais-États-Unis`).
|
tandis que `en-US` signifie for `anglais-États-Unis`).
|
||||||
|
|
||||||
Pour plus d'informations sur cette propriété, reportez-vous à la section [Internationalisation](tutorial-i18n.md).
|
Pour plus d'informations sur cette propriété, reportez-vous à la section [Internationalisation](tutorial-i18n.md).
|
||||||
|
@ -63,7 +63,7 @@ basic/ アプリケーションのベース・パス
|
|||||||
一般に、アプリケーションのファイルは二種類に分けることが出来ます。すなわち、`basic/web` の下にあるファイルとその他のディレクトリの下にあるファイルです。
|
一般に、アプリケーションのファイルは二種類に分けることが出来ます。すなわち、`basic/web` の下にあるファイルとその他のディレクトリの下にあるファイルです。
|
||||||
前者は HTTP で (すなわちブラウザで) 直接にアクセスすることが出来ますが、後者は直接のアクセスは出来ませんし、許可すべきでもありません。
|
前者は HTTP で (すなわちブラウザで) 直接にアクセスすることが出来ますが、後者は直接のアクセスは出来ませんし、許可すべきでもありません。
|
||||||
|
|
||||||
Yii は [モデル・ビュー・コントローラ (MVC)](http://wikipedia.org/wiki/Model-view-controller) アーキテクチャ・パターンを実装していますが、
|
Yii は [モデル・ビュー・コントローラ (MVC)](https://wikipedia.org/wiki/Model-view-controller) アーキテクチャ・パターンを実装していますが、
|
||||||
それが上記のディレクトリ構成にも反映されています。
|
それが上記のディレクトリ構成にも反映されています。
|
||||||
`models` ディレクトリが全ての [モデル・クラス](structure-models.md) を格納し、`views` ディレクトリが全ての [ビュー・スクリプト](structure-views.md) を格納し、
|
`models` ディレクトリが全ての [モデル・クラス](structure-models.md) を格納し、`views` ディレクトリが全ての [ビュー・スクリプト](structure-views.md) を格納し、
|
||||||
`controllers` ディレクトリが全ての [コントローラ・クラス](structure-controllers.md) を格納しています。
|
`controllers` ディレクトリが全ての [コントローラ・クラス](structure-controllers.md) を格納しています。
|
||||||
|
@ -63,7 +63,7 @@ basic/ 应用根目录
|
|||||||
一般来说,应用中的文件可被分为两类:在 `basic/web` 下的和在其它目录下的。
|
一般来说,应用中的文件可被分为两类:在 `basic/web` 下的和在其它目录下的。
|
||||||
前者可以直接通过 HTTP 访问(例如浏览器),后者不能也不应该被直接访问。
|
前者可以直接通过 HTTP 访问(例如浏览器),后者不能也不应该被直接访问。
|
||||||
|
|
||||||
Yii 实现了[模型-视图-控制器 (MVC)](http://wikipedia.org/wiki/Model-view-controller)设计模式,这点在上述目录结构中也得以体现。
|
Yii 实现了[模型-视图-控制器 (MVC)](https://wikipedia.org/wiki/Model-view-controller)设计模式,这点在上述目录结构中也得以体现。
|
||||||
`models` 目录包含了所有[模型类](structure-models.md),
|
`models` 目录包含了所有[模型类](structure-models.md),
|
||||||
`views` 目录包含了所有[视图脚本](structure-views.md),
|
`views` 目录包含了所有[视图脚本](structure-views.md),
|
||||||
`controllers` 目录包含了所有[控制器类](structure-controllers.md)。
|
`controllers` 目录包含了所有[控制器类](structure-controllers.md)。
|
||||||
|
@ -427,7 +427,7 @@ Usage of other levels will result in an exception being thrown.
|
|||||||
specify the isolation level directly when starting the transaction.
|
specify the isolation level directly when starting the transaction.
|
||||||
You have to call [[yii\db\Transaction::setIsolationLevel()]] in this case after the transaction has started.
|
You have to call [[yii\db\Transaction::setIsolationLevel()]] in this case after the transaction has started.
|
||||||
|
|
||||||
[isolation levels]: http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels
|
[isolation levels]: https://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels
|
||||||
|
|
||||||
|
|
||||||
### Nesting Transactions <span id="nesting-transactions"></span>
|
### Nesting Transactions <span id="nesting-transactions"></span>
|
||||||
@ -477,7 +477,7 @@ try {
|
|||||||
|
|
||||||
## Replication and Read-Write Splitting <span id="read-write-splitting"></span>
|
## Replication and Read-Write Splitting <span id="read-write-splitting"></span>
|
||||||
|
|
||||||
Many DBMS support [database replication](http://en.wikipedia.org/wiki/Replication_(computing)#Database_replication)
|
Many DBMS support [database replication](https://en.wikipedia.org/wiki/Replication_(computing)#Database_replication)
|
||||||
to get better database availability and faster server response time. With database replication, data are replicated
|
to get better database availability and faster server response time. With database replication, data are replicated
|
||||||
from the so-called *master servers* to *slave servers*. All writes and updates must take place on the master servers,
|
from the so-called *master servers* to *slave servers*. All writes and updates must take place on the master servers,
|
||||||
while reads may also take place on the slave servers.
|
while reads may also take place on the slave servers.
|
||||||
|
Reference in New Issue
Block a user