Laravel Category Management With Infinite Sub Categories

所在平台: Udemy

课程主页: https://www.udemy.com/course/laravel-category-management-with-infinite-sub-categories/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Laravel 分类管理与无限子分类 课程概述: 在这个课程中,我们将深入探讨如何为动态内容上传的网站(如博客或电子商务网站)构建一个有效的分类管理系统。通过本课程,您将学习如何管理 Laravel 网站上的类别和标签,包括如何根据类别和标签查询帖子,以及如何添加和删除帖子。所有课程文件均可下载。 本课程将涵盖以下几个重要方面: 1. 分类管理页面: - 创建一个表单用于提交新分类 - 查看已创建的分类 - 创建分类树形视图 - 将子分类分配给父分类,支持无限子分类 - 删除分类并向用户提供反馈 2. 标签管理页面: - 创建新的标签并保存到数据库 - 查看可用标签的列表 - 选择标签是否为应用依赖 - 删除标签(如可删除),并为前端提供反馈 3. 创建文章页面: - 将新文章分配到一个分类 - 以树形视图显示所选分类的所有父级 - 可选择为新文章分配标签 - 输入新文章的标题和图片 - 提交并保存新文章到数据库 4. 首页: - 创建布局,显示所有文章 - 列出数据库中所有可用的分类,以便用户点击分类时,能够显示与该分类相关的所有帖子 - 显示与特定标签相关的所有帖子 5. 搜索页面: - 接收分类 ID - 获取与该分类 ID 相关的所有帖子 - 检查该分类是否有子类 - 如果有,将获取该分类的所有子类及其相关帖子 - 创建一个集合以组合两个查询结果 - 使用 foreach 函数在 blade 模板中显示结果 本课程将为您的Laravel网站提供强大的分类管理功能,是每个网站开发者必不可少的技能。

课程评论(0条)

课程详情

Every website that uploads any sort of content dynamically will need a category management system , in this course I show you the right way to manage categories and tags for your Laravel website be it a `blog , E-commerce I will also show you how you can query posts based on categories and tags and also how to remove and add posts from categories. All the files are available for download in the resources Because this is an important part of every website , we are going to dive deep into managing parent categories , Sub categories including all it's children so that you can manage website queries efficiently We are also going to create 4 separate pages in this course# 1.Category Management Page in this page we are going to:To create a form where we can submit our new categoriesCreate a section where we ca view and see our created categories Create a tree view for our categories Be able to assign children to parent categories -unlimited children Be able to delete categories and provide feedback to our user..... etc# 2.Tag Management Pagewe are going to:Create new tags, submit and save to database Have a section where we can see our available tagsChoose whether a tag is an app dependency or not ?Delete our tags, if it is deletable provide feedback to the front end # 3.Create Post PageIn the create post page , we are going to:Assign a new post to a category Show all the parent of the selected category in a nice tree view: 'parent >child >child1 >selectedChild'be able to assign a tag to our new post (optional )add a title to our new post add an image to our new post submit and save out new post to our database # 4.Home page In the home we will:Create a layout and show all our posts on our landing pageCreate a section which list all available categories in our database , so that when we click on a category we will be able to display all posts related to that categoryHave a section which show all posts related to a particular tag# 5. Search PageIn the search page we are going to:receive a category ID Get all posts related to that category IDCheck if the received category has any children Category If it has children , then get all children of the Category and also get all posts related to those child categories Create a collection where we can combine the results of two queries Display the results be creating a foreach function in our blade

课程标签

0人关注该课程

主题相关的课程