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

PHP

Konrad Pilch
Konrad Pilch
2,435 Points

When would you move to learn Laravel?

Im doing PHP with OOP and i was just wondering, when would it be good to move into Laravel?

I can make database connection, classes, methods, functions.. i get the logic behind it ish, i would need more practice on it but i was wondering, if i move to laravel, shoudn't i get even better at pure PHP?

For example before going to bootstrap, id learn enough CSS to know how to position and build the layout, and then go to bootstrap. Tahts what i did, and now im even better with CSS, so i was wondering if thats the case frlom PHP to laravel.

When shall i move and learn it?

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

You're probably ready to jump in. You can use Laravel to help further your skill by learning how Laravel works internally. That will show you a larger world on OOP. And you'll get the benefit of looking at code many skilled developers have already vetted.

Konrad Pilch
Konrad Pilch
2,435 Points

I though to do a bit of a CMS system with login and stuff like that. With procedural programming and then translate it into OOP. Just for practice and understanding. Im doing PHP OOP for a week lol, but i re-call a lot form JS so its fairly the same. And i did PHP basics time ago too.

So withing few weeks i shall build a facebook site ready to deploy in few weeks, a month? and learn a lot more PHP? if i can understand the magic behind? Since in laravel 5.2 you can make a auth system with one line od code ;d

Kevin Korte
Kevin Korte
28,149 Points

Yeah, just give it a go. You can actually learn quite a bit from the framework itself if you start digging into the source code. You can probably build a pretty cool site in a month or two with laravel depending on how much time you have.

And where'd you go in our Slack channel? Log back in!

Konrad Pilch
Konrad Pilch
2,435 Points

I did dig a lil in the source code, and what i can say that it's too complex lol , i mean, there must be basic OOP i believe and advanced OOP id guess. Didn't cover few things thats in the framework code.

I'm gonna finish what I'm doing with pure PHP OOP, few days 1-3, depends how much time i put into it and effort. Then im gonna dive into laravel lol

Id guess I can always learn laravel, do the website I want, and then always comeback to pure PHP :D

I need to go but ill reply a lil more in few minutes.

Konrad Pilch
Konrad Pilch
2,435 Points

$database = new Database();

Jean hacked me and blocked my IP address. Access Denied.

$database->disconnect();

Well, ofc we talked quite a bit before about , id call it 'life' lol and iv talked with someone else as well and it's like you say, it's not as easy as i think it it, and thats how it is :) - it's not that easy.

Well, I had a dream i think or either not lol but when i woke up I had this conversation of you and bella form slack, telling how i sit on slack gorup not messing around or something and jumping too quickly without having a good foundaiton and stuff lol it was last week and with all said above, i looked at others, especialy reviator and i remember helping him with few things with PHP, and now he knows more PHP as well as other guy and im like.. iv been trying to build a simple site now over two years.. and i could never learn on how to... struggle is real lol

So now iv decided that this is the year, i need to make it happen, treehouse subscription is out from last week.. and i wont be getting any till i earn, sinc emy balance is 0 i can't get it.. and i got few courses on udemy, some free courses on larcast etc.. and i just need to practice. I need to learn what i need to get into an agency, as well as learn enough to make the site that i always wanted to, as well as for my mum which has few thousand people on facebook page.. and i mean.. with a site, that could be you know, it woudl work because it worked for others, but their site is crap! I don't think theyd stand a chance llol

But yet i don't have the site so .. im out of the game.

Plus it takes a lot of consistency and dedication, i was deciding what i wanted to do with my life really, what is it that i was doing, and all things around. And if playing games a bit, or going on sites at night that takes few hours 1-3 per day, because its addicting.. and then i sat on slack.. and wrote chapters, and my time just ran out and I didn't felt focused.

In the past week iv been going sleep ealier, my face has improved as my mum said and someone else, i just need to make it even better. Im sure i coudl do 10times better then what im doing now.

So the best thing was to close the windows, close the doors, let no one bother me, turn the things like slack , mobile phone off.. and focus , because im learnign something very important. At the end this is what i want, i learn this and when i earn from it, thats when it all starts. As long as i earn enoguh from it lol but it shoudl be enough..

I just need to sort my self out. You know, beeing in slack, and talking about all this things, and people writing me about stuff like "Did you try to hack my laravel site?" and im thinking.. i don't evne know that.. etc.. and i was getting this illusion that im acutally a web developer, which im not. At least from my view. If id be able to user PHP with docs only, like HTML and CSS, and do more jQuery or JS, and create facebook functionality site like, then yeah, id could say im a web dev, but now it was all illusion.

Im glad i find PHP fairly easy to understand.. i just need more practice and time to understand pure PHP OOP, but i also want to move fast with the websites i have in my mind, so i though about laravel now, and then comeback to pure PHP. I just don't want to lose what iv learned now, since my neurons didn't get hard enough lol. If i don't do HTML and CSS for 3 months, it doesn't take me long to remember it all.. you if i studied really PHP OOP for a week, i might forget most of it, which isn't what i want.

And i wrote this post just before sleeping. See , its 22:33, i ment to get off the computer at 22:00. And no, im not beeing to hard on my self as some people say, but thats the reality. I know what i need to do because i want to doo to achieve what i want, and i know whats healthy to do and how things work because i have experimented with it too. I know for example that if i go sleep before like 22:30, my skin, in a week will get super good. I know that if i go sleep after or just before midnight then.. nope. Maybe a lil..

And i started to do breaks on the computer, and my eyes don't hurt.. but sadly im sure that my vision is gone now.. when i was 14 years old i had like 0 , -0.75 and thing went pretty bad in the past two years.. so thats probably somewhat -2? i still see.. with both eyes, with my left eye yes, my right eye, umm, and to think we have only one life, unique eyes that we can't get back no matter what. Laser surgery? that is safe? mmm.. but why destroy my body.. i shoudl respect my self right , take care .. and i just really need to realise how the life is too.

You know, I'm a big believer.. but, things don't come free. Unless something happens, then yes, i coudl expect one million in my bank account in few months.. but you know if we are realistic, which doens't mean this is unrealistic, its just throwing stuff a bit around as if tomorrow im gonna earn a billion .. if you get me. It's like with sport, you progress withing few months, to years. Withing few months ur gonna be fit and possibly called an athlete. Withign few eyars ur gonna be not the average athlete, if u get me.

And yesterday , i went sleep at 2am. And today i played games. i did go out a lil, and i didn't take as many breaks. Well, this is one exception, i did pretty good from whenver i seft slack.

But see, i need more self control, i need discipline, because otherwise i woudn't completelly lock my self right..

It's just.. not as easy as i think... and especially when we are in a corrupted society. That makes thing even harder.

And i can't be bothered to change my name on slack either, plus i don't even know how - before i spend like 10 minutes looking how to do it lol so id might just comeback when i can build websites or webapps with php oop and laravel. And at least im gonna have some skill, as i don't really see HTML, CSS and jQuery as something 'WOW' it's just easy and you can't do much with that anywasy.. i mean yeah.. jQuery etc.. but theres no programming in it.

You get me.. like who I am..( and i don't mean athlete, millionaire, programmer) everything just sucks. I need to make things happen, and just really.. get off this toxic college scam and all this stuff, go and live clean. You know, I'm with my mum , but soon id be on my own, less than a year.

Iv see how people live on their own, and thats a perfect enviroment. I really think if things woudl be different, they woudl be better. You know, when i spend months sittign on the computer form 9pm to 12am and getting little sleep. If only that person wasn't there. yes, its my fault i stayed.. but if i look at how i was, and that the decision was stupid.. now im not like that, now i stand solid on my feet. Ofc.. i don't earn.. but it has nothign to do with it. Lol i just want to get all the good stuff.. but with that the hardwork comes in with sacrifices which i don't really need to do because im locked in my room whole life anyways.. it's just before i played games non stop.

But it's not even programming, its evne martial arts, i do it for 4 years and im bad. I can actually give you more tips and talk about it then do, same with programming. I don't know if you know, but you can write HTML code in xcode. I mean, many developers got suprized when i told them... but thats more liely acumulating information. iv seen a lot of people here at treehosue that knew how to programme, and they asked such a basic question.. and id guess that ebcause iv spend more time looking around.. which programming is better. if you get me.

Goodnight