Open in app
Home
Notifications
Lists
Stories

Write
Kenpachi Zaraki
Kenpachi Zaraki

Home

Pinned

Laravel 8: MySQL Database Query Tip Sheet #4

Eloquent — Eloquent Eloquent is an object-relational mapper (ORM) that make interacting with your database very simple. In the spirit of simplicity, this article will assume you have a basic knowledge of Laravel models, migrations, controllers and how they relate with a database. …

Laravel

3 min read

Laravel 8: MySQL Database Query Tip Sheet #4
Laravel 8: MySQL Database Query Tip Sheet #4

Pinned

Laravel 8: MySQL Database Query Tip Sheet #3

Case Scenario: — Case Scenario: Before looking at returning methods, let us assume the following case scenario. We have a “students” table in a MySQL database called “dummy-data”. We wish to interact with this table using the Query Builder from our Laravel application. Each student has an id, name, age, email and address…

Laravel 8

5 min read

Laravel 8: MySQL Database Query Tip Sheet #3
Laravel 8: MySQL Database Query Tip Sheet #3

Published in Towards Dev

·Mar 30

Laravel 9: Generating Dummy Database Data using Model Factories

Usually, the way to fill a database table is to setup a form or some other mechanism. If you happen to need to generate dummy data to test… — Usually, the way to fill a database table is to setup a form or some other mechanism. If you happen to need to generate dummy data to test your Laravel interface, Laravel Model Factories can be useful. Assumptions: This tutorial assumes that you have PHP and Composer installed on your…

Laravel

3 min read

Laravel 9: Generating Dummy Database Data using Model Factories
Laravel 9: Generating Dummy Database Data using Model Factories

Published in Towards Dev

·Mar 4

A Simple CRUD Application with Django

Django is capable of generating most of the code you need to do CRUD operations. It wouldn’t hurt, however, to learn to do it yourself… — Django is capable of generating most of the code you need to do CRUD operations. It wouldn’t hurt, however, to learn to do it yourself. With that said let’s get started. Scenario We wish to create an application that will store data about students. …

Django

4 min read

A Simple CRUD Application with Django
A Simple CRUD Application with Django

Oct 2, 2021

How to set up Laratrust | Laravel 8 User Management | Article #5

This is the fifth article in our series on Laratrust. In this article, we will modify our ‘log in’ process to figure out what type a user… — This is the fifth article in our series on Laratrust. In this article, we will modify our ‘log in’ process to figure out what type a user has so we can redirect them to the right pages after logging them in. …

Laravel

2 min read

How to set up Laratrust | Laravel 8 User Management | Article #5
How to set up Laratrust | Laravel 8 User Management | Article #5

Sep 24, 2021

Four Reasons Why Xavi Should Replace Koeman as Barca Coach

Most of you may not know this but I am a big Barca fan. This channel was actually meant to be a blog about Barca in the beginning. I will… — Most of you may not know this but I am a big Barca fan. This channel was actually meant to be a blog about Barca in the beginning. I will continue publishing content on Laravel as usual; nothing changes. …

Xavi

3 min read

Four Reasons Why Xavi Should Replace Koeman as Barca Coach
Four Reasons Why Xavi Should Replace Koeman as Barca Coach

Sep 21, 2021

How to set up Laratrust | Laravel 8 User Management | Article #4

Sorry about the lull in publishing; I’m back to publishing at least one article per week. This is the fourth article in our series on… — Sorry about the lull in publishing; I’m back to publishing at least one article per week. This is the fourth article in our series on Laratrust. In this article, we will modify the registration process to allow users to register either as readers or writers. …

Laratrust

6 min read

How to set up Laratrust | Laravel 8 User Management | Article #4
How to set up Laratrust | Laravel 8 User Management | Article #4

Aug 24, 2021

Work!!!

Every schooling child in my country grows up hearing stories about jobless university graduates — on the radio, social media, even church… — Every schooling child in my country grows up hearing stories about jobless university graduates — on the radio, social media, even church. The country’s unemployment situation also makes for a great conversation piece — even when the conversation involves strangers. Each participant is likely to know a few stories about…

Mwc Work

4 min read

Work!!!
Work!!!

Aug 13, 2021

How to set up Laratrust | Laravel 8 User Management | Article #3

This is the third article in our series on Laratrust. In this article we will be seeding our database with the roles and permissions… — This is the third article in our series on Laratrust. In this article we will be seeding our database with the roles and permissions defined in the previous article. We will also setup the migrations and Models we need. Let’s begin. Seeding database with roles and permissions

Laravel

2 min read

How to set up Laratrust | Laravel 8 User Management | Article #3
How to set up Laratrust | Laravel 8 User Management | Article #3

Jun 25, 2021

How to set up Laratrust | Laravel 8 User Management | Article #2

This article is the second in my series on Laratrust. The structure of the blog we are going to build will be explained in this article. It… — This article is the second in my series on Laratrust. The structure of the blog we are going to build will be explained in this article. It will also cover all the background information about roles and permissions we will need. Let’s do this !!! Case Scenario

Laravel

2 min read

How to set up Laratrust | Laravel 8 User Management | Article #2
How to set up Laratrust | Laravel 8 User Management | Article #2
Kenpachi Zaraki

Kenpachi Zaraki

Following
  • Medium Creators

    Medium Creators

  • Suragch

    Suragch

  • Brad Traversy

    Brad Traversy

  • livingLogically

    livingLogically

  • Gustavo Maciel

    Gustavo Maciel

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable