Laravel Ajax CRUD | ADD, EDIT, DELETE, LIST in Laravel | Laravel CRUD tutorial | Laravel 8

Поделиться
HTML-код
  • Опубликовано: 27 июн 2024
  • Ajax CRUD tutorial in laravel. Add edit delete list in a single page. Single page application using laravel. Laravel 8 crud tutorial for beginners, Laravel 8 tutorial, laravel 8 crud example, Laravel 8 step by step crud creation, Simple laravel crud application.
    Steps of this video :
    Step 1 : Install laravel latest version
    Step 2 : Connect laravel application with database
    Step 3 : Create Controller, here I have created resource controller
    Step 4 : Create model and migration
    Step 5 : Modify migration file and migrate the migration file
    Step 6 : Create controller function
    Step 5 : Call view file from controller
    Step 6 : Add resource route into route file
    Step 7 : Install yajra datatable
    Step 8 : Configure yajra datatable into laravel application
    Step 9 : Add bootstrap cdn into laravel application
    Step 10 : Create list page
    Step 11 : Using yajra datatable view the list page
    Step 12 : Create add,edit, delete button
    Step 13 : Create modal to create add and edit form
    Step 14 : Build add and edit logic
    Step 15 : Create delete functionality
    Step 16 : Enjoy the ajax crud application with laravel 8
    Please comment your feedback and support me by subscribing to this channel.
    Laravel 9 New upgrades : • Laravel 9 New Features...
    Laravel 9 Tutorial : • Laravel 9 Tutorial | L...
    Express JS Tutorial : • Express Js Tutorial | ...
    Full Node Js Tutorial : • Node JS latest version...
    Full JWT Authentication tutorial in Laravel 8 : • Laravel 8 REST API Usi...
    Full PHP tutorial : • PHP beginners to advan...
    Full ECMA Script Tutorial : • ES6 | ECMA SCRIPT Tuto...
    Laravel 8 tutorial : • Laravel 8 tutorial | L...
    Angular Tutorial : ruclips.net/user/embedvideose...
    Student Management Project : • Angular Project | Angu...
    API tutorial with Laravel : • API tutorial from begi...
    Livewire Tutorial : ruclips.net/user/embedvideose...
    Full Stack Application Tutorial : • Full Stack Application...
    Full Voyager admin panel tutorial: ruclips.net/user/embedvideose...
    Advance PHP tutorial : • Advance PHP tutorial |...
    PHP Interview Questions Answers : ruclips.net/user/embedvideose...
    Follow in Facebook : / learningpointsdotin
    Follow in Linkedin : / learning-points
    Follow in Instagram : / learning_points
    Visit Learning Points website for more topic : learning-points.in/
    #laravel #laravel8 #laravel8x #tutorial #CRUD #ajaxcrud

Комментарии • 65

  • @abdelazizsebrou
    @abdelazizsebrou 2 года назад +1

    Great video!! it help me a lot Thank you very much

  • @jonasrigordocdoc5413
    @jonasrigordocdoc5413 2 года назад

    Thank you for this tutorial! help me a lot.

  • @ashreyashpateshwari2047
    @ashreyashpateshwari2047 2 года назад +3

    Best video for laravel on the internet..I'm going to watch the whole playlist...very helpful videos...please keep posting such tutorials

  • @suneelhassan9581
    @suneelhassan9581 2 года назад +1

    Nice Teaching skill thank you

  • @akshaythorat3904
    @akshaythorat3904 2 года назад +1

    Nice video ❤️

  • @tkar66
    @tkar66 2 года назад +1

    Just nice, congratulations sir🤠🤠🤠🤠🤠😓

  • @mariakarenseronperalta4463
    @mariakarenseronperalta4463 2 года назад +2

    nice tutorial. Although the edit button is adding to new row instead or editing

  • @crabizeus
    @crabizeus 2 года назад +3

    Thank you for the great video!! Can I have the source code?

  • @ZRevesai
    @ZRevesai 2 года назад +3

    Can you share source codes Love this

  • @voskilltheentertainer2564
    @voskilltheentertainer2564 2 года назад

    whatif the student has a belongstorelationship,how can I view,add and edit it in the datatable..lets say a student has a category id of engineering,business school how can I pass the column in the datatable and view it

  • @farabizhaksygali4069
    @farabizhaksygali4069 2 года назад

    Dear friend, thank you for your hard work but could you help me please? When i delete this line data:$("#contactForm").serialize(); (in the blade)everything yajra table and etc are ok but when I put this in code everything except add button disappers

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад +1

      May be there is some error in console. Please check once. And if not solved I can help you. Through the facebook link you can contact with me. Lin are provided in description section

    • @abdoulayegueye719
      @abdoulayegueye719 2 года назад

      i have the same problem help please

  • @Inesondoa
    @Inesondoa 2 года назад +1

    very nice please for source code

  • @divyasivakumar.8470
    @divyasivakumar.8470 4 месяца назад +1

    I got error Uncaught typeerror $(...). DataTable is not a function. Pls hlp me sir

  • @udayangaamarasinghe7442
    @udayangaamarasinghe7442 2 года назад +1

    Error :: Undefined type 'DataTables'. Please help me to fix this. I tried more times to fix it.

  • @samwahlah8124
    @samwahlah8124 Год назад

    please make video on ajax crud using laravel 9 and php latest version

  • @glorychristy3670
    @glorychristy3670 2 года назад +1

    Great Job. well explained tutorial,
    However, the list of students is not displayed.
    help me!

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      What is the error?

    • @glorychristy3670
      @glorychristy3670 2 года назад +1

      @@LearningPointsCourses no mistake.
      I had loaded 2 different jquery.
      He had dependency conflicts.
      When I realized I corrected and the issue is resolved.
      everything is going really well.
      good work.
      I still hope for new tutorials from you.

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      @@glorychristy3670 Nice.

  • @tinymochi3240
    @tinymochi3240 2 года назад

    Sir please help . syntax error, unexpected identifier "Students"

  • @abdelazizsebrou
    @abdelazizsebrou 2 года назад

    I did all without any problem except updateOrCreate won't update, please help me

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      Is there any error?

    • @abdelazizsebrou
      @abdelazizsebrou 2 года назад

      @@LearningPointsCourses
      without any error appear, but when i edit and click button Save, Data don't changed no error !! Please how can return error if function updateOrCreate failed?

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      @@abdelazizsebrou It returns boolean response. Check if this functions return true that means it executed otherwise not. And also enable error display option from your php.ini - it will help you.

    • @abdelazizsebrou
      @abdelazizsebrou 2 года назад

      @@LearningPointsCourses
      please check ur email

  • @hometech2337
    @hometech2337 Год назад

    haw can arrive to CRUD|| USE Yajra 💔

  • @rosenoire5546
    @rosenoire5546 2 года назад

    good please can i have source?

  • @tulumzyber7939
    @tulumzyber7939 2 года назад

    I have an error in laravel 9 php artisan route:list pls help

    • @tulumzyber7939
      @tulumzyber7939 2 года назад

      PS C:\xampp\htdocs\pharma-mine> php artisan route:list
      Illuminate\Contracts\Container\BindingResolutionException
      Target class [HomeController] does not exist.
      at C:\xampp\htdocs\pharma-mine\vendor\laravel\framework\src\Illuminate\Container\Container.php:877
      873▕
      874▕ try {
      875▕ $reflector = new ReflectionClass($concrete);
      876▕ } catch (ReflectionException $e) {
      ➜ 877▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
      878▕ }
      879▕
      880▕ // If the type is not instantiable, the developer is attempting to resolve
      881▕ // an abstract type such as an Interface or Abstract Class and there is
      1 [internal]:0
      Illuminate\Foundation\Console\RouteListCommand::Illuminate\Foundation\Console\{closure}(Object(Illuminate\Routing\Route))
      2 C:\xampp\htdocs\pharma-mine\vendor\laravel\framework\src\Illuminate\Container\Container.php:875
      ReflectionException::("Class "HomeController" does not exist")

    • @tulumzyber7939
      @tulumzyber7939 2 года назад

      my Controller is DiscountController not HomeController

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      Will publish laravel 9 full tutorial very soon

  • @jorgedominguezalvarez9089
    @jorgedominguezalvarez9089 2 года назад +1

    Undefined type 'App\Http\Controllers\DataTables'.intelephense(1009) in laravel 9

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      May be something wrong you did. Please check once.

    • @jorgedominguezalvarez9089
      @jorgedominguezalvarez9089 2 года назад

      @@LearningPointsCourses laravel 9

    • @ilahazs
      @ilahazs 2 года назад

      @@jorgedominguezalvarez9089 check your vendor, probably the problem is from the installation package section. I'm usually do php artisan vendor:publish and check the package you want to install and type the matching number.

    • @jorgedominguezalvarez9089
      @jorgedominguezalvarez9089 2 года назад

      @@ilahazs thanks You

    • @udayangaamarasinghe7442
      @udayangaamarasinghe7442 2 года назад

      I have this problem. Please help me with how to fix this.

  • @Fajar-hb5hx
    @Fajar-hb5hx 2 года назад +1

    why in delete you use route store not destroy

    • @ilahazs
      @ilahazs 2 года назад

      same question, pls respond this author

  • @Matchalattechoco
    @Matchalattechoco 2 года назад

    my student list wont display, please helppp

  • @tulumzyber7939
    @tulumzyber7939 2 года назад

    pls make un update with laravel 9, plsss

  • @alessiogil3778
    @alessiogil3778 2 года назад

    it doesn't work. can you please provide source?

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      What is the problem?

    • @alessiogil3778
      @alessiogil3778 2 года назад

      @@LearningPointsCourses the DataTable part doesn't work. it gives a json error. it works if i delete the datatable using plain view of the students. it would be great if you can provide in your videos the full source so that one can understand

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      @@alessiogil3778 Sorry dear. I don't have source code now. May be there is some minor mistakes. Check once or search from google.

  • @Deepaksoni-xo4xi
    @Deepaksoni-xo4xi 2 года назад

    Edit is not working sir , you wrote half code.

    • @LearningPointsCourses
      @LearningPointsCourses  2 года назад

      Please follow full tutorial, it will definitely work

    • @Deepaksoni-xo4xi
      @Deepaksoni-xo4xi 2 года назад

      @@LearningPointsCourses share you email or whatsaapp no so that i can send you proof that this edit code is not working

    • @Deepaksoni-xo4xi
      @Deepaksoni-xo4xi 2 года назад

      @@LearningPointsCourses if i am doing edit but it,s adding new student.

    • @Deepaksoni-xo4xi
      @Deepaksoni-xo4xi 2 года назад

      Please help me out , if you can.