# Código do Futuro (Code of the Future)

## 🗂 Modules

### 1 Front-end

#### Class 11 | Angular: Forms
    -  POST, PUT and DELETE Requests
    -  Introduction to Forms
        <table>
            <tr>
                <th>Template Driven</th>
                <th>Data Driven (Reactive)</th>
            </tr>
            <tr>
                <td>Form is created and set at HTML</td>
                <td>Form is created and set at Component</td>
            </tr>
            <tr>
                <td>Validations are made on HTML Template</td>
                <td>Validations are made on Component</td>
            </tr>
            <tr>
                <td>Angular creates a FormGroup from HTML code</td>
                <td>Angular uses FormGroup created at Component</td>
            </tr>
        </table>
    -  ngForm, ngSubmit and ngModel
    -  ngModel Directive
    -  Forms validation
    -  Displaying form errors
    -  Applying styles at fields validations
        <table>
            <tr>
                <th>State</th>
                <th>YES</th>
                <th>NO</th>
            </tr>
            <tr>
                <td>Visited control</td>
                <td>ng-touched</td>
                <td>ng-untouched</td>
            </tr>
            <tr>
                <td>Changed value</td>
                <td>ng-dirty</td>
                <td>ng-pristine</td>
            </tr>
            <tr>
                <td>Valid control</td>
                <td>ng-valid</td>
                <td>ng-invalid</td>
            </tr>
        </table>
    -  Applying own styles at fields validations
    -  Using ViewChild decorator I
    -  Using ViewChild decorator II
    -  Correction of Form parameter type
    -  Login Service I
    -  Login Service II
    -  Adding loading validations on Login
    -  Creating Authentication Service I
    -  Creating Authentication Service II
    -  Upgrading Authentication Service
    -  Adding Route Guards I
        - Route Guards validates if an user can access parts of an application, based on a restriction/verification
    -  Adding Route Guards II
    -  Modularization and Lazy Loading
    -  Augury Routinging and Contacts Refactoring
    -  Son Routes: Logged Area Component I
    -  Son Routes: Logged Area Component II
    -  Modularizating Login and Logout Button