Home » Php » Why php and not C? – PHP

Why php and not C? – PHP

Posted by: admin February 22, 2020 Leave a comment

Q(Question):

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

A(Answer):

PHP is easy, common, fast and has functions for almost everything…

In C, it’s really easy to get memory leaks, it’s hard (compared to PHP
anyway), and it’s overkill, as well as it might not run on any server/OS…

Now, there are ppl using C/C++, but it has more downsides than upsides..


// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Bob" <cl****@qualitythink.com> skrev i meddelandet
news:cf**************************@posting.google.c om…

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

A(Answer):

Bob a écrit le 25/01/2004 :

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

what about the ease of integration in HTML syntax? the portability of
the code?

A(Answer):

Just compare the time it takes to develop a cgi app that accesses a database
and returns a resultset as html written in C to the time it takes to develop
something similar in PHP.

There’s your answer.
..soma

A(Answer):

With total disregard for any kind of safety measures
cl****@qualitythink.com (Bob) leapt forth and uttered:

Why use C when you can use Assembly or even just write raw machine
code or maybe even just edit the Inodes on your hard drive using
magnets?

Because it’s *simpler* thats why.


Phil Roberts | Nobody In Particular | http://www.flatnet.net/

A(Answer):

You have to admit that PHP is really a whole damn lot easier and
"tweakeable" than C but for mission critical systems where speed is of
the essence the service providers still rely on a compiled CGI script
written in C rather than interpreted languages like PHP etc..

You can say that C certainly beats interpreters in speed.. but have
you ever really tried writing a CGi app in C, it really is
overkill…. add to it the fact that the script has to be compiled
every time u make minor changes, variables have to be carefully
defined, memory has to be taken care of … and so on…

bye
Arvind

cl****@qualitythink.com (Bob) wrote in message news:<cf**************************@posting.google. com>…

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

A(Answer):

Well I have written assembly, I hate it. And I have written raw
machine code and I hate that also.

Leaping from php to C is one thing, leaping from C to assy is another.

It might be a point of view or where you started programming from.
I don’t have an issue writing CGI programs, and compiling is ….what
we do everyday. With todays IDEs running a test on a php script vs
compiling a program and running it is not all that different.

Yes, writing a php script is simple and faster. But my question or
ponderance was and still is, was this amount of simplicity enough to
drive php to the forefront?

Apparently.

Perhaps the difference between engineers and scripters. Have you ever
heard the phrase, "Time to shoot the engineers and ship the product"?

I am still surprised that with all the talk of performance and endless
comparsions of this scripting system vs that scripting system and who
scales "better" that there is no "noise" about programming in C,
especially considering that once upon a time, it was how it was done.

I am using php. Why? because it gets done faster. Simple enough.

Endoffile.

The below quote is made up and not uttered by me.

Phil Roberts <ph*****@HOLYflatnetSHIT.net> wrote in message news:<Xn*************************@216.196.97.132>. ..

With total disregard for any kind of safety measures
cl****@qualitythink.com (Bob) leapt forth and uttered:

Why use C when you can use Assembly or even just write raw machine
code or maybe even just edit the Inodes on your hard drive using
magnets?

Because it’s *simpler* thats why.

A(Answer):

"Bob" <cl****@qualitythink.com> wrote in message
news:cf**************************@posting.google.c om…

Well I have written assembly, I hate it. And I have written raw
machine code and I hate that also.

Leaping from php to C is one thing, leaping from C to assy is another.

It might be a point of view or where you started programming from.
I don’t have an issue writing CGI programs, and compiling is ….what
we do everyday. With todays IDEs running a test on a php script vs
compiling a program and running it is not all that different.

Yes, writing a php script is simple and faster. But my question or
ponderance was and still is, was this amount of simplicity enough to
drive php to the forefront?
……….

Bottom line, in my opinion:

You can have an html page and embed php in it, where as with perl / c you
have a script, and you have
to embed html in it.
Also, for the most part, you do not have to run the site out of the cgi-bin.
it is very simple to convert an html site into a dynamic php site, but it
would take forever and a lot of work to convert a html site to perl or c
(compiled or not). it is simply, in my opinion the laguage intergration, not
wether it is compiled or not.

Personal, I have done a lot of c coding, but prefer not to use it to spit
out html pages. Just the simplest/fastest tool for the job, kinda the goal.

Sure I could write my gzImage script in C, but why? I do not want to spend
the time, coding, but rather spend the time developing.

Now, if I am going to write some dynamic content for a micro controlled
webserver, I will do it in assembly, bypassing c.

So, the bottom line: fast/simple/easy intergration for the job.
— the goal of php is to spit out html. (i know it does other things)
— the goal of perl, c’mon, Practical Extraction and Reporting Language
— the goal of c is to provide a medium level access to asm, and produce
binaries

so, just becouse you can, you should not always — I can write websites in
fortran, but why?

Mike Bradley
http://www.gzentools.com — free online php tools

A(Answer):

On 2004-01-26, CountScubula <[email protected]> wrote:

so, just becouse you can, you should not always — I can write websites in
fortran, but why?

I agree.

There are specialists that can get a nail into a piece of wood with a
screw-driver. But i prefer to use a hammer 😉


http://home.mysth.be/~timvw

A(Answer):

On 25 Jan 2004 04:55:41 -0800, cl****@qualitythink.com (Bob) wrote:

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

I did. I did code a wiki engine in c, with RTF-Export, own webserver
lib and such. The bigger the projekt get’s I feel, that many features
I would now like to have are just available as a module in scripting
languages. For example database interfaces, LDAP connection etc. Well,
I’m not shure, if I would do it again in C. Many things in the wiki
are doe with hashing, and that exactly is, how all the scripting
languages work anyway.


Martin

A(Answer):

In message <Pb********************@newsb.telia.net>, DvDmanDT
<dv******@telia.com> writes

PHP is easy, common, fast and has functions for almost everything…

PHP is mostly portable. I develop my PHP pages using a MySQL database
on my PC running Win2000, and directly upload them to my ISP running
some flavour of Linux. If I used C that wouldn’t be so easy.

In C, it’s really easy to get memory leaks, it’s hard (compared to PHP
anyway), and it’s overkill, as well as it might not run on any server/OS…

Now, there are ppl using C/C++, but it has more downsides than upsides..


Five Cats
Email to: cats_spam at uk2 dot net

A(Answer):

Enough said.
Thanks for the replies.

The right sized tool for the job at hand.

I was just wondering if in all the years I missed something.
Sometimes the simplest answer is the right one.

as****@uncc.edu (Mad Max) wrote in message news:<18**************************@posting.google. com>…

You have to admit that PHP is really a whole damn lot easier and
"tweakeable" than C but for mission critical systems where speed is of
the essence the service providers still rely on a compiled CGI script
written in C rather than interpreted languages like PHP etc..

You can say that C certainly beats interpreters in speed.. but have
you ever really tried writing a CGi app in C, it really is
overkill…. add to it the fact that the script has to be compiled
every time u make minor changes, variables have to be carefully
defined, memory has to be taken care of … and so on…

bye
Arvind

cl****@qualitythink.com (Bob) wrote in message news:<cf**************************@posting.google. com>…

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

A(Answer):

On Mon, 26 Jan 2004 04:02:30 GMT, "CountScubula"
<[email protected]> wrote:

so, just becouse you can, you should not always — I can write websites in
fortran, but why?

Perhaps you’d prefer COBOL:
http://www.c-sharpcorner.com/CobolNe…l4MSNETNRS.asp

Although the samples use depreciated markup.


David ( @priz.co.uk )

A(Answer):

In message <cf**************************@posting.google.com >, Bob
<cl****@qualitythink.com> writes

Sometimes the simplest answer is the right one.

The simplest answer is nearly *always* the right one, or part of it!


Five Cats
Email to: cats_spam at uk2 dot net

