Coder Social home page Coder Social logo

laravel_8_tutorial's Introduction

Laravel 8 Tutorial For Beginners

Laravel is a very powerful framework that follows the MVC structure. It is designed for web developers who need a simple, elegant yet powerful toolkit to build a fully-featured website. This tutorial explains the basic use of Laravel 8 by building a simple blogging system.

Part One: Laravel Basics

Get Started With Laravel 6

Before we can start building our project, we need to talk about some basic concepts in Laravel. Let’s start by making some preparations, install the necessary software, create a new Laravel project, and then, we need to understand the MVC structure, which is commonly used by most of the web frameworks. And finally, we'll talk about Laravel Nova, the official admin panel for Laravel applications.

Laravel Tutorial #1: Setup the Project

Laravel Tutorial #2: Routing

Laravel Tutorial #3: The MVC Structure

Laravel Tutorial #4: Admin Panel

Part Two: Build A Blog

To get familiar with everything, we start by creating only the home page.

Laravel Tutorial #5: Create the Home Page

One of the most important steps of web development is to design the database structure. In this tutorial, we’ll make four database tables together.

Designing Database Solutions for SQL Server 2016

The users table stores the user name, email and password. The migration file for this table is already included in Laravel. The categories and tags tables store the category names and tag names. And finally, the posts table stores the post title, content, post image and so on.

However, just creating the tables is not enough. The tables have relationships with each other. This part could be a little tough for beginners, I will try to make it easy to understand, and only introduce the four most basic relationships.

img

Laravel Tutorial #6: Create Models and Setup Admin Panel

Routes are the entry points when someone visits your blog. They receive URLs and returns controllers. Controllers retrieve data from the database through models and put them in views. Views are what we actually see in the browser, so they do look like HTML and CSS. However, things are more complicated than that.

Laravel Tutorial #7: Create Routes, Controllers and Views

In the next two articles, we'll build search, pagination and some other optional features for our project. However, if you are not interested, feel free to jump to the end, and we can finally deploy our application.

14 Bootstrap Search Bar Box Design Examples - OnAirCode

Laravel Tutorial #8: Search

Laravel Tutorial #9: Wrap Things Up

Laravel Tutorial #10: Deployment

Other Resources

Some Useful Tools For Web Development (PHP)

Laravel Official Documentation

laravel_8_tutorial's People

Contributors

ericnanhu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.