Back

Am I failed in life by choosing PHP development as a career ?


##Am I failed in life by choosing PHP development as a career ?##

See, I have work experience in PHP of total 2 years. I got recruited thru campus interview by my company. I was in 8 people selected out of 467 students.

Then my company assigned my PHP(core OOP php, frameworks,REST api,wordpress,magento and client side coding i learnt there). I am here on Stackoverflow (stackoverflow.com/users/3326275/jquery-php-magento-com?tab=profile) I am one of the Kickass dev in above technologies. I love mysql complex queries.

Now when I look back and see my friends, they were even had lower marks than me all over university exams. But their company assigned them Java, and now they have twice salary than me , their future is 100000 times brighter than me , and they are now in multinational company.

Now here is my story/future.

Lots of people in php field dont go high. People work in php have very less salaries. Senior developer in my company(with 8+ yrs of experience) has salary of 2+ years experienced Java developer. Almost all developers work in small company till the time they die in life(forever small company) They have to hear taunts 1000 times: PHP devs stay in small companies forever, Java devs achieve great things and work in Big companies.

Due to all above, I think my career didnt progress well at all. And moreover it all gave me DEEP depression.

Now if I start finding any java company , they will give me salary of entry developer salary :( :(

Any chance my career will ever have progress ?

Am I failed in life by choosing PHP development as a career ?

Thanks for help

Edit 1 >> Now the situation is changed. I no longer regret working with PHP. The advice I would give to PHP devs, join Big companies(Like I did). :) I earn decent 42K a month with 3 years of experience in product based company. Enjoy life , and learn new technologies in WEB field such as react js , angular, node js etc. Contact me [email protected] or facebook https://www.facebook.com/pratik.c.joshi . Just believe good days will come if you are smart developer.

Edit 2 >> Now I have 3.5 years of experience and yesterday I got job that pays me 60K Rs in hand, total 8,1 Lacs (Rs)Per annum package.

Edit 3 >> Today I got appraisal. My CTC is becomes 9.5 lpa. Which means 80k INR per month. Thanks a lot friends

Thanks

astroanu replied 4 years ago

You know what ? for a person with 2 year working experience i think you're really good. php jobs have less salaries i agree on that, it's because there are so many developers for php and they will work for a few bucks. I've been doing PHP for 5 years now. And i'm happy with my job and career.

If you're not happy to continue your career with PHP then i say switch your career. or language you're using. Programming methodologies are almost the same for all languages. It's just a matter of learning a new language or a technology and i do this every time. For the past few years i've learnt python, ruby, angular and even java and c# and many other technologies. Companies today hire people with experience not higher marks in exams or people who have degrees. People who learn new things will move on with the technology and who dont will get left behind. I didnt get to complete my degree because i didnt have money at that time. I may not complete it anyway. I'm a senior web application developer and the CTO here.

khanof89 replied 4 years ago

What are you drawing right now and what according to you is best salary for you? I must say you are a kick ass developer with good skill set. But if by any chance you are stuck with a wrong company who does not appreciate your skills and your work I suggest you to switch the company at first instead of switching your platform.

jimgwhit replied 4 years ago

Yes, Have a career first in something solid, i.e., welding, plumbing, aviation mechanic, nurse, doctor. Or a career programming for a Federal or State, or Local government. But for that you will probably need to learn Java, servlets, jsp, jsf (don't like), spring, and various other java technologies. You can work programming php sites or have a career in something solid. I don't mean to down talk php, as I now use it. But I am retired and have a few production sites that I did and maintain for part time income. The big careers (REAL CAREERS) are in the java technologies, whereas jobs are in php and asp.net.
Example, The State of Texas uses java technologies.
Whereas some small companies that you do not know how long they will be around may have a job offer
to program and maintain a site done in laravel.
So again Career vs job = big difference.

PrettyHotProgrammer replied 4 years ago

Okay, okay - Here we go...

  1. You don't have to "choose" PHP. There is nothing stopping you from learning Python, JAVA, C#, Ruby, etc. You can learn other languages you know?

  2. PHP7 - Believe the hype. I've been programming with PHP for over 13 years and I can say the language has evolved for the better. OOP, Namespaces, PSR, etc. PHP7 will be the bomb and the next step in this evolution. Inforgrapic on PHP7 performance https://www.zend.com/en/resources/php7_infographic

I make a great living and code mostly in PHP and Laravel. I wouldn't change a thing.

astroanu replied 4 years ago

hmm.. I guess he was depressed and wrote this post ? poor guy.

kikuyu1 replied 4 years ago

I would suggest you try Javascript, I think this is not about the salary, it's about you want to try something new. Move on.

brandonlamb replied 3 years ago

Hi there. I've been a PHP developer since ~2001, up until around 3 months ago. I have always felt like I reached that top tier of PHP knowledge where I could do anything, etc.

Enter REST API development and Java EE. The company I work for began a SOA initiative and many teams select Java EE as the language of choice. I began investigating and prototyping and my mind was blown. After three months I have a fully working, 15-endpoint API using straight up Java EE on TomEE (no Spring or frameworks).

It seems funny thinking back to namespaces, lambdas, composer, PSR, etc. The PHP-FIG/PSR is nothing compared to the Java community and JSRs. There are/have been hundreds (if not more) of JSRs compared to the 7 or so PSRs.

Maven, with it's huge repository, build system, ability to setup Nexus as a local repository and maven cache, everything plugs into Jenkins.

In a complete apples to apples port of our 15 endpoints (one API), we saw a 225% performance boost in requests per second compared to PHP. CPU usage was also around 35% (4-core) versus PHP pegging the box to 99%.

I could go on and on. I love the strongly typed language, and I have discovered many programming deficiencies that have been uncovered by switching to Java. For example, if you program against an interface, you should not be able to use methods of a concrete class if they are not part of the interface.

Anyway, if you are quick to learn, there is no such thing as a PHP developer or Java developer, there is just a developer. It's all about syntax.

Java collections are awesome too. And checkout this awesome syntactic-sugar:

users.forEach(u -> mail.send(u));

vs

for (final User user : users) { mail.send(user); }

awsp replied 3 years ago

Awesome writes! Strongly type is the way to go. I personally think the generic type approach is much efficient and elegant. And I didn't notice that syntactic writing for foreach. lol

I am interested in that performance boost too. I too generally receive much better performance on application written in Java compare to in PHP, for example Laravel was around 200~400 times slower than my Java application (using Play 2!) on my machine. The higher concurrency it is, the better Java performs. Did you write any code that does multi-threading or so when dealing with multiple JDBC connection?

brandonlamb said:

Hi there. I've been a PHP developer since ~2001, up until around 3 months ago. I have always felt like I reached that top tier of PHP knowledge where I could do anything, etc.

Enter REST API development and Java EE. The company I work for began a SOA initiative and many teams select Java EE as the language of choice. I began investigating and prototyping and my mind was blown. After three months I have a fully working, 15-endpoint API using straight up Java EE on TomEE (no Spring or frameworks).

It seems funny thinking back to namespaces, lambdas, composer, PSR, etc. The PHP-FIG/PSR is nothing compared to the Java community and JSRs. There are/have been hundreds (if not more) of JSRs compared to the 7 or so PSRs.

Maven, with it's huge repository, build system, ability to setup Nexus as a local repository and maven cache, everything plugs into Jenkins.

In a complete apples to apples port of our 15 endpoints (one API), we saw a 225% performance boost in requests per second compared to PHP. CPU usage was also around 35% (4-core) versus PHP pegging the box to 99%.

I could go on and on. I love the strongly typed language, and I have discovered many programming deficiencies that have been uncovered by switching to Java. For example, if you program against an interface, you should not be able to use methods of a concrete class if they are not part of the interface.

Anyway, if you are quick to learn, there is no such thing as a PHP developer or Java developer, there is just a developer. It's all about syntax.

Java collections are awesome too. And checkout this awesome syntactic-sugar:

users.forEach(u -> mail.send(u));

vs

for (final User user : users) { mail.send(user); }

nutandevjoshi replied 3 years ago

Edit >> Now the situation is changed. I no longer regret working with PHP. The advice I would give to PHP devs, join Big companies(Like I did). :) I earn decent 42K a month with 3 years of experience in product based company. Enjoy life , and learn new technologies in WEB field such as react js , angular, node js etc. Contact me [email protected] or facebook https://www.facebook.com/pratik.c.joshi . Just believe good days will come if you are smart developer.

AmarInfotech replied 2 years ago

I think, Java has a high salary than PHP, but when we talking about popularity then PHP is the first priority. I have an idea because I am providing PHP training in Ahmedabad and here lots of students came for PHP training, not for java. After training, they will get a salary that dependent on the performance of students and company.

MarinaOlenska replied 2 years ago

kikuyu1 said:

I would suggest you try Javascript, I think this is not about the salary, it's about you want to try something new. Move on.

I agree. You think you made a mistake? Everyone makes them from time to time! Don't be so depressed about the fact that you'll be paid as a fresher if you learn JavaScript, try taking it easy. You can learn JavaScript and then build a portfolio with the help of freelance software development projects. If you don't know where to find entry-level programming jobs I suggest searching for them here: https://www.xplace.com/dev/jobs. It's a nice website: commission free and with high rates.

bikithalee replied 2 years ago

Not more powerful in the sense that you could write something in Java that would be impossible to replicate in PHP. I'm not familiar with PHP, but there's most likely similar frameworks and libraries that have been created for PHP that exist already in Java (such as an ORM framework like JPA).

Stateful EJBs aren't that special (and not that common either). You can readily store information in the session whether you're using Java or PHP.

This isn't really a suitable question for SO either, since programming languages are different and frameworks are different and you'll never find the "best" something, because that doesn't really exist.

Java is execute with "high performance" . Some aspects of Java are very efficient, but raw speed hasn't reached the level of some popular low level languages, except in some limited cases. Check this for more....

http://net-informations.com/java/intro/java8.htm

Java Thread Programming

Java is "threaded and dynamic" . The design has made it easy to create multithreaded programs. This is one reason for Java's popularity in networked applications. The fact that running programs can be dynamically modified has had many payoffs for developers, because of the great flexibility this provides

Jaypatel5 replied 2 years ago

Java is high-level programming than PHP and its developer rarely available so we can say Java developer has high salary demand. I am PHP developer at Webdaadi and offers PHP training in Ahmedabad to fresher and graduate. I know, how PHP is important. Some students who do want to think much about coding normally choose PHP, and students who have high-level knowledge than choosing Java.

VTCAhmedabad replied 2 years ago

I have a PHP training institute in Ahmedabad so I know what is a value of PHP programming language. Between Java and PHP, 70% of students choose a PHP language because it is easy to learn and if you have high logical knowledge then you can get high salary package.

Jessica Barnes replied 2 years ago

Well, it's not like that, Every field has their own criteria and their own limits. In developing field when you got hired and got a good amount of salary it will affect your increment or when you switch the opportunity. As Laravel Developer, I love to do developing in php & laravel. Right now, my salary is too high and its great for me. And yeah, It's not like that PHP Developers have no future. It all depends on what kind of your work performance.

Thnx

denjaland replied 2 years ago

To be honest - a language is just a language in my opinion. Syntax is something everyone can learn. An if-then-else is available in each language.

What makes you a good developer, has nothing to do with the language or tooling you use in my opinion, but is determined by how well you perform in finding solutions for problems that you encounter. Creativity, decent logic, and how detailed you work, are far more important than the language you speak ;-)


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us