Future of PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Future of PHP

Post by Live24x7 »

Is PHP here to stay ?

or will it meet the same fate as ASP ?

Mybe something better - taking over ?
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Future of PHP

Post by social_experiment »

Personally speaking i hope not; i'd hate to start learning a new language at this moment. You mention ASP's fate but i still see quite a few pages using it ,granted a file extension doesn't prove anything.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Future of PHP

Post by Live24x7 »

that's what made me put up the question..if something new comes up.. this old man wil have tough time

I am already reeling under the pressure of having to learn php + css+ javasciprt, Ajax and whatnot.
Oh those good old days when there was only html
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Future of PHP

Post by Live24x7 »

Am a self learnt php coder. No formal education in programming.

Oops and just when thought i had learnt a bit of php, we have OOPS in php 5.
When i see php code with this--> and that-->, i feel like vomitting. :dubious:
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Future of PHP

Post by social_experiment »

If you take into account how many systems use PHP for something it's a long way from quick extinction. Yeah it will grow and development (which is a good thing) but i don't think a world without PHP is on the cards at the moment.

;) OOP is pretty cool once you get the hang of it
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Future of PHP

Post by Doug G »

or will it meet the same fate as ASP ?
You mean "will php evolve into something more powerful and functional the same way asp evolved into asp.NET"?
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Future of PHP

Post by Live24x7 »

@Doug G
"will php evolve into something more powerful and functional the same way asp evolved into asp.NET"
no i meant, how ASP has slowly lost its popularity in favor of php.

@social_experiment
;) OOP is pretty cool once you get the hang of it
Can you suggest some free tuorial to start with OOP ?
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Future of PHP

Post by social_experiment »

http://www.killerphp.com/tutorials/object-oriented-php/
I haven't looked at the site but it looks like a good starting point; also look at this book
http://www.apress.com/9781430210115
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Future of PHP

Post by Live24x7 »

Thanks social_experiment .. the free one looks like a good place to start.
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Future of PHP

Post by Doug G »

no i meant, how ASP has slowly lost its popularity in favor of php.
That's not correct. Microsoft intentionally ended classic asp when they released NET. asp didn't lose popularity, it was replaced. And asp.NET currently is very heavily used.
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

Re: Future of PHP

Post by Mordred »

I hope it dies, or at least that Zend man up and break backward compatibility and build it from the ground up. The guy with Python at least had the balls to almost do that (not that it did any good to the language, but I have a personal dislike of it, so don't mind me).

But who am I kidding. We PHP coders are masochists, we take the pain and embrace it ;)

Anyway, the market penetration is too complete for it to die, I think. Bloody hell, people still code in PHP4 even.
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: Future of PHP

Post by Eric! »

Mordred wrote:I hope it dies, or at least that Zend man up and break backward compatibility and build it from the ground up.
To what ends? Remove non opp and other C quirks?

I'd like to see the interperter run faster. To get around it we're seeing thinks like php byte code with hip-hop and others...probably a short term fix if zend php is going to remain competitive.
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

Re: Future of PHP

Post by Mordred »

Not sure what you mean by "non opp", but it seems you refer to the internals of the language.
Instead I mean the language itself. Here's what I'd like to see:

- No stupid $ marking of variables. If it's not a reserved work or a defined constant, it's a bloody variable.
- Redefinable, first class functions with easy lambda syntax.
- Consistant class/namespace syntax, like in C++. Class::StaticFunc and Namespace::StaticFunc please.
- Consistently named built-in functions (everybody's favourite, hehe).
- Light-syntax for multiple return values, not the current list/array crap.
- Invert the bloody variable scope. Globals by default, locals by declaration.
- Everything in utf8.

This is just from the top of my head. No doubt there are many other things that annoy me, but I forget 'cause of the overwhelming annoyance of the things above :)
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Future of PHP

Post by Live24x7 »

the overwhelming annoyance of the things above :)
Annoyance for you comes with knowing so much.

Am a self learnt coder and unlike you, have no other language experience.
I find PHP very interesting as i explore new things everyday. Ignorance is my bliss :D
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Future of PHP

Post by social_experiment »

Live24x7 wrote:Annoyance for you comes with knowing so much.
Knowing much sometimes gives the ability to see how things could be better if they were different
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply