2017-09-04 03:20:35 +00:00
|
|
|
---
|
|
|
|
title: Phoenix 1.2
|
|
|
|
category: Elixir
|
|
|
|
weight: -1
|
2020-07-04 13:33:09 +00:00
|
|
|
updated: 2018-03-06
|
2017-09-04 03:20:35 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
See [Phoenix](./phoenix) for a more updated cheatsheet.
|
|
|
|
|
|
|
|
### Directory structure (Legacy 1.2)
|
|
|
|
|
|
|
|
```
|
2018-03-06 07:56:25 +00:00
|
|
|
├── _build
|
|
|
|
├── config/
|
|
|
|
├── deps/
|
|
|
|
├── lib/
|
|
|
|
│ ├── hello/
|
|
|
|
│ ├── hello.ex
|
|
|
|
├── node_modules/
|
|
|
|
├── priv/
|
|
|
|
├── test/
|
|
|
|
└── web/
|
|
|
|
│ ├── channels/
|
|
|
|
│ ├── controllers/
|
|
|
|
│ ├── models/
|
|
|
|
│ ├── static/
|
|
|
|
│ ├── templates/
|
|
|
|
│ ├── views/
|
|
|
|
│ ├── gettext.ex
|
|
|
|
│ ├── router.ex
|
|
|
|
│ ├── web.ex
|
|
|
|
├── mix.exs
|
2017-09-04 03:20:35 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
This is Phoenix 1.2's structure. Phoenix 1.3 has no `models`.
|