Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit ce3583f

Browse files
committed
structure outline only
1 parent 6a35134 commit ce3583f

File tree

1 file changed

+9
-24
lines changed

1 file changed

+9
-24
lines changed

public/docs/ts/latest/guide/style-guide.jade

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ a(id='toc')
1515

1616
1. [Single Responsibility](#single-responsibility)
1717
1. [Naming](#naming)
18-
1. [Structure](#structure)
18+
1. [Application Structure](#application-structure)
1919
1. [Components](#components)
2020
1. [Directives](#directives)
2121
1. [Lifecycle Hooks](#lifecycle-hooks)
2222
1. [Services](#services)
2323
1. [Data Services](#data-services)
2424
1. [Routing](#routing)
25-
1. [Application Structure LIFT Principle](#application-structure-lift-principle)
26-
1. [Application Structure](#application-structure)
2725
1. [Appendix](#appendix)
2826
:marked
2927
## Single Responsibility
@@ -239,10 +237,15 @@ a(id='toc')
239237

240238
<a href="#toc">Back to top</a>
241239
:marked
242-
## Application Structure LIFT Principle
240+
## Application Structure
241+
TODO
242+
243+
244+
<a href="#toc">Back to top</a>
245+
:marked
243246
### LIFT
244-
<a id="03-00"></a>
245-
#### Style 03-00
247+
<a id="03-40"></a>
248+
#### Style 03-40
246249

247250
- Structure your app such that you can `L`ocate your code quickly, `I`dentify the code at a glance, keep the `F`lattest structure you can, and `T`ry to stay DRY. The structure should follow these 4 basic guidelines, listed in order of importance.
248251

@@ -258,24 +261,6 @@ a(id='toc')
258261

259262
**Why?** I find this to be super important for a project. If the team cannot find the files they need to work on quickly, they will not be able to work as efficiently as possible, and the structure needs to change. You may not know the file name or where its related files are, so putting them in the most intuitive locations and near each other saves a ton of time. A descriptive folder structure can help with this.
260263

261-
```
262-
/node_modules
263-
/client
264-
/app
265-
/avengers
266-
/blocks
267-
/exception
268-
/logger
269-
/core
270-
/dashboard
271-
/data
272-
/layout
273-
/widgets
274-
/content
275-
index.html
276-
package.json
277-
```
278-
279264
<a href="#toc">Back to top</a>
280265
:marked
281266
### Identify

0 commit comments

Comments
 (0)