Why PHP?

0 views
Skip to first unread message

David T. H

unread,
Jun 15, 2008, 2:36:53 PM6/15/08
to OrlandoPHP
Since we have numerous web development languages out there (PHP,
python, java, groovy, ruby, asp/(pick some arbitrary .NET language),
etc...), why did you choose PHP?

I'm asking this mainly for my independent study I'm currently working
on which looks at all of the above languages and some of their web
development frameworks. This part of my research is more me trying
to figure out what actual web developers use (kinda like a survey I
guess you could say) and why they actually chose to use that
technology as opposed to something else. Any and all responses are
appreciated.

Thank you all for your responses to my query on IDE's/editors - where
it seems like the conclusion was Eclipse being the most used because
of the features it even though it wasn't that stable.

imehesz

unread,
Jun 24, 2008, 10:38:06 PM6/24/08
to OrlandoPHP
i chose PHP because it's very C/C++ like. And when I started this
whole web development thing PHP was the cool thing to do :)

iM

David Rogers

unread,
Jun 25, 2008, 10:35:22 AM6/25/08
to orlan...@googlegroups.com
I was similarly motivated. Having come through CompSci, I touched a
lot of C-type languages: C, C++, Java, etc... My options for web
development were between Perl and PHP, then, since I wasn't really
interested in learning a whole new language for Python (there was no
Ruby). PHP also operated as a simple template language, allowing me to
ease into development rather than jump in head-first. I'd imagine that
the low entry-level barrier for PHP and its similarity to other C-type
languages are the primary draw for the language.

David

David T. Harris

unread,
Jun 25, 2008, 1:45:18 PM6/25/08
to orlan...@googlegroups.com


--- On Wed, 6/25/08, David Rogers <da...@hydrastudio.com> wrote:

> From: David Rogers <da...@hydrastudio.com>
> Subject: Re: Why PHP?
> To: orlan...@googlegroups.com
> Date: Wednesday, June 25, 2008, 10:35 AM
> I was similarly motivated. Having come through CompSci, I
> touched a
> lot of C-type languages: C, C++, Java, etc... My options
> for web
> development were between Perl and PHP, then, since I
> wasn't really
> interested in learning a whole new language for Python
> (there was no
> Ruby). PHP also operated as a simple template language,
> allowing me to
> ease into development rather than jump in head-first.
> I'd imagine that
> the low entry-level barrier for PHP and its similarity to
> other C-type
> languages are the primary draw for the language.
>
> David

So why didn't you go with JSP (Java Server Pages)? I'm just
curious because you mentioned you had a Java/C/C++ background.



David T. Harris

unread,
Jun 25, 2008, 1:45:25 PM6/25/08
to orlan...@googlegroups.com


--- On Wed, 6/25/08, David Rogers <da...@hydrastudio.com> wrote:

> From: David Rogers <da...@hydrastudio.com>
> Subject: Re: Why PHP?
> To: orlan...@googlegroups.com
> Date: Wednesday, June 25, 2008, 10:35 AM

> I was similarly motivated. Having come through CompSci, I
> touched a
> lot of C-type languages: C, C++, Java, etc... My options
> for web
> development were between Perl and PHP, then, since I
> wasn't really
> interested in learning a whole new language for Python
> (there was no
> Ruby). PHP also operated as a simple template language,
> allowing me to
> ease into development rather than jump in head-first.
> I'd imagine that
> the low entry-level barrier for PHP and its similarity to
> other C-type
> languages are the primary draw for the language.
>
> David

So why didn't you go with JSP (Java Server Pages)? I'm just

David Rogers

unread,
Jun 25, 2008, 3:37:05 PM6/25/08
to orlan...@googlegroups.com, David T. Harris

I looked at JSP, J2EE, EJB, Swing, Struts, etc... The list continues
ad nauseam. That was really the determinant factor in my exploration
into Java technology. Java seems to introduce too many layers into the
mix, and I wasn't really interested in learning how to setup and run
Unix, Apache, anySQL, Tomcat, a web application container, the
application framework, the ODBC layer, etc for any server onto which I
wanted to develop. That's a whole mess of requirements to juggle for
any development project, plus the expense of even running a server
that met those requirements.

When I started with real web development, I initially just wanted
something that was: 1 - more powerful than SSI's, 2 - as ubiquitous as
SSI was, and 3 - as easy to use as SSI directives. PHP seemed to fit
that quite naturally and ran on practically every server on the
internet without a lot of configuration. I quickly discovered,
however, that the multitude of configuration options available to me
via PHP and Apache permitted me to do a lot more than simple CGIs and
SSIs.

So, in short, PHP was C-like and worked seemingly everywhere with
little configuration, while Java was C-like and ran practically
nowhere by default and slightly more than nowhere with a lot of
configuration. I still like a lot of the concepts from Java, read Java
references, and can talk shop with most professionals. Patterns are
patterns are patterns, after all, and the language of implementation
is irrelevant.

David

Derek Gallo

unread,
Jun 25, 2008, 11:42:06 AM6/25/08
to orlan...@googlegroups.com
Ditto here. I originally started my development career in the
Military Simulations industry doing mostly C/C++ and Java. Once
moving to web development I was faced with either PHP, JSP or .NET.
Not being a big fan of .NET, PHP was a natural choice for its ease of
use over JSP in my eyes.

Derek Gallo
Orlando, FL
http://derekgallo.com

PalmBeachIT

unread,
Jun 25, 2008, 8:02:38 PM6/25/08
to OrlandoPHP
I can't help, but speak for the rest of us.

I started with php, because quite frankly, it was far easier to learn.
I'd tried .NET languages with nominal success, and didn't understand
why I had to do so much 'other' stuff, than what seemed natural to
accomplish what I was trying to achieve.
I do not come from a CS background. I come from a CE background (Civil
Engineering ;) ). So, much of the common knowledge to folks who had
grown up with computers was lost on me. I didn't know the first thing
about a design pattern, the Korn shell, or finite state machines.
PHP was a language I could enter with little difficulty. The funny
thing about it now though, is that I completely appreciate design
patterns, finite state machines, and, well bash anyways.
PHP allowed me to delve into a world that I should not have been able
to understand. So, for that reason, I owe it to PHP to use and promote
it.

Cory
http://corycollier.com


On Jun 25, 11:42 am, Derek Gallo <derek.ga...@gmail.com> wrote:
> Ditto here.  I originally started my development career in the  
> Military Simulations industry doing mostly C/C++ and Java.  Once  
> moving to web development I was faced with either PHP, JSP or .NET.  
> Not being a big fan of .NET, PHP was a natural choice for its ease of  
> use over JSP in my eyes.
>
> Derek Gallo
> Orlando, FLhttp://derekgallo.com
Reply all
Reply to author
Forward
0 new messages