SayedMohidin

SayedMohidin

Member Since 3 Weeks Ago

Muharraq

Experience Points
4,120
Total
Experience

880 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
38
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
4,120 XP
Mar
26
2 weeks ago
Activity icon

Replied to Integrating VUE In My Project

@edgarpsda Thanks a lot mate, I appretiate your help!

Activity icon

Replied to Integrating VUE In My Project

@edgarpsda I also had one last doubt. If I base the entire project primarily on Blade, but then I will have to use JS for some features like Live Notifications or Live Chat, do you think it is better to use JS framework for such tasks and is it possible to use these frameworks just for those features like how we used to use Jquery back in the days

Activity icon

Replied to Integrating VUE In My Project

@edgarpsda Thanks Alot for your response

Activity icon

Replied to Integrating VUE In My Project

@edgarpsda Thank you for your reply. However, my entire project will not require the front-end to be handled by JS, rather a few components of it like the chat system that will b integrated in it. Do you think a project of such nature will require depending on a front-end JS framework?

Activity icon

Started a new Conversation Integrating VUE In My Project

I am currently working on a multi-page web application and am using the Laravel framework to build it. I am not much of JS person so I had confusion regarding its frameworks.

Since this is a large scale multi-page project, I was wondering if it will be wise to let Vue Framework manage the front-end completely since this web application will have certain features that will require complete reliance on JS to fetch data in real-time without reloading the page. Some of the features may include a real-time notification system, chat system and many more.

So considering the fact that I am not building a single page application but rather a multi-page in which I just require Javascript on some features, is it preferable to build my front-end using Vue.js and if so how do I integrate it on an existing project. Because most of the tutorials that I came across demonstrate how to build a new project using Laravel and Vue.

I will be really grateful to have your opinions, Thank You.

Mar
23
2 weeks ago
Activity icon

Replied to Storing Data In A Multi Step Form

@sti3bas That worked. I appreciate your help. Thank You.

Activity icon

Replied to Storing Data In A Multi Step Form

@sti3bas Can you please tell me how to keep collecting data and save them to the session without losing the data of the previous steps?

Activity icon

Replied to Storing Data In A Multi Step Form

@sti3bas I know that can be done, but since this is a multi-step form I want to save the record only after the last step. Until then I want to carry all the data in a Session Variable.

Activity icon

Started a new Conversation Storing Data In A Multi Step Form

I am designing a multi-step form on Laravel 7 according to the guide in https://www.5balloons.info/multi-page-step-form-in-laravel-with-validation/.

What I want to achieve in my project is a multi-step PHP/Laravel based form that will collect data from Users in a four-step form and submit all the gathered data in the end. If this was a simple form that submits data into one eloquent model then it would have been straight forward. But what I am trying to achieve is to submit the data into various tables that are linked to one main table through a 'many-to-many' relationship.

In step one of the form, I have fields like "name", "description", "slogan" etc that are to be entered in the main table called "Info". Using the session variable I pass on the data from Step one to step two where the confusion begins.

In step two of the form, I want to provide certain options that the user can select from. For example, a "Select Language" Field which will list all the data available in the "languages" table to the user from which the user can select multiple languages. The table(languages) is related to the table(info) in a 'many-many' relation. Due to which I have to insert the languages selected by the user in a pivot table. When I try to do that I face the error stating

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'info_id' cannot be null (SQL: insert into info_language (info_id, language_id) values (?, 1))

when I try to run the following commands

    $info = $request->session()->get('info');
    $info->fill($request->all());
    $info->languages()->sync($request->input('languages')); \Error is in this line
    $request->session('info', $info);

Note: When I try to dump $info - I get all the data that I had filled in step One When I try to dump $request->all(); - I get the data from the "Languages" field that the user selected.