Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f896326

Browse files
author
z
committed
laravel split for new v2 learn
1 parent 2859a41 commit f896326

27 files changed

+414
-0
lines changed

laravel/add-archives.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Add Archives
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Archives | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/20) | [Raw SQL Queries](https://laravel.com/docs/5.4/database#running-queries) | 0.5 hour | Authentication
6+
Archives | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/20) | [Eloquent Collections](https://laravel.com/docs/5.4/eloquent-collections) | 1 hour | Authentication
7+
8+
#### Tasks :
9+
- Add `Archives` as shown in the video.

laravel/basic-routing-and-views.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Basic Routing and Views
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Basic Routing | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/2) | [Documentation](https://laravel.com/docs/5.4/routing#basic-routing) | 1 hour | Introduction to MVC architecture
6+
Named Routes | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/2) | [Documentation](https://laravel.com/docs/5.4/routing#named-routes) | 0.5 hour | Basic Routing
7+
Creating Views | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/2) | [Documentation](https://laravel.com/docs/5.4/views#creating-views) | 1 hour | Basic Routing
8+
9+
#### Tasks :
10+
- Create a route `/admin` and redirect to view `admin.blade.php` when that route is hit.
11+
- Name that route as `admin`
12+
- Whenever you create a route in the future, name that route.
13+
- Use [this](https://gist.github.com/pbteja1998/011df2c0209e3b63fd3dce281451d328) sidebar template for `admin.blade.php`
14+
- Create routes `/users` , `/posts` , `/comments` and link `All Users` , `All Posts` and `All Comments` that are present in sidebar to those routes.
15+
- When you go to `/users` url or when you click `All Users` tab on the sidebar, you should be redirected to `users/index.blade.php`. Posts and Comments should have similar behaviour.

laravel/choosing-laravel.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### Why choose Laravel when there are tons of other PHP frameworks ? Here are a few reasons.
2+
3+
- **Security**: Its truth that no application is 100% secure and things will depend on how you are using and writing code and its structure. But in comparison to other frameworks Laravel has some good signs of security. Laravel takes care of security with CSRF tokens. These checks on each POST request, so make sure you use them, essentially this protects you from someone changing the nature of the request, i.e. from POST to GET.
4+
- **Emerging star**: Lots of web development companies are adopting Laravel very quickly due to its dynamic capabilities and they are getting good response. You can see the popularity in [Google trends](https://trends.google.com/trends/explore?q=yii,CodeIgniter,Zend%20Framework,Cakephp,Laravel&hl=en-US). In Google trends you will see the difference clearly as how this Laravel framework is gaining popularity and its growing exponentially.
5+
- **Template**: One of the best features of the framework is Blade templating engine. It’s so intuitive and working with the typical PHP/HTML so much better and easy. In Laravel, templates are very light weighted from which you can create amazing and decent layouts. You can use different type of widgets of JS and CSS with solid structure. So this also improves your websites load time which helps in websites search engine performance.
6+
- **Integration**: Easy integration with many popular FrontEnd Javascript frameworks like **VueJS**, **Angular JS** and **React** makes it even more better choice.
7+
- **Laracast**: Laracasts is the excellent tool for learning Laravel. Here you will get both free and paid video tutorials. And from the information you can learn about Laravel. The contents are all made by experts and experienced instructors who offers clear and concise instructions. So if you want to learn Laravel and want to build your carrier around it then Laracast is worth looking at.
8+
- **Artisan**: In Laravel, developer needs to interact using a command line that handles the Laravel project environment. Laravel is providing a built-in tool called Artisan, which allows user to perform lengthy programming tasks really quickly which can be easily done by Laravel developers. It is used to create a structured code, and database structure to make it easier to manage the database system.
9+
- **Ready Made apps**: With the growing popularity of Laravel and increasing demand of customer asking for similar features now there are various readymade apps available which can be used to add on any feature in Laravel website. This actually reduced effort and in that way reduced cost of development.
10+
- **MVC Support**: This is one of the important reasons which make Laravel the best PHP framework that it supports MVC Architecture. Due to this it helps in improving the performance, better documentation, and has multiple built-in functionalities.
11+
12+
Besides this there are other various key factors available in Laravel like Routing system, Application logic, Better code foundation, Suitable for all type of projects, Different API for caching system and many more.

laravel/controllers.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Controllers
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Basic Controllers | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/8) | [Basic Controllers](https://laravel.com/docs/5.4/controllers#basic-controllers) | 1 hr | Eloquent
6+
7+
#### Tasks :
8+
- Change `web.php` to use `Controllers` instead of inline functions.

laravel/database-setup.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Database Setup
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Database Setup | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/4) | [Documentation](https://laravel.com/docs/5.4/database) | 0.5 hr | none
6+
7+
#### Tasks :
8+
- Setup a database with name `blog` using `mysql` or `sqlite`

laravel/eloquent-relationships.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Eloquent Relationships
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Eloquent Relationships | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/15) | [Relationships](https://laravel.com/docs/5.4/eloquent-relationships) | 1 hour | Models, Views, Controllers and Routes

laravel/eloquent.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Eloquent
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Eloquent | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/7) | [Eloquent](https://laravel.com/docs/5.4/eloquent) | 1 hr | Query Builder
6+
7+
#### Tasks :
8+
- Change the code such that you are using Eloquent instead of Query Builder.
9+
- Get Hands On Practice with Eloquent using Tinker.

laravel/flash-messaging.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Flash Messaging
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Flash Messaging | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/29) | [Flash Message](https://laravel.com/docs/5.4/redirects#redirecting-with-flashed-session-data) | 1 hour | Models, Views, Controllers and Routes
6+
7+
#### Tasks :
8+
- Show a flash message whenever a user signs up or posts or comments on a post.

laravel/form-requests-and-CSRF.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Form Requests and CSRF
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Form Requests and CSRF | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/11) | [CSRF Protection](https://laravel.com/docs/5.4/csrf)| 0.5 hour | Layouts and Structures
6+
Form Requests and CSRF | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/11) | [Requests](https://laravel.com/docs/5.4/requests)| 0.5 hour | Layouts and Structures
7+
Form Requests and CSRF | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/11) | [Inserting and Updating Models](https://laravel.com/docs/5.4/eloquent#inserting-and-updating-models) | 0.5 hour | Layouts and Structures
8+
9+
#### Tasks :
10+
- Create forms to add a `post` and a `comment` to the database.

laravel/form-validation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Form Validation
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Form Validation | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/12) | [Validation](https://laravel.com/docs/5.4/validation) | 0.5 hour | Form Request Data and CSRF
6+
7+
#### Tasks :
8+
- Add both client side and server side validations and show appropriate errors when validation fails.
9+
- Create a partial `partials/errors.blade.php` so that it can be reused in all types of forms.

laravel/installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Installation
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Installation of Laravel in Debian based systems | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/1) | [Installation](https://gist.github.com/pbteja1998/a735fad5d843a952c937f7b3ba8f058e) | 1 hour | none
6+
7+
#### Tasks :
8+
- Create a fresh laravel project called blog and view the welcome page.

laravel/introduction-to-mvc.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Introduction to MVC architecture in PHP
2+
3+
This course will introduce you to the MVC Pattern using PHP. This course is required, but feel free to skip to the next section if you already know what MVC pattern mean.
4+
5+
Courses | Duration | Effort | Prerequisites
6+
:-- | :--: | :--: | :--:
7+
[Introduction to MVC Architecture](https://r.je/mvc-in-php.html) ([alt](https://www.sitepoint.com/the-mvc-pattern-and-php-1/)) | 1 week | 4-7 hours/week | PHP

laravel/laravel-mix.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### Laravel Mix
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Laravel Mix | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/14) | [Laravel Mix](https://laravel.com/docs/5.4/mix) | 1.5 hour | Rendering
6+
7+
#### Tasks :
8+
- Install NodeJs and npm in Debian based linux distributions, run
9+
```sh
10+
$ sudo apt-get update
11+
$ sudo apt-get install nodejs
12+
$ sudo apt-get install npm
13+
```
14+
- Move your css and js files to assets directory and compile them using Laravel Mix.

laravel/layouts-and-structures.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Layouts and Structures
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Layouts and Structures | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/10) | [Layouts](https://laravel.com/docs/5.4/blade#template-inheritance) | 1 hour | Models, Views, Controllers and Routes
6+
7+
#### Tasks :
8+
- Add two folders `partials` and `layouts` in `resources/views` directory.
9+
- Create a layout file `layouts/master.blade.php` in `layouts` folder and include all markup required like stylesheets, scripts, etc in that file and extend this layout file .
10+
- Create the folllowing partials and include these partials in `admin` template.
11+
- `partials/sidebar.blade.php`
12+
- `partials/header.blade.php`
13+
- `partials/footer.blade.php`
14+
- Grab the markup of those header and footer from some [bootstrap](https://getbootstrap.com/examples/blog/) template.
15+
- You can add any other layouts or partials as per your requirement.

laravel/manual-authentication.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### Manual Authentication
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Manual Authentication - 1 | [Manual Authentication - 1](https://laracasts.com/series/laravel-from-scratch-2017/episodes/18)| [Manual Authentication](https://laravel.com/docs/5.4/authentication#authenticating-users)| 1 hour | Database Setup
6+
Manual Authentication - 2| [Manual Authentication - 2](https://laracasts.com/series/laravel-from-scratch-2017/episodes/19) | [Manual Authentication](https://laravel.com/docs/5.4/authentication#authenticating-users) | 1 hour | Database Setup
7+
Manual Authentication - 2 | [Manual Authentication - 2](https://laracasts.com/series/laravel-from-scratch-2017/episodes/19) | [Named Routes](https://laravel.com/docs/5.4/routing#named-routes)| 0.5 hours | Database Setup
8+
Manual Authentication - 2 | [Manual Authentication - 2](https://laracasts.com/series/laravel-from-scratch-2017/episodes/19) | [Dependency Injection](https://laravel.com/docs/5.4/controllers#dependency-injection-and-controllers) | 1 hours | Database Setup
9+
10+
#### Tasks :
11+
- Setup `Custom Authentication`.
12+
- Add relationships between `users and posts` as well as `users and comments`. Add all necessary views and Controller methods.

laravel/one-to-many-relationship.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### One-to-Many Relationship
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
One-to-Many Relationship | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/16) | [Form Method Spoofing](https://laravel.com/docs/5.4/routing#form-method-spoofing) | 1 hour | Eloquent Relationships
6+
7+
#### Tasks :
8+
- Add a relationship between posts and comments table. (you have to add `post_id` field in the `comments` table )
9+
- Create partials to add a comment and to show comments of a post.
10+
- Include those partials in the `All Posts` page and `Show Post` page.
11+
- Add `Edit Post` and `Edit Comment` functionalities.

laravel/pass-data-to-views.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### Pass Data to Views
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Pass Data to Views | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/5) | [Documentation](https://laravel.com/docs/5.4/views#passing-data-to-views) | 0.5 hr | Creating Views
6+
7+
#### Tasks :
8+
- Send the following data as `posts` to `All Posts` view page and display them.
9+
- **"I am going to Create and Edit Users"**
10+
- **"I am going to Create and Edit Posts"**
11+
- **"I am going to Create and Edit Comments"**
12+
- **"I am going to like and Unlike Posts"**

laravel/pivot-tables.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Pivot Tables
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Many-to-Many Relationship | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/30) | [Pivot Table / Many to Many Relatonship](https://laravel.com/docs/5.4/eloquent-relationships#many-to-many) | 1 hour | Eloquent Relationships
6+
7+
#### Tasks :
8+
- Add `Like` functionality.
9+
- Any user can `like/unlike` any post.
10+
- Add necessary Controller methods and views.

laravel/prerequisites.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Prerequisites
2+
3+
**Laravel** is a free, open-source PHP web framework, created by **Taylor Otwell** and intended for the development of web applications following the **Model–View–Controller (MVC)** architectural pattern.
4+
5+
* This course assumes the student has already taken Frontend domain or have a basic knowledge of front-end.
6+
* This course also assumes that the student has already taken PHP programming
7+
language or reasonably familiar with PHP and its Object Oriented Programming
8+
Concepts.

laravel/rendering.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Rendering
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Rendering | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/13) | [Blade Control Structures](https://laravel.com/docs/5.4/blade#control-structures) | 1 hour | Form Validation
6+
Rendering | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/13) | [Carbon](http://carbon.nesbot.com/docs/#api-formatting) | 1 hour | Form Validation
7+
8+
#### Tasks :
9+
- Use `Eloquent Builder` functions and `Carbon` library to display posts such that latest post is at the top. Also display the time stamps of the posts.

laravel/route-model-binding.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Route Model Binding
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Route Model Binding | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/9) | [Route Model Binding](https://laravel.com/docs/5.4/routing#route-model-binding) | 0.5 hr | Controllers
6+
7+
#### Tasks :
8+
- Make use of Route Model Binding to show a comment or a post. But instead of binding `id` , you should bind the `title` of a post to show a post. So, your route should look something like this `post/{title}`

laravel/scaffold-authentication.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Scaffold Authentication
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Scaffold Authentication | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/17) | [Authentication Quickstart](https://laravel.com/docs/5.4/authentication#authentication-quickstart) | 0.5 hour | Database Setup
6+
Scaffold Authentication | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/17) | [Middleware](https://laravel.com/docs/5.4/middleware) | 1 hour | Database Setup
7+
Scaffold Authentication | [Laracasts](https://laracasts.com/series/laravel-from-scratch-2017/episodes/17) | [Mail to Log](https://laravel.com/docs/5.4/mail#mail-and-local-development) | 0.5 hour | Database Setup
8+
9+
#### Tasks :
10+
- Experiment with Scaffolded Authentication. (Do not run `php artisan make:auth`to the existing `blog` project. Create a new project and just experiment with it. We will be creating our own Authentication workflow instead of using Scaffolded Authentication)
11+
- Look into the `Middlewares` section, we are going to use it in the subsequent sections.

laravel/seeding.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Seeding
2+
3+
Concept | Best Video Resource | Best Text Resource | Duration | Prerequisites
4+
:-- | :--: | :--: | :--: | :--:
5+
Seeding with TestDummy | [Seeding with TestDummy](https://laracasts.com/series/advanced-eloquent/episodes/1) | [Test Dummy](https://gist.github.com/pbteja1998/fe30fd96e26a2868b5925c83df041808) - for database seeding | 1 hour | Ready Laravel Project
6+
Seeding with Laracasts Generators | [Seeding with Laracasts Generators](https://laracasts.com/series/incremental-api-development/episodes/1) | [Laracasts Generators]() - for database seeding | 1 hour | Ready Laravel Project
7+
8+
#### Tasks :
9+
- Learn how to seed Fake Data using TestDummy and Laracasts Generators.

0 commit comments

Comments
 (0)