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

How worth is to use PHP

How worth is to learn PHP now? I mean sure.. 60% of web uses it.. but Ruby on Rails is here!

Well, actually my question is, will PHP and Ruby on Rails be still the main back end server langauge? Like , it will last still for many ages right? not mentioning Ruby on Rails is new.

2 Answers

Shane Meikle
Shane Meikle
13,188 Points

This question really depends on what you plan on doing. PHP isn't going anywhere for a long, long time and I would say that the same could be said for RoR. The bigger picture is also this: If you are looking to learn it for business/employment, then it would be very well worth it since even if new technologies/languages come along to make those languages obsolete, the chances of businesses rewriting their apps for it would be small (for example look at how many businesses probably still use XP as an OS).

Konrad Pilch
Konrad Pilch
2,435 Points

Well, mainly i would preffer having a job as soon as i can from programming . Though, PHP doesnt seem that hard : p it seem easy but complex really .

Well, at the end i will run my own business. But if we spend on a language 5 years, but the language will disapear in 5 years, it would be better to learn soemthing else than that right? im omming from this kind of view . But since thier gonna be for long time, it should be okay fro anyone learn whatever they want i believe :)

Shane Meikle
Shane Meikle
13,188 Points

Nothing is hard to learn if you spend time and effort learning it. The basics of PHP are really easy to pick up and run with and that is why it is so popular (but also why it is so loathed as well, by some). If you are looking to use it for employment, you will want to dig a lot deeper and learn the frameworks as well as 'companion languages' such as javascript/Jquery, Ajax, MySQL, and so on since they are (at least one of them) also used within the same project.

Also, it is beneficial early on to learn the OOP aspects of PHP (especially if you are not familiar with them from another language).

Konrad Pilch
Konrad Pilch
2,435 Points

I'm doing a log in, log out, registration, user account, etc.. Website and i want to learn it hoping it will teach me all and as well as a framework too. And i hope in maybe less than 3months or so, i can find a PHP web developement job. The other languages like JS with it, it takes time but as with only start with PHP? As i won't have to waste my time on low jobs and still learning all the Time.

I Dont know what's OOP.

And I'm doing now a simple registration and now I'mearning how to make a log in with user details on PHP, i believe there's more, and I'm sure, but it can be learned. Pretty fast i believe, at least it seem from my part but I can't judge it. Well I'm doing MySQL since its with PHP xd or at least phpmyadmin xd i take it as one: p its simple because the code write it self in query but it's not hard to write it anyways, it's very simple, but the whole of it, of the project seem complicated with all this.

Shane Meikle
Shane Meikle
13,188 Points

To be honest, a company that would hire you on with only three months of general php experience is not a company I would want to work at for long. It would be different if they were taking you on as a mentorship/internship type of deal, but as an actual contracted employee, it shows they aren't interested in the result of the end product and that would look badly on you in the long run.

One way to test your knowledge is to download a php application (such as Wordpress) and look at the files. If you can understand the basic idea of what the files are stating and the flow of data, then that is probably a good indication that you are ready to start picking up work within a collaborative environment.

If you are looking for something to get you into the door quickly, then this is the wrong route to take. HTML/CSS are a lot easier/quicker to learn and expanding your knowledge in that can get you in the door as a front end developer.

Konrad Pilch
Konrad Pilch
2,435 Points

I mean like a agency or something.

I know HTML and CSS plus bootstrap but allways when i look for a job on that, theres a equirement like JS or something else.

I decided to do PHP and there was a job with wordpress , though i didnt do much with wordpress yet . And its a coropration . It was for a junior developer.

Well, im getting to know PHP better but thank you for the advice. When i feel i know PHP well enoguh, ill gonna look at wordpress code and see if i get the idea of it .

My city has 300k people, so i dont know if theres just not any HTML/CSS jov here.

But after 3months, thats enough to do like any e-commerce site and understand it how it works so why would 3 months not be enough? Im not talking about other langauges but just PHP . It looks pretty simple, there are quite a bit of concepts to understand and get it working , but that shoudnt take a lot of time, at least i dont know, it doesnt seem to , i get it pretty fast now though its just like pretty simple , registration : p now im going to learn log in which will require me additional stuff to learn like sessions cookies etc.. which will cover , or should this " -> " as well as other things .

If you look here i typed HTML and i cant find any of that , nor HTML/CSS.

Shane Meikle
Shane Meikle
13,188 Points

If after three months you feel you are ready to jump into it, then only you can really know if you are ready. The problem with that is there is a lot to learn beyond the initial easy parts of PHP.

Here is a bit of an analogy: Imagine someone decides to take up being a surgeon as a career. It seems easy enough on the surface, cut someone open, take things out, put things in, clamp things together and so on. Pfft, easy enough and that all can be learned in three months. Now, say after that three months a hospital hires on that surgeon. Would you want to have him/her operating on you? Would you trust the overall judgement of that hospital for providing your overall care?

Taking the analogy further, say that surgeon comes across a surgery that is way over his/her head. He tackles it anyways because that is now his job. He messes up and does something really bad like fuse a heart to a lung or something. Patient dies. The hospital isn’t going to back you up on this, they are going to terminate your employment there. How many other hospitals are going to hire you on now, you think?

The example is extreme but it fits because when people bring projects to a company to have them developed, they want the best, it is their ‘baby’. If you are put on such a project and don’t have the experience needed, well, I am sure you get what would happen.

Three months in, if you are feeling you have a solid grasp, look to see if there are any internships or mentorship programs for what you want to do. This way, while mistakes are still bad, you will have someone looking out for you and guiding you on in a supportive role. Doing that for about six months to a year will give you invaluable experience and make you much more attractive to the real companies you would want to be working for.

Konrad Pilch
Konrad Pilch
2,435 Points

I understand it. The example you put is for sure extreme, but i know what you mean by it. Basicaly if you are developing something, they want you to perform with like almost no mistakes i belive, so it works, and the code is good. If they hire a person that cant handle, then he will make bas choices and well..

So the thing to learn about it is to have a storng grasp like in CSS i believe. When im in CSS, i feel i can do anything i want, especialy if i look on the internet. With and without framework. I basicaly can do with whatever i want , i can just look it put if i dont know something .

SO same should be with programming right? you need to do like kind of anything but you need to find a way out , unless , ur stuck for 2h , you may just ask the guy sitting next to you .

So i believe, if i want to get anything from it now, the best way its to freelance? its hard to freelance as its hard to market , at least my self . I would be really happy if i could make some projects to people, at the moment, im able to do static webistes and of course with automatic data in PHP or if i use bootstrap carousel and some simple jQuery effects too as thier easy but thtats all. And with money, well, im more interested of getting , of doing a webiste in the first pharse of my developement, but extra money would be extreme helpful. Even if thats from 50pounds to 500pounds, still somehtig especialy after 200pounds. But thats not as importand, more likely the experience im up to . Though i want to move fast and eliminate going to low paid jobs by focusing on programming that will give me a great effect. Everyone probably start like me, and theres no magic to earn like that or gain experience, but that why i ask questions as well : p and i really want to know the father stuff so i know how things go around.

And as a web developer, what job would a web developer do there? a first time PHP or CSS web developer, they just tell him what to do an he does it? like " Make a e-commerce site with PHP, other teamworkesrs will add HTML/CSS and will hand over to you to do the PHP work, after that the website will go to a JS programmer" ?this kind of job ? thsi works like that?

Shane Meikle
Shane Meikle
13,188 Points

Having a strong grasp of the basics is a must, and a general idea of the more advanced is certainly recommended as a minimum if you know where to find resources to pad your knowledge. Put the PHP Manual site as a bookmark since you will want to reference it a lot. Stack Overflow is a good site to get acquainted with as well, if you aren’t already.

The important thing is to protect your reputation as a developer since it is hard to come back from something critically damaging. There are quite a few freelancing opportunities you can try out, check out sites like Craigslist, Odesk and the like. If you find a project that interests you that is over your head, send them an email anyways asking if you can come on as a collaborator or something and mention that you will be willing to do it for the experience and not payment. In most cases they would be fine with it.

Another thing to do would be to search around the web for quizzes/tests for the subject. Those will help you determine how much you know and give you an idea on where to focus your learning.

As for how most companies operate their development teams, it will vary depending on the size of the company. In most cases, front end and back end development will be split between teams and then split even further depending on the project and size of the teams. Small projects and/or small companies may even have a single team or person do the whole thing.

Konrad Pilch
Konrad Pilch
2,435 Points

Hmm, im going to do small projects to see what i can do too with the basics or advanced wherever what comes to what category . Thats a good idea to go dor web quizzes and tests on the subject .

I will heck the sites you mentioned :) If i work for free just for experience, and make some error , will the reputation be moved or not? because really i think the best is to go to gain experience as you can learn faster and better from people allready there .

I will do for sure my own projects like treehouse /facebook, but simple .

Before i dive in the agencies/companies, ill for sure make sure that im good to go there. If posting my codeon treehouse, or looking on google for more information about this , even though google is pretty bad as i coundt find anything about what we were writing .

Thank you very much for the conversation, i will defenitely save up this :) Ill better go and take a CSS quiz/test now :D