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 trialdaydreamer99999999
4,648 PointsDoes it make sense to write php apps from scratch?
Hay there guys,
I have a little question about learning php and php frameworks. At the moment I learn PHP and the laravel framework for some little projects at work and some private projects as well. But I'm pretty sure that I won't learn that much about PHP when I only work with frameworks and never write something from scratch. So I thought about if it would make sense to build some little websites from scratch just with PHP and a little template engine.
But I don't know enough about web-development at all to say it's a good or a bad idea. So I hope you can give me some good advice here :)
2 Answers
Mathieu HAYS
9,623 PointsI think that it can help actually. It's always better to know what's "under the hood".
The thing about doing it from scratch is that it'll take a lot more time to build and it won't be as secure and optimised as the framework you could be using.
If those drawbacks are not a concern for you, go for it !
Good luck :P
Mathieu HAYS
9,623 PointsI guess that most of the PHP course on teamtreehouse should do the trick.
If you don't know much about PHP, you should learn how to interact with a database (like MySQL). You should know how to do Object Oriented PHP and probably how to handle APIs.
but anyway you should be able to find all that kind of stuff in Team TreeHouse. The PHP track covers what you need to be comfortable with php: http://teamtreehouse.com/tracks/php-development
daydreamer99999999
4,648 Pointsdaydreamer99999999
4,648 PointsThe "what's under the hood"-thing is the reason because I think about it. If some day I have a specific problem what laravel can't handle (if such thing exists, I don't know :P ) I would like to have the knowledge to do it in a proper way myself. I total aware of the fact that my solutions won't be as secure and so on as the code that's written and checked by much more experienced developers than I am. But I can think of a better way to learn whats going on under the hood. Any suggestions perhaps?