Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Diego Lazaro
4,244 PointsBefore starting with Laravel
I have completed all the PHP courses here (except "Using PHP with MySQL"). Would that one be necessary before starting with "Laravel Basics"?
Apart from the Documentation in the official Laravel website, any other useful resources to create a classifieds website with Laravel?
Any recommendations would be appreciated.
Thank you
3 Answers
thomascawthorn
22,986 PointsHey Diego Lazaro!
To really understand the 'model' in an MVC (model / view / controller) framework, it's best to have good working knowledge of language/database interaction - be it PHP, ruby etc... It certainly wouldn't hurt to run through the course if you've never touched on databases before and you haven't had any MySQL experience. In fact it's probably a good idea anyway because almost every website you'll get involved with (other than a standard 5 page info site) will include a database of some description! The course is really useful!
With regards to creating a real life product with Laravel, Laravel Basics will certainly get you started but may not get you all the way. I combined knowledge from the Treehouse Ruby on Rails tutorials (also MVC), youtube, laravel forums, laracasts and google to create a couple of offline projects.
Hope this helps!
Diego Lazaro
4,244 PointsThank you Tom, I'll finish "Using PHP with MySQL" too then!
I have been doing PHP courses for a while and all this time I wanted to start with Laravel, but I guessed I should know some PHP first...
I didn't know if start coding (or trying to) with PHP or wait until I can do it with Laravel, and I think that's what I'm going to do, once I know some Laravel. As far as I know it's going to be easier
thomascawthorn
22,986 Pointsif you think of your application as a house, you can choose many different kind of bricks from which to build it. Ruby, PHP, Python etc are your bricks in this example.
An MVC framework is a scaffold or blueprint you can use to speed up the process of building your house. Why go through the effort of defining rooms, windows and doors when they're already created for you! Great stuff.
If you want to get the most out of Laravel / php, it is best to understand what is going on under the hood and how the windows, rooms and doors are made. Maybe not all the complexities but a good idea would help you along. It would also give you a huge appreciation for what Laravel is doing for you and how much less code you have to write!!
You mentioned you've already been through a lot of the php videos - have you been through build a simple php application or enhancing a simple php application? If you haven't, the project starts as a normal php site, but is later refactored into a MVC - type application. The difference is, you build it from scratch so this may give you a better understanding about how the concerns are separated and what each section is doing :)
I would finish off the database course and give laravel a go. MVC can be a monster in itself for a student because it takes a while (at least, it took me a while) to grasp how the model view and controller communicate and why they're separated. The more PHP knowledge you can start the videos with, the more fun you will have! :)
Diego Lazaro
4,244 PointsGreat! Yes I have done those two courses, PHP basics, Object Oriented PHP Basics, apart from reading and checking some code in Github. I have some experience in Mysql and I finished the Database foundations course. But I haven't tried to build something yet, I was waiting to learn Laravel to start the project I want to do (classifieds site).
I liked the house explanation ;), it's a good way to see an MVC framework