Skip to content

Commit

Permalink
docs/guide/start-* minor corrections [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
vchenin committed May 23, 2015
1 parent 6222d9c commit df0ad23
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions docs/guide/start-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ and create a [view](structure-views.md).

Through this tutorial, you will learn how to:

* Configure a DB connection
* Define an Active Record class
* Query data using the Active Record class
* Display data in a view in a paginated fashion
* configure a DB connection,
* define an Active Record class,
* query data using the Active Record class,
* display data in a view in a paginated fashion.

Note that in order to finish this section, you should have basic knowledge and experience using databases.
In particular, you should know how to create a database, and how to execute SQL statements using a DB client tool.
Expand Down Expand Up @@ -251,7 +251,7 @@ Summary <span id="summary"></span>
In this section, you learned how to work with a database. You also learned how to fetch and display
data in pages with the help of [[yii\data\Pagination]] and [[yii\widgets\LinkPager]].

In the next section, you will learn how to use the powerful code generation tool, called [Gii](tool-gii.md),
In the next section, you will learn how to use the powerful code generation tool, called [Gii](https://github.com/yiisoft/yii2-gii/blob/master/docs/guide/README.md),
to help you rapidly implement some commonly required features, such as the Create-Read-Update-Delete (CRUD)
operations for working with the data in a database table. As a matter of fact, the code you have just written can all
be automatically generated in Yii using the Gii tool.
6 changes: 3 additions & 3 deletions docs/guide/start-forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ two [views](structure-views.md), you will also create a [model](structure-models

Through this tutorial, you will learn how to:

* Create a [model](structure-models.md) to represent the data entered by a user through a form
* Declare rules to validate the data entered
* Build an HTML form in a [view](structure-views.md)
* create a [model](structure-models.md) to represent the data entered by a user through a form,
* declare rules to validate the data entered,
* build an HTML form in a [view](structure-views.md).


Creating a Model <span id="creating-model"></span>
Expand Down
12 changes: 6 additions & 6 deletions docs/guide/start-gii.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Generating Code with Gii
========================

This section will describe how to use [Gii](tool-gii.md) to automatically generate code
This section will describe how to use [Gii](https://github.com/yiisoft/yii2-gii/blob/master/docs/guide/README.md) to automatically generate code
that implements some common Web site features. Using Gii to auto-generate code is simply a matter of entering the right information per the instructions shown on the Gii Web pages.

Through this tutorial, you will learn how to:

* Enable Gii in your application
* Use Gii to generate an Active Record class
* Use Gii to generate the code implementing the CRUD operations for a DB table
* Customize the code generated by Gii
* enable Gii in your application,
* use Gii to generate an Active Record class,
* use Gii to generate the code implementing the CRUD operations for a DB table,
* customize the code generated by Gii.


Starting Gii <span id="starting-gii"></span>
Expand Down Expand Up @@ -127,7 +127,7 @@ or to customize them:

> Info: Gii is designed to be a highly customizable and extensible code generation tool. Using it wisely
can greatly accelerate your application development speed. For more details, please refer to
the [Gii](tool-gii.md) section.
the [Gii](https://github.com/yiisoft/yii2-gii/blob/master/docs/guide/README.md) section.


Summary <span id="summary"></span>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/start-hello.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a [view](structure-views.md):

Through this tutorial, you will learn three things:

1. How to create an [action](structure-controllers.md) to respond to requests,
1. how to create an [action](structure-controllers.md#creating-actions) to respond to requests,
2. how to create a [view](structure-views.md) to compose the response's content, and
3. how an application dispatches requests to [actions](structure-controllers.md#creating-actions).

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/start-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Installing via Composer <span id="installing-via-composer"></span>
If you do not already have Composer installed, you may do so by following the instructions at
[getcomposer.org](https://getcomposer.org/download/). On Linux and Mac OS X, you'll run the following commands:

curl -sSS https://getcomposer.org/installer | php
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

On Windows, you'll download and run [Composer-Setup.exe](https://getcomposer.org/Composer-Setup.exe).
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/start-looking-ahead.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Looking Ahead

If you've read through the entire "Getting Started" chapter, you have now created a complete Yii application. In the process, you have learned how to implement some commonly
needed features, such as getting data from users via an HTML form, fetching data from a database, and
displaying data in a paginated fashion. You have also learned how to use [Gii](tool-gii.md) to generate
displaying data in a paginated fashion. You have also learned how to use [Gii](https://github.com/yiisoft/yii2-gii/blob/master/docs/guide/README.md) to generate
code automatically. Using Gii for code generation turns the bulk of your Web development process into a task as simple as just filling out some forms.

This section will summarize the Yii resources available to help you be more productive when using the framework.
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/start-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Functionality <span id="functionality"></span>

The basic application installed contains four pages:

* The homepage, displayed when you access the URL `http://hostname/index.php`,
* the homepage, displayed when you access the URL `http://hostname/index.php`,
* the "About" page,
* the "Contact" page, which displays a contact form that allows end users to contact you via email,
* and the "Login" page, which displays a login form that can be used to authenticate end users. Try logging in
Expand All @@ -30,7 +30,7 @@ These pages share a common header and footer. The header contains a main menu ba
among different pages.

You should also see a toolbar at the bottom of the browser window.
This is a useful [debugger tool](tool-debugger.md) provided by Yii to record and display a lot of debugging information, such as log messages, response statuses, the database queries run, and so on.
This is a useful [debugger tool](https://github.com/yiisoft/yii2-debug/blob/master/docs/guide/README.md) provided by Yii to record and display a lot of debugging information, such as log messages, response statuses, the database queries run, and so on.

Additionally to the web application, there is a console script called `yii`, which is located in the applications base directory.
This script can be used to run background and maintainance tasks for the application, which are described
Expand Down

0 comments on commit df0ad23

Please sign in to comment.