Creating your own Application structure for Yii2 #2939

Closed
e6nian opened this Issue Apr 1, 2014 · 8 comments

Comments

Projects
None yet
5 participants
@e6nian

e6nian commented Apr 1, 2014

yep, we need Learn how to start from scratch.
who knows this please join us to write this
https://github.com/yiisoft/yii2/blob/master/docs/guide/apps-own.md

@samdark samdark added the type:docs label Apr 1, 2014

@samdark

This comment has been minimized.

Show comment
Hide comment
@samdark

samdark Apr 1, 2014

Member
  1. Decide if basic or advanced app is close enough.
  2. Checkout app repository.
  3. Modify code and composer.json.
  4. Create git repo and push code there.
  5. Register at packagist (or your own package server).

Here's an example: https://github.com/samdark/yii2-minimal

Member

samdark commented Apr 1, 2014

  1. Decide if basic or advanced app is close enough.
  2. Checkout app repository.
  3. Modify code and composer.json.
  4. Create git repo and push code there.
  5. Register at packagist (or your own package server).

Here's an example: https://github.com/samdark/yii2-minimal

@samdark samdark self-assigned this Apr 1, 2014

@schmunk42

This comment has been minimized.

Show comment
Hide comment
@schmunk42

schmunk42 Apr 7, 2014

Contributor

Another example with /app folder and vagrant support https://github.com/phundament/app/tree/4.0

Contributor

schmunk42 commented Apr 7, 2014

Another example with /app folder and vagrant support https://github.com/phundament/app/tree/4.0

@qiangxue qiangxue added this to the 2.0 RC milestone Apr 16, 2014

@samdark samdark closed this in 6f0d218 Apr 17, 2014

@samdark samdark reopened this Apr 18, 2014

@samdark

This comment has been minimized.

Show comment
Hide comment
@samdark

samdark Apr 18, 2014

Member

Need to rewrite it. See comments at 6f0d218

Member

samdark commented Apr 18, 2014

Need to rewrite it. See comments at 6f0d218

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Apr 18, 2014

Member

No need to rewrite existing one, that is also fine. Just need another one about starting from scratch to see how everything comes together.

Member

cebe commented Apr 18, 2014

No need to rewrite existing one, that is also fine. Just need another one about starting from scratch to see how everything comes together.

@samdark

This comment has been minimized.

Show comment
Hide comment
@samdark

samdark Apr 18, 2014

Member

What do you mean by "everything comes together"?

Member

samdark commented Apr 18, 2014

What do you mean by "everything comes together"?

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Apr 18, 2014

Member

I mean it is easier to understand a complex system when you see how it gets built from scratch. you see what is the minimal thing needed to make it work and what you need to add to get other things working.
Looking at the basic app trying to understand all the files that are in there is quite complex when you do not know where to start. This guide should start from scratch creating an index.php, a config starting the application and adding more and more things so you see how it is created and why each file is where it is.

Member

cebe commented Apr 18, 2014

I mean it is easier to understand a complex system when you see how it gets built from scratch. you see what is the minimal thing needed to make it work and what you need to add to get other things working.
Looking at the basic app trying to understand all the files that are in there is quite complex when you do not know where to start. This guide should start from scratch creating an index.php, a config starting the application and adding more and more things so you see how it is created and why each file is where it is.

@cebe cebe assigned cebe and unassigned samdark Apr 18, 2014

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Apr 18, 2014

Member

Added me as assignee, will start writing a guide like this.

Member

cebe commented Apr 18, 2014

Added me as assignee, will start writing a guide like this.

@cebe cebe modified the milestones: 2.0 GA, 2.0 RC Apr 22, 2014

@qiangxue

This comment has been minimized.

Show comment
Hide comment
@qiangxue

qiangxue Oct 2, 2014

Member

Close this as it is already being tracked in the guide README.md file.

Member

qiangxue commented Oct 2, 2014

Close this as it is already being tracked in the guide README.md file.

@qiangxue qiangxue closed this Oct 2, 2014

@samdark samdark referenced this issue in samdark/yii2-cookbook Oct 2, 2014

Open

Creating your own application template #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment