Skip to content

Commit

Permalink
Reorganized application template docs structure
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Aug 13, 2013
1 parent d4c8f47 commit dd90898
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 79 deletions.
3 changes: 3 additions & 0 deletions docs/guide/apps-advanced.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Advanced application template
=============================

6 changes: 6 additions & 0 deletions docs/guide/apps-basic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Basic application template
==========================

The application has four pages: the homepage, the about page, the contact page and the login page.
The contact page displays a contact form that users can fill in to submit their inquiries to the webmaster,
and the login page allows users to be authenticated before accessing privileged contents.
69 changes: 0 additions & 69 deletions docs/guide/bootstrap.md

This file was deleted.

15 changes: 7 additions & 8 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ Getting started
===============

- [Installation](installation.md)
- [Bootstrap with Yii](bootstrap.md)
- [Configuration](configuration.md)

Application templates
=====================

- [Basic](apps-basic.md)
- [Advanced](apps-advanced.md)
- [Creating your own application template](apps-own.md)

Base concepts
=============

Expand Down Expand Up @@ -57,13 +63,6 @@ Toolbox
- [Error Handling](error.md)
- [Logging](logging.md)

Application templates
=====================

- [Basic](application-basic.md)
- [Advanced](application-advanced.md)
- [Creating your own application template](application-own.md)

More
====

Expand Down
13 changes: 11 additions & 2 deletions docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,24 @@ Installation
Installing via Composer
-----------------------

The recommended way of installing Yii is by using Composer package manager.
The recommended way of installing Yii is by using [Composer](http://getcomposer.org/) package manager. If you do not
have it, you may download it from [http://getcomposer.org/](http://getcomposer.org/) or run the following command:

```
curl -s http://getcomposer.org/installer | php
```

Yii provides a few ready-to-use application templates. Based on your needs, you may choose one of them to bootstrap
your project.

There are two application templates available:

- [basic](https://github.com/yiisoft/yii2-app-basic) that is just a basic frontend application template.
- [advanced](https://github.com/yiisoft/yii2-app-advanced) that is a set of frontend, backend, console, common
(shared code) and environments support.

Please refer to installation instructions on these pages.
Please refer to installation instructions on these pages. To read more about ideas behing these application templates and
proposed usage refer to [basic application template](apps-basic.md) and [advanced application template](apps-advanced.md).

Installing from zip
-------------------
Expand Down

0 comments on commit dd90898

Please sign in to comment.