A(Answer):

Side effects are for losers!

Uzytkownik "David Mackenzie" <[email protected]> napisal w wiadomosci
news:83********************************@4ax.com…

On Mon, 26 Jan 2004 04:02:30 GMT, "CountScubula"
<[email protected]> wrote:

so, just becouse you can, you should not always — I can write websites
infortran, but why?

Perhaps you’d prefer COBOL:
http://www.c-sharpcorner.com/CobolNe…l4MSNETNRS.asp

Although the samples use depreciated markup.


David ( @priz.co.uk )

A(Answer):

Hey, use PHP or C, or inode magnet editing, whatever suits you.

Just don’t use ASP, .NET, or (try to speak through the blood boiling)
XAML when it’s released. Microsoft dominate far more than they deserve
already.

Bob

A(Answer):

"David Mackenzie" <[email protected]> wrote in message
news:83********************************@4ax.com…

On Mon, 26 Jan 2004 04:02:30 GMT, "CountScubula"
<[email protected]> wrote:

so, just becouse you can, you should not always — I can write websites
infortran, but why?

Perhaps you’d prefer COBOL:
http://www.c-sharpcorner.com/CobolNe…l4MSNETNRS.asp

I used COBOL for 16 years. It was good in its day, but now I use PHP.

Tony Marston

A(Answer):

Why not, ASP.NET is far powerful than PHP and faster, just give me any reason to not use it ? Most people hate ASP just because the
language (vbs, c++ or c#) is too hard for them.

Savut

"Robert Downes" <no**********@see.my.signature.con> wrote in message news:40***********************@mercury.nildram.net …

Hey, use PHP or C, or inode magnet editing, whatever suits you.

Just don’t use ASP, .NET, or (try to speak through the blood boiling)
XAML when it’s released. Microsoft dominate far more than they deserve
already.

Bob

A(Answer):

On 26-Jan-2004, "Savut" <we***@hotmail.com> wrote:

"Robert Downes" <no**********@see.my.signature.con> wrote in message
news:40***********************@mercury.nildram.net …

Hey, use PHP or C, or inode magnet editing, whatever suits you.

Just don’t use ASP, .NET, or (try to speak through the blood boiling)
XAML when it’s released. Microsoft dominate far more than they deserve
already.

Why not, ASP.NET is far powerful than PHP and faster, just give me any
reason to not use it ? Most people hate ASP just because the
language (vbs, c++ or c#) is too hard for them.

Being easy to use is not a flaw.

Robert told you his reasons. Some others are PHP is free, flexible, designed
for server side scripting, and runs on lots of platforms.

Most people use PHP because it’s well suited to server side scripting. C++
and C# (and Java) are more general languages and IMHO not as easy to use for
scripting (yes, I’ve used them all). VB is a mess, but if you like it great.
As far as being far more powerful, I haven’t run into anything that would
compel me to ASP.NET, if I do I’ll probably use it.

Incidentally, Assembler is more powerful and faster than any of them, why
not use it?


Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to ja*********@willglen.net (it’s reserved for spammers)

A(Answer):

"Savut" <we***@hotmail.com> wrote in message
news:S4*******************@news20.bellglobal.com.. .

Why not, ASP.NET is far powerful than PHP and faster, just give me any
reason to not use it ? Most people hate ASP just because the language (vbs, c++ or c#) is too hard for them.

That is the most hilarously stupid I’ve heard in a long time

lol…

😀


Dag.

A(Answer):

"Savut" <we***@hotmail.com> wrote in message
news:S4*******************@news20.bellglobal.com.. .

Why not, ASP.NET is far powerful than PHP and faster, just give me any
reason to not use it ? Most people hate ASP just because the language (vbs, c++ or c#) is too hard for them.

Savut

Ok, you come to a PHP news group and hype ASP?

We do not come to your house and put down the car you drive, or your choice
in woman.

So, those is fightin words 🙂

I will put any ASP/Win vs PHP/Linux code on the same hardware any time, and
see the PHP/Linux *FLY* past the ASP/Win code!
so you want *any* rason, well the above should suffice, if you want more:

asp:powerfull: subjective, i think not
php:portability
php:cool, more cool people use it, with better hair styles than the asp
people.

Mike Bradley
http://www.gzentools.com — free online php tools

A(Answer):

you are right, is not a question of easy or not, well I should reconsider my view point. But I dont get why Taht robert guys hate so
must ASP.NET, each one can do what the others can do, and they can both run on almost platform, not natively by with some
extensions, they can run well. Well they all have advantage on some operations and leak in others. Better told me a good reason why
you all hate so mush ASP.NET, I myself use almost only PHP for websites and intranet but only because It’s faster to develop.

Savut

"Tom Thackrey" <us***********@nospam.com> wrote in message news:66******************@newssvr27.news.prodigy.c om…

On 26-Jan-2004, "Savut" <we***@hotmail.com> wrote:

"Robert Downes" <no**********@see.my.signature.con> wrote in message
news:40***********************@mercury.nildram.net …

Hey, use PHP or C, or inode magnet editing, whatever suits you.

Just don’t use ASP, .NET, or (try to speak through the blood boiling)
XAML when it’s released. Microsoft dominate far more than they deserve
already.

Why not, ASP.NET is far powerful than PHP and faster, just give me any
reason to not use it ? Most people hate ASP just because the
language (vbs, c++ or c#) is too hard for them.

Being easy to use is not a flaw.

Robert told you his reasons. Some others are PHP is free, flexible, designed
for server side scripting, and runs on lots of platforms.

Most people use PHP because it’s well suited to server side scripting. C++
and C# (and Java) are more general languages and IMHO not as easy to use for
scripting (yes, I’ve used them all). VB is a mess, but if you like it great.
As far as being far more powerful, I haven’t run into anything that would
compel me to ASP.NET, if I do I’ll probably use it.

Incidentally, Assembler is more powerful and faster than any of them, why
not use it?


Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to ja*********@willglen.net (it’s reserved for spammers)

A(Answer):

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again. So stop telling stuff
like that, even the PHP say themself they really need Zend so php is not enough fast.

Savut

"CountScubula" <[email protected]> wrote in message news:A5*****************@newssvr29.news.prodigy.co m…

"Savut" <we***@hotmail.com> wrote in message
news:S4*******************@news20.bellglobal.com.. .

Why not, ASP.NET is far powerful than PHP and faster, just give me any

reason to not use it ? Most people hate ASP just because the

language (vbs, c++ or c#) is too hard for them.

Savut

Ok, you come to a PHP news group and hype ASP?

We do not come to your house and put down the car you drive, or your choice
in woman.

So, those is fightin words 🙂

I will put any ASP/Win vs PHP/Linux code on the same hardware any time, and
see the PHP/Linux *FLY* past the ASP/Win code!
so you want *any* rason, well the above should suffice, if you want more:

asp:powerfull: subjective, i think not
php:portability
php:cool, more cool people use it, with better hair styles than the asp
people.

Mike Bradley
http://www.gzentools.com — free online php tools

A(Answer):

we***@hotmail.com says…

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again. So stop telling stuff
like that, even the PHP say themself they really need Zend so php is not enough fast.

Savut,

Oddly, on my Linux and Compaq Tru64 servers I can’t get ASP to run
quickly at all. Even when I’m running ChilliASP/SunOne/InstantASP. 🙂

Geoff M

A(Answer):

"Savut" <we***@hotmail.com> wrote in message
news:JM********************@news20.bellglobal.com. ..

Not really, ASP is not faster but ASP.NET is proven to be faster and with
Win 2003, it by far faster again. So stop telling stuff like that, even the PHP say themself they really need Zend so php is not
enough fast.
Savut

As I had said, and perhaps you did not read:

I will put any ASP/Win vs PHP/Linux code on the same hardware any time,
and see the PHP/Linux *FLY* past the ASP/Win code!

Note: I said "I", not everyone thinks, this is just my opinion
asp:powerfull: subjective, i think not

again, I said "I"
php:cool, more cool people use it, with better hair styles than the asp

Well, this one is just true, every asp person I have met (who sides with asp
over php) are generaly some side school hack, or college student who thinks
they are going to make lots-o-money, becouse they are so brain washed about
asp, instead of the right tool for the job. Dont get me wrong, I do have
asp on 1 of my boxes perfoming a funcion that is just simpler to use asp/win
(although, the asp does call some php stuff) and the reason was not so much
as asp was better, but rather I needed the win platform.

So, I say to you, don’t tell somone to stop saying thier opinion, encourage
it, thats how we all learn and dive into things. Now had I said some
statments as 100% facts, then sure, shoot me down.


Mike Bradley
http://www.gzentools.com — free online php tools

A(Answer):

In message <JM********************@news20.bellglobal.com>, Savut
<we***@hotmail.com> writes

Not really, ASP is not faster but ASP.NET is proven to be faster and
with Win 2003, it by far faster again. So stop telling stuff
like that, even the PHP say themself they really need Zend so php is
not enough fast.

One needs something which is *fast enough*, not *the fastest*. An F1
car will way outperform my Laguna, but the Laguna is fine for what I
need – driving on normal roads and motorways.

Also remember that PHP is available on various Unix platforms, many of
which are potentially much, much faster than any Windows platform.

<snip>


Five Cats
Email to: cats_spam at uk2 dot net

A(Answer):

"Savut" <we***@hotmail.com> wrote in message news:<JM********************@news20.bellglobal.com >…

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again.

I don’t think so. Could you show me such fastest site?
So stop telling stuff
like that, even the PHP say themself they really need Zend so php is not enough fast.

Well, I know Savut is regular contributor around PHP groups for
sometimes. So, I don’t think, it’s a troll. But, I’m still skeptical
about the hype regarding ASP.NET. I’m so skeptical about the
statistics/surveys from companies like MS, I guess they pad it. BTW, I
think, PHP guys should also pad such surveys ‘coz it reflects bad
images sometimes (<http://www.zend.com/zend/php_survey_results.php>)


"I don’t believe in the God who doesn’t give me food, but shows me
heaven!" — Swami Vivekanandha
Email: rrjanbiah-at-Y!com

A(Answer):

Savut wrote:

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again. So stop telling stuff
like that, even the PHP say themself they really need Zend so php is not enough fast.

Savut

"CountScubula" <[email protected]> wrote in message news:A5*****************@newssvr29.news.prodigy.co m…

"Savut" <we***@hotmail.com> wrote in message
news:S4*******************@news20.bellglobal.com …

Why not, ASP.NET is far powerful than PHP and faster, just give me any

reason to not use it ? Most people hate ASP just because the

language (vbs, c++ or c#) is too hard for them.

Savut

Ok, you come to a PHP news group and hype ASP?

We do not come to your house and put down the car you drive, or your choice
in woman.

So, those is fightin words 🙂

I will put any ASP/Win vs PHP/Linux code on the same hardware any time, and
see the PHP/Linux *FLY* past the ASP/Win code!
so you want *any* rason, well the above should suffice, if you want more:

asp:powerfull: subjective, i think not
php:portability
php:cool, more cool people use it, with better hair styles than the asp
people.

Mike Bradley
http://www.gzentools.com — free online php tools

I switched from ASP to PHP for one simple reason: Microsoft decided not
to release PWS for XP Home… so at the time, to get ASP to work on my
XP Home machine, I had two choices:
1) Upgrade to XP Pro
2) Use Chilisoft

I didn’t feel it was worth $100 to upgrade to XP Pro just to run IIS,
and the Chilisoft stuff never seemed to work right for me. The
Apache/PHP/mySQL install went down without a hitch, and it’s never
really been worthwhile to look back.

Plus, it’s always easier to convince a boss/client to go with the good,
free stuff than to pay for an Win server license. =)

Beyond that, I find PHP just makes more sense to me. I don’t need to
instantiate a FSO or ADO object just to read from a directory or a
database. Simple/sensible is good, IMHO.

The only thing I miss about using ASP is calling methods from a .dll. I
haven’t really dug around with PHP’s COM support, but one of these days
I should.

– Dan
http://www.dantripp.com/

A(Answer):

Maybe, sometimes I dont try to listen to benchmark test, as most run on advantaged system (hardware and software). But we never see
any test comparing PHP/LINUX EE. vs ASP.NET/WIN2003 from a PHP ground and advantage it. I think PHP should be more aggresive again
ASP.NET. All test I see was run by a so maybe sponsored MS test. I have used ASP and ASP.NET for 6 years and PHP for over 8 years.
I prefer using PHP because I have mastered it better than ASP, but I like the concept of OOP and COM in ASP, it remind me of my
programming school. But again, PHP5 is very good with private and public variable access, but have to evolve it more, maybe with
concept of COM that I think is maybe slow, but more logical and easier, it’s juste like PEAR, I think it the beginning of an
equivalence of COM in PHP.

Savut

"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message news:ab**************************@posting.google.c om…

"Savut" <we***@hotmail.com> wrote in message news:<JM********************@news20.bellglobal.com >…

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again.

I don’t think so. Could you show me such fastest site?

So stop telling stuff
like that, even the PHP say themself they really need Zend so php is not enough fast.

Well, I know Savut is regular contributor around PHP groups for
sometimes. So, I don’t think, it’s a troll. But, I’m still skeptical
about the hype regarding ASP.NET. I’m so skeptical about the
statistics/surveys from companies like MS, I guess they pad it. BTW, I
think, PHP guys should also pad such surveys ‘coz it reflects bad
images sometimes (<http://www.zend.com/zend/php_survey_results.php>)


"I don’t believe in the God who doesn’t give me food, but shows me
heaven!" — Swami Vivekanandha
Email: rrjanbiah-at-Y!com

A(Answer):

That the problem with PHP, lot of people complain about COM is slower, but COM is the main stream of programming, we need it, and
it’s really help us to code better and more logical than using simple embedded function. Sometimes, having like 800 functions is
less beautiful than using OO concept. I love the simplicity of PHP vs ASP, with PEAR we are simplifying the database access as dont
have to worry what database we are using, it’s already a good step, but not enough as ASP.NET work all this way already and using
compiled code. Can PHP6 save us from the MS domination project ?

Savut

"Dan Tripp" <th*******@MyEMailAddress.com> wrote in message news:B4*****************@newssvr29.news.prodigy.co m…

Savut wrote:

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again. So stop telling
stuff like that, even the PHP say themself they really need Zend so php is not enough fast.

Savut

"CountScubula" <[email protected]> wrote in message news:A5*****************@newssvr29.news.prodigy.co m…

"Savut" <we***@hotmail.com> wrote in message
news:S4*******************@news20.bellglobal.com …

Why not, ASP.NET is far powerful than PHP and faster, just give me any

reason to not use it ? Most people hate ASP just because the

language (vbs, c++ or c#) is too hard for them.

Savut
Ok, you come to a PHP news group and hype ASP?

We do not come to your house and put down the car you drive, or your choice
in woman.

So, those is fightin words 🙂

I will put any ASP/Win vs PHP/Linux code on the same hardware any time, and
see the PHP/Linux *FLY* past the ASP/Win code!
so you want *any* rason, well the above should suffice, if you want more:

asp:powerfull: subjective, i think not
php:portability
php:cool, more cool people use it, with better hair styles than the asp
people.

Mike Bradley
http://www.gzentools.com — free online php tools

I switched from ASP to PHP for one simple reason: Microsoft decided not
to release PWS for XP Home… so at the time, to get ASP to work on my
XP Home machine, I had two choices:
1) Upgrade to XP Pro
2) Use Chilisoft

I didn’t feel it was worth $100 to upgrade to XP Pro just to run IIS,
and the Chilisoft stuff never seemed to work right for me. The
Apache/PHP/mySQL install went down without a hitch, and it’s never
really been worthwhile to look back.

Plus, it’s always easier to convince a boss/client to go with the good,
free stuff than to pay for an Win server license. =)

Beyond that, I find PHP just makes more sense to me. I don’t need to
instantiate a FSO or ADO object just to read from a directory or a
database. Simple/sensible is good, IMHO.

The only thing I miss about using ASP is calling methods from a .dll. I
haven’t really dug around with PHP’s COM support, but one of these days
I should.

– Dan
http://www.dantripp.com/

A(Answer):

by the way, really good your survey, give a good overview of developers. But I’m not sure this is really fair, as most php
respondant where surely home php user and most question are more targetted for company php developer. Still good to read it.

Savut

"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message news:ab**************************@posting.google.c om…

"Savut" <we***@hotmail.com> wrote in message news:<JM********************@news20.bellglobal.com >…

Not really, ASP is not faster but ASP.NET is proven to be faster and with Win 2003, it by far faster again.

I don’t think so. Could you show me such fastest site?

So stop telling stuff
like that, even the PHP say themself they really need Zend so php is not enough fast.

Well, I know Savut is regular contributor around PHP groups for
sometimes. So, I don’t think, it’s a troll. But, I’m still skeptical
about the hype regarding ASP.NET. I’m so skeptical about the
statistics/surveys from companies like MS, I guess they pad it. BTW, I
think, PHP guys should also pad such surveys ‘coz it reflects bad
images sometimes (<http://www.zend.com/zend/php_survey_results.php>)


"I don’t believe in the God who doesn’t give me food, but shows me
heaven!" — Swami Vivekanandha
Email: rrjanbiah-at-Y!com

A(Answer):

PHP is easier to debug over the web too. I’m not sure how gdb and Apache
fit into the whole picture, but I’m pretty sure using Zend IDE blows away
anything else.

-Matt

On 2004-01-25 07:55:41 -0500, cl****@qualitythink.com (Bob) said:

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

A(Answer):

lets not forget, people who code in php have cooler haircuts than those that
do asp, sorry just a fact 🙂


Mike Bradley
http://www.gzentools.com — free online php tools
"Matt" <ma**@tasonline.com> wrote in message
news:200401281640537603%[email protected]

PHP is easier to debug over the web too. I’m not sure how gdb and Apache
fit into the whole picture, but I’m pretty sure using Zend IDE blows away
anything else.

-Matt

On 2004-01-25 07:55:41 -0500, cl****@qualitythink.com (Bob) said:

When I first started in web programming (I left it for more than a few
years) I programmed my web pages in C and a little perl. Now that I
have a need to come back to web programming I find that php is all the
rage.

But looking a php syntax I can’t help but notice it is very C like,
which is no surprise.

But I wonder, other than the lack of pointers in php (not a bad thing
I admit!) and the ease in which php does variables, litte to no
typing, why does it seem that no one is programming the web in C?

C it would seem had the advantage of an established language, a very
native language for the servers and it compiles down to executable.

Why did php gain a foothold and take off?

A(Answer):

Savut <we***@hotmail.com> wrote or quoted:

"Robert Downes" <no**********@see.my.signature.con> wrote in message
> Just don’t use ASP, .NET, or (try to speak through the blood boiling)
> XAML when it’s released. Microsoft dominate far more than they deserve
> already.

But I dont get why Taht robert guys hate so must ASP.NET, each one can
do what the others can do, and they can both run on almost platform, not
natively by with some extensions, they can run well. […]

Probably because it is Microsoft’s spawn.

Remember that Microsoft is one of the most hated companies on the net.

It comes in at #2 on:

http://dmoz.org/Society/Issues/Busin…ethical_Firms/

No suprise that some people boycott its products.

__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.