Yii Framework Forum: Future of php - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Future of php Rate Topic: ***-- 2 Votes

#1 User is offline   ajith 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 170
  • Joined: 20-March 15
  • Location:Kerala,India

Posted 25 April 2015 - 12:39 AM

hi i am new comer in programming fraternity. i am currently working as a php trainee but my elder brother(ASP.NET developer) is telling me that php is fastly being replaced by other languages and i should either study .NET or JAVA. most of the programmers(not php prgmers) i've met regard us like a third grade programmers.
is there a future for php and its developers?
1

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,467
  • Joined: 10-October 10
  • Location:Denmark

Posted 25 April 2015 - 08:18 AM

Definitely a future!
And a very bright one.

I am a C++ programmer as well (and know Python, Java, Lisp, ...) and I am aware that there are a lot of "experts" who regard PHP as a horrible language.

Yes, 10 years ago - 5 years ago even - the average PHP code was horrible!

But take a look at the clean code that Yii has. Look at the beauty and elegance of modern PHP frameworks and compare that to what people are doing in .NET and Java.

Yes, PHP has baggage and quirky features, a lot of inconsistent functions, but that is a price you have to pay for backwards compatibility..

Javascript is also being called a horrible language..
I personally like it. ;)

Look at the rate at which PHP is progressing and you'll see that it is far from dead.
PHP 7 is on the horizon now.

I love PHP!
You can write beautiful code with it.
You can use dependency injection, anonymous functions, ...
I like that it is a bit.. DIRTY! :D
"Less noise - more signal"
1

#3 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,951
  • Joined: 17-January 09
  • Location:Russia

Posted 25 April 2015 - 10:01 AM

http://w3techs.com/t...ng_language/all
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
2

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,467
  • Joined: 10-October 10
  • Location:Denmark

Posted 25 April 2015 - 10:14 AM

Those statistics speaks volumes SamDark :)
"Less noise - more signal"
1

#5 User is offline   ajith 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 170
  • Joined: 20-March 15
  • Location:Kerala,India

Posted 27 April 2015 - 04:07 AM

thanks for the reply guys. i think php has a bright future as long u guys r there. Posted Image
1

#6 User is offline   isabella_martin 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 12-June 15

Posted 17 June 2015 - 05:40 AM

Hi,
PHP is the best language definitely with a very good future.Java is preferred just because it is highly secure, but it never means that PHP has no future.Moreover, PHP is an open source language while ASP.net is not.And definitely as a server side language for websites PHP is the most used one.
0

#7 User is offline   Adam Christopher 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 27-June 15

Posted 27 June 2015 - 02:19 PM

I like to work on open source projects, I learned alot from it. I learned php long ago and it gives me a weird vibe on the language so I moved on to Python instead. Tried to use Pyhton as a web server-side language but web host services rarely have python installed (at least in my country). I gave up and tried to look back at php that has been updated to php 5. I was really surprised how far php has been changing and it looks a lot cleaner and pretty much looks the same as current high level languages.
0

#8 User is offline   Cálcio 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 216
  • Joined: 15-July 13
  • Location:Brasil - RJ

Posted 08 July 2015 - 09:29 AM

I think that programmers and developers should know other languages, its good. But said tha PHP is "fast being replaced" it's a stupidity. PHP was born to web. Simple like that.

The problem of PHP is not the PHP is the programmers. PHP is very to easy to learn, because of it programmers feel free to do anything.
Se minha resposta te ajudou, clique no link "Vote this post up".
If my answer help you, please check the "Vote this post up".
1

#9 User is offline   faustjonson 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 13-April 16
  • Location:USA

Posted 13 April 2016 - 09:56 AM

PHP best for fast programing
0

#10 User is offline   artificial 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 130
  • Joined: 11-December 10
  • Location:Sydney, Australia

Posted 18 April 2016 - 11:35 PM

Just to build on what's been said, PHP has also been regarded as a sub-par language based on its performance. However, it's gotten a lot faster in recent years! PHP7 is actually pretty fast, and hopefully if they keep on optimising for performance (i.e. implementing/tweaking JIT in PHP7) it can get even faster (PHP7 already outperforms HHVM in a lot of situations). I know if you talk to some of the brain trusts behind PHP, that's the direction they're looking towards. Performance in mind, application design is the biggest bottleneck in 99.9% of situations and not PHP itself, so it's a bit of a non-argument.

If you're talking purely about the language then yes, it's a bit of a mess. It's all fairly inconsistent and a bit all over the place. Unfortunately for backward compatibility issues, that's going to always remain the case. The language itself is going to annoy some purists, and you'll often hear it cop a bit of flack from Java developers as a result. What's more, earlier versions had very rudimentary OO support, and the language fell pretty short as a result. However, these days OO support is up there with Java.

Personally I hope future releases are more focused on performance rather than introducing new language paradigms. Once PHP7 is a bit more matured, it'd be great if the language was forked, cleaned up a little and released as something else, and we wouldn't be so heavily reliant on language constructs that were introduced ad hoc some 15 years ago.
Alex Berriman
www.formcorp.com.au
0

#11 User is offline   programista 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 31-December 10

Posted 30 April 2016 - 05:00 PM

I think that the future of php is full OO environment with php app living permanently in ram, it is the next step.

Why interpret anything over and over, why creating the whole app from start every request?

It will happen, sooner or later.
0

#12 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,951
  • Joined: 17-January 09
  • Location:Russia

Posted 30 April 2016 - 05:18 PM

It already happened. I saw at least two projects using Yii 1.1 as a long running process.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

#13 User is offline   oligalma 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 418
  • Joined: 07-April 12
  • Location:Spain

Posted 24 May 2016 - 08:42 PM

PHP is behind the best frameworks and CMS, for example Wordpress. Around 25% of websites are made with Wordpress. Really, I can't imagine Wordpress disappearing :rolleyes:
0

#14 User is offline   Webdaadi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 20-March 17
  • Location:USA

Posted 27 March 2017 - 06:05 AM

PHP is a best programming language for better future
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users