Programming

create-comment-system-with-jquery-ajax-and-laravel-7

Create comment system with jquery ajax and laravel 7

Hello World, Welcome to ProjectsPlaza.com. Today we will learn how to create a comment system with jQuery Ajax and Laravel 7. In this tutorial, we will save comments and show instantly with the total comments count. This gonna be a very interesting tutorial for me as well as for you (I hope). I have divided this tutorial into the following parts:

  • Create a Post model
  • Create a Comment model
  • Define the hasMany relationship in Post Model
  • Add dummy data for post
  • Create a PostController and define a method for post list and post detail
  • Create templates for post and post detail with comments and show data
  • Setup route
  • Add a comment with jquery ajax and  show instantly

Read More »Create comment system with jquery ajax and laravel 7

fetch-data-with-model-relationship-in-laravel-7

Fetch data with model relationship in laravel 7

Hello World, Welcome to projectsplaza.com. Today we will discuss how we can fetch data with the model relationship in laravel 7. In this tutorial, we will create an example of hasMany and belongsTo model relationship.


hasMany Relationship

Suppose you have a blog website and you want to fetch comments of a specific post on the post detail page. In this scenario, you should have two models, Post and Comment respectively. We know that a single post has many comments so we will define the hasMany relationship in the post model.

Read More »Fetch data with model relationship in laravel 7

How to save form data in database in django

Hello World, Welcome to projectsplaza.com. Today we will learn how to save form data in the database in django. We will use the SQL database. I am assuming that you have installed Django in your system, If not then please refer to this tutorial. We will create a simple contact form in which the user will fill his basic information like full name, email, and message.
I have divided this tutorial into the following parts.

  • Create a contact model
  • Create contact form template
  • Submit form and save data in the database

Read More »How to save form data in database in django

How to create website without coding knowledge

Hello World, Today I am going to create a website without coding knowledge. You just need basic knowledge of internet browsing. In this tutorial, we will create a beautiful blog website with WordPress without coding experience. I have divided this tutorial into three parts.

  • Introduction of WordPress
  • How to download and install WordPress.
  • Create and run the website

Read More »How to create website without coding knowledge

how-to-send-email-in-laravel-with-mailtrap

How to send email with attachment in laravel 7 with Mailtrap

Hello World, Welcome to projectsplaza.com. Today I am going to show you how to send email with attachment in laravel with Mailtrap. This is a very easy and simple tutorial. In this tutorial, I will send a simple email with attachment from my controller function. I have divided this tutorial into the following parts.

  • Setup Mailtrap account
  • Connect Mailtrap with laravel
  • Email configuration in laravel
  • Send email with attachment from the controller

Read More »How to send email with attachment in laravel 7 with Mailtrap

how-to-send-email-in-laravel-with-mailtrap

How to send email in laravel 7 with Mailtrap

Hello World, Welcome to projectsplaza.com. Today I am going to show you how to send email in laravel with Mailtrap. This is a very easy and simple tutorial. In this tutorial, I will send a simple email from my controller function. I have divided this tutorial into the following parts.

  • Setup Mailtrap account
  • Connect Mailtrap with laravel
  • Email configuration in laravel
  • Send email from the controller

Read More »How to send email in laravel 7 with Mailtrap

How to create static application with django?

Hello World, Welcome to projectsplaza.com. This is the third tutorial of the series “learn Django from scratch with example“. In this tutorial, we will create a static blog application with Django. We will learn the following things in this tutorial.

  • How to create view templates in Django?
  • How to add static files in Django templates?
  • How to extend a template in Django?
  • How to share common data in all views?

Read More »How to create static application with django?