1665 Commits

Author SHA1 Message Date
4afd9f112b Update structure-controllers.md
In MVC, the "M" is a model -layer-, and not just a collection of models. If we don't teach this to new users, they will quickly end up with heavily bloated model classes.

Maybe this deserves some attention in other introduction pages as well.

http://stackoverflow.com/questions/5863870/how-should-a-model-be-structured-in-mvc
2015-03-01 14:32:43 +01:00
876263931a docs/guide/test-overview.md - minor change [ci skip] 2015-03-01 13:48:52 +09:00
0efe621684 Adjusted nginx docs to match older packages provided by most OSes nowadays 2015-02-28 13:56:16 +03:00
03d55e35ac Update tutorial-core-validators.md
The maxSize validator validates in bytes, so the example was incorrect (it was 1GB instead of 1MB).
2015-02-26 16:18:03 +01:00
78c2bda0ff Update start-installation.md nginx config
Fixes the nginx configuration file which led to nginx: [emerg] unknown log format "main" in /etc/nginx/sites-enabled/a.luloapp.com:12 on nginx 1.6.2
2015-02-24 17:24:16 -05:00
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
8df025d752 Added example of caching when doing AR query. Fixes #7399 2015-02-23 20:39:36 +03:00
7333c65518 added note about currency format and locale
issue #7391
2015-02-23 13:18:46 +01:00
25d8697c38 docs/guide/tool small fixes [ci skip] 2015-02-23 20:45:27 +09:00
82036a9841 docs/guide/security-best-practices.md - small fix [ci skip] 2015-02-21 17:31:47 +09:00
b40f4261b6 docs/guide/concept-service-locator.md - missing closing paren [ci skip] 2015-02-21 10:31:15 +09:00
b9dea5be29 Added CsvDataProvider example to "Data providers"
Thanks, @creocoder
2015-02-21 02:50:24 +03:00
1088fd496d Added support to yii\di\Container to instantiate and configure an object that implements yii\base\Configurable. 2015-02-19 22:46:49 -05:00
c8e56d178b Added intro to CSRF to security-best-practices 2015-02-19 22:44:57 +03:00
0b135e7596 doc improvement [skip ci] 2015-02-18 20:52:21 -05:00
022898f094 Update structure-views.md
Is not needed
2015-02-18 21:44:48 +02:00
6e3bf09e35 Added example of hiding component creating in a class 2015-02-18 22:37:30 +03:00
a8bffdf036 doc improvement [skip ci] 2015-02-17 18:26:29 -05:00
fbead92d1b Correct typo in start-gii.md 2015-02-17 11:51:48 -05:00
690b6f7e6c 'Dividing asset bundles into group' docs added 2015-02-17 12:01:06 +02:00
b370d5da00 Better wording for Composer autoload optimization 2015-02-15 15:43:39 +03:00
0f259838b1 Adding Composer Auto loader Optimization Section 2015-02-14 21:10:41 +03:30
44e45a4039 Update start-forms.md 2015-02-13 11:56:18 +04:00
f8971c7644 Update security-best-practices.md
proerly -> properly
2015-02-11 15:57:01 -03:00
bfc84d0099 Update tutorial-i18n.md 2015-02-10 00:15:40 -02:00
5c167a74c1 docs/guide/concept-events.md - minor fix [ci skip] 2015-02-10 07:23:56 +09:00
9d59c47a8d Fixes #7121 2015-02-09 19:13:55 +03:00
c29a635b81 Update SiteController Documentation
This sitecontroller documentation can be improved. There are instances where you won't return in an email for Facebook (when someone registers via phone). In addition, you may not return a login as well therefore you get an error. I added a check to make sure that they returned. In my personal instance, I returned a message where they had to use another login/register method if it didn't have an email. I also used email as the login.
2015-02-09 00:05:05 -05:00
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
813f5c16eb Update db-dao.md
Removed table prefix sign, description of which is done in the next paragraph only.
2015-02-06 10:47:49 +07:00
d3bc0b3341 Fixes #7163 [skip ci] 2015-02-04 21:05:56 -05:00
032dbbe0e1 docs/guide/structure-views.md - fix [ci skip] 2015-01-31 11:48:46 +09:00
887b167e13 docs/guide/input-forms.md - minor improvements [ci skip] 2015-01-30 21:39:24 +09:00
0764e3f39a Update tutorial-advanced-app.md
Clearer instructions on what to look for in main-local.php when configuring the db param
2015-01-28 16:04:39 -08:00
0e84842789 adjust form guide structure
fixes #7042
2015-01-27 19:16:20 +01:00
55196dc869 update guide about tabular input forms
issue #7040
2015-01-27 11:41:25 +01:00
97e3df1626 finished first part of form guide 2015-01-27 10:28:00 +01:00
6023232df6 editing the guide
small punctation and syntax changes.
2015-01-26 19:00:45 +01:00
6a4dc8a4e8 adjust version composer-asset-plugin to 1.0.0 [ci skip]
close #7024
2015-01-26 13:40:15 +01:00
dee62967e0 adjusted url guide to match change in #7025 2015-01-26 13:31:13 +01:00
6940aecd04 Update runtime-routing.md: Fix url rule order
in previous example this
Url::to(['post/index', 'year' => 2014, 'category' => 'php']) 
will not create `/index.php/posts/2014/php` 
because it will be handled by first find rule 'posts' => 'post/index' and url will be '/index.php/posts?year=2014&category=php'
2015-01-26 14:22:15 +02:00
b227eff431 docs/guide/structure-controllers.md - fixed crosslink, typs [ci skip] 2015-01-26 07:54:47 +09:00
e2ef55a21f docs/guide/structure-applications.md - typo fixed [ci skip] 2015-01-26 07:54:46 +09:00
36bebbfefb use id instead of name for anchor references in the guide
fixes #7013
2015-01-25 22:13:16 +01:00
2c2fb70f94 Fixes #6998: Fixed model name in screenshots of Gii CRUD 2015-01-24 21:34:40 +03:00
5ab1d1a0d1 Fixes #6992. 2015-01-24 08:57:53 -05:00
d9fcfcb7d9 docs/guide/start-hello.md - typo fix [ci skip] 2015-01-24 11:17:34 +09:00
01910860c7 docs/guide/start-workflow.md - small fix [ci skip] 2015-01-24 11:17:33 +09:00
d46b468acd docs/guide/start-installation.md - small changes [ci skip] 2015-01-24 11:17:33 +09:00
7f670aafe9 Additional typo fixed for Database Access Objects guide 2015-01-22 16:34:19 +03:00