Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
88b05cdf
Commit
88b05cdf
authored
Jun 09, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed backstage → backend
parent
ef5afef7
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
10 additions
and
10 deletions
+10
-10
README.md
apps/advanced/README.md
+6
-6
.gitkeep
apps/advanced/backend/assets/.gitkeep
+0
-0
.gitignore
apps/advanced/backend/config/.gitignore
+0
-0
assets.php
apps/advanced/backend/config/assets.php
+0
-0
main.php
apps/advanced/backend/config/main.php
+1
-1
params.php
apps/advanced/backend/config/params.php
+0
-0
SiteController.php
apps/advanced/backend/controllers/SiteController.php
+1
-1
.gitkeep
apps/advanced/backend/models/.gitkeep
+0
-0
.gitignore
apps/advanced/backend/runtime/.gitignore
+0
-0
main.php
apps/advanced/backend/views/layouts/main.php
+0
-0
index.php
apps/advanced/backend/views/site/index.php
+0
-0
login.php
apps/advanced/backend/views/site/login.php
+0
-0
.gitignore
apps/advanced/backend/www/.gitignore
+0
-0
.gitignore
apps/advanced/backend/www/assets/.gitignore
+0
-0
site.css
apps/advanced/backend/www/css/site.css
+0
-0
composer.json
apps/advanced/composer.json
+2
-2
No files found.
apps/advanced/README.md
View file @
88b05cdf
...
...
@@ -10,7 +10,7 @@ if you have a project to be deployed for production soon.
Thank you for using Yii 2 Advanced Application Template - an application template
that works out-of-box and can be easily customized to fit for your needs.
Yii 2 Advanced Application Template is best suitable for large projects requiring frontend and back
stage
separation,
Yii 2 Advanced Application Template is best suitable for large projects requiring frontend and back
end
separation,
deployment in different environments, configuration nesting etc.
...
...
@@ -20,18 +20,18 @@ DIRECTORY STRUCTURE
```
common
config/ contains shared configurations
models/ contains model classes used in both back
stage
and frontend
models/ contains model classes used in both back
end
and frontend
console
config/ contains console configurations
controllers/ contains console controllers (commands)
migrations/ contains database migrations
models/ contains console-specific model classes
runtime/ contains files generated during runtime
back
stage
back
end
assets/ contains application assets such as JavaScript and CSS
config/ contains back
stage
configurations
config/ contains back
end
configurations
controllers/ contains Web controller classes
models/ contains back
stage
-specific model classes
models/ contains back
end
-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
www/ contains the entry script and Web resources
...
...
@@ -107,7 +107,7 @@ the installed application. You only need to do these once for all.
Now you should be able to access:
-
the frontend using the URL
`http://localhost/yii-advanced/frontend/www/`
-
the back
stage using the URL
`http://localhost/yii-advanced/backstage
/www/`
-
the back
end using the URL
`http://localhost/yii-advanced/backend
/www/`
assuming
`yii-advanced`
is directly under the document root of your Web server.
apps/advanced/back
stage
/assets/.gitkeep
→
apps/advanced/back
end
/assets/.gitkeep
View file @
88b05cdf
File moved
apps/advanced/back
stage
/config/.gitignore
→
apps/advanced/back
end
/config/.gitignore
View file @
88b05cdf
File moved
apps/advanced/back
stage
/config/assets.php
→
apps/advanced/back
end
/config/assets.php
View file @
88b05cdf
File moved
apps/advanced/back
stage
/config/main.php
→
apps/advanced/back
end
/config/main.php
View file @
88b05cdf
...
...
@@ -13,7 +13,7 @@ return array(
'basePath'
=>
dirname
(
__DIR__
),
'vendorPath'
=>
dirname
(
dirname
(
__DIR__
))
.
'/vendor'
,
'preload'
=>
array
(
'log'
),
'controllerNamespace'
=>
'back
stage
\controllers'
,
'controllerNamespace'
=>
'back
end
\controllers'
,
'modules'
=>
array
(
),
'components'
=>
array
(
...
...
apps/advanced/back
stage
/config/params.php
→
apps/advanced/back
end
/config/params.php
View file @
88b05cdf
File moved
apps/advanced/back
stage
/controllers/SiteController.php
→
apps/advanced/back
end
/controllers/SiteController.php
View file @
88b05cdf
<?php
namespace
back
stage
\controllers
;
namespace
back
end
\controllers
;
use
Yii
;
use
yii\web\Controller
;
...
...
apps/advanced/back
stage
/models/.gitkeep
→
apps/advanced/back
end
/models/.gitkeep
View file @
88b05cdf
File moved
apps/advanced/back
stage
/runtime/.gitignore
→
apps/advanced/back
end
/runtime/.gitignore
View file @
88b05cdf
File moved
apps/advanced/back
stage
/views/layouts/main.php
→
apps/advanced/back
end
/views/layouts/main.php
View file @
88b05cdf
File moved
apps/advanced/back
stage
/views/site/index.php
→
apps/advanced/back
end
/views/site/index.php
View file @
88b05cdf
File moved
apps/advanced/back
stage
/views/site/login.php
→
apps/advanced/back
end
/views/site/login.php
View file @
88b05cdf
File moved
apps/advanced/back
stage
/www/.gitignore
→
apps/advanced/back
end
/www/.gitignore
View file @
88b05cdf
File moved
apps/advanced/back
stage
/www/assets/.gitignore
→
apps/advanced/back
end
/www/assets/.gitignore
View file @
88b05cdf
File moved
apps/advanced/back
stage
/www/css/site.css
→
apps/advanced/back
end
/www/css/site.css
View file @
88b05cdf
File moved
apps/advanced/composer.json
View file @
88b05cdf
...
...
@@ -25,8 +25,8 @@
},
"extra"
:
{
"yii-install-writable"
:
[
"back
stage
/runtime"
,
"back
stage
/www/assets"
,
"back
end
/runtime"
,
"back
end
/www/assets"
,
"console/runtime"
,
"console/migrations"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment