Skip to content

Commit

Permalink
LBAW 23/24 edition: testing site deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio-A-Sa committed Jul 19, 2023
1 parent c5684cc commit 43dbe93
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
23 changes: 20 additions & 3 deletions Notes/5 - Laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [View]()
- Blade
- [Policies]()
- [Exemplos]()
- [Inspire :)](#inspire)

## Model
Expand Down Expand Up @@ -62,7 +63,7 @@ public function comments() {
}
```

Note-se que no caso acima são apenas retornados os comentários que não têm antecessor, ou seja, apenas os comentários diretamente ligados ao post e que não pertencem a nenhuma thread. O detalhe de implementação das threads foi abordado [aqui](./3%20-%20Database%20speficiation.md#posts-comentários-replies).
Note-se que no caso acima são apenas retornados os comentários que não têm antecessor, ou seja, apenas os comentários diretamente ligados ao post e que não pertencem a nenhuma thread. O detalhe de implementação das threads foi abordado [aqui](./3%20-%20Database%20speficiation.md).

3. Um Post tem vários Likes. Para retornar o número de likes:

Expand Down Expand Up @@ -115,12 +116,28 @@ Os controladores recebem os HTTP requests do servidor e são armazenados no dire
$ php artisan make:controller <MODEL_NAME>Controller
```

Exemplo do conteúdo em `app/Http/Controllers/PostController.php`:
Exemplo do conteúdo de `app/Http/Controllers/PostController.php`:

```php
class PostController extends Controller
{
public function show(Request $request)
{
// A

// B

// C
}

// ...
}
```

Cada método



### Routes


Expand All @@ -136,7 +153,7 @@ Exemplo do conteúdo em `app/Http/Controllers/PostController.php`:

// TODO

## Inspire
## Inspire :)

Para o projecto de LBAW é necessário muita inspiração. Mas nisso o Artisan também pode ajudar:

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ This repository contains all the exercises and assessments of the UC Laboratóri
Notes I took during lectures on Markdown in the 22/23 edition of LBAW. As a LBAW monitor in the year 23/24 I intend to update them according to what comes up and add concrete examples taken from the OnlyFEUP Project. These notes do not and do not intend to replace official documentation or attendance at theoretical classes. <br>
The most up-to-date notes can be found here:

- [Requirements Specification](./Notes/1%20-%20Requirements%20Specification.md)
- [Information Architecture](./Notes/2%20-%20Information%20Architecture.md)
- [Database Specification](./Notes/3%20-%20Database%20speficiation.md)
- [Web Applications and Framework](./Notes/4%20-%20Web%20Applications%20and%20Frameworks.md)
- [Laravel]() - Soon
- [Requirements Specification](./Notes/1%20-%20Requirements%20Specification.html)
- [Information Architecture](./Notes/2%20-%20Information%20Architecture.html)
- [Database Specification](./Notes/3%20-%20Database%20speficiation.html)
- [Web Applications and Framework](./Notes/4%20-%20Web%20Applications%20and%20Frameworks.html)
- [Laravel](./Notes/5%20-%20Laravel.html)
- [Frontend]() - Soon
- [Accessibility and Usability]() - Soon

Expand Down

0 comments on commit 43dbe93

Please sign in to comment.