I started working with Laravel about a month ago and I started by reading the documentation etc. Now I'm working on a project in Laravel 4.2 and I skipped some parts of the full documentation. In my current project I'm not using models and my fellow programmers tell me it's good to use models. I know it's pretty standard to just use models in a Laravel project and I've read parts of the documentation of models by now. I see it's a clear way of working with tables etc. Now that I'm like in the middle of my project, I dont know if switching to models now, would be a big advantage. Since I have no experience with models. (So I have to learn it from the start). I'm currently doing everything in the Controllers. I cant see the disadvantage in using the query builder from Laravel in my controller instead of using the models. I do plan to eventually start other projects with models, but switching to models right now doesn't seem like the best thing to do in the middle of my project.
This is a real project. I'm planning to get it online and people will actually use it.
Im still a student
So basically:
- Is there a reason for me to switch to models in my current project?
- Is there a difference in performance between my method and models?