473,322 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Why php and not C?

Bob
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?
Jul 17 '05 #1
33 2642
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?

Jul 17 '05 #2
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?
Jul 17 '05 #3
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
Jul 17 '05 #4
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/
Jul 17 '05 #5
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?

Jul 17 '05 #6
Bob
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.

Jul 17 '05 #7
"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
Jul 17 '05 #8
On 2004-01-26, CountScubula <me@scantek.hotmail.com> 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
Jul 17 '05 #9
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
Jul 17 '05 #10
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
Jul 17 '05 #11
Bob
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?

Jul 17 '05 #12
On Mon, 26 Jan 2004 04:02:30 GMT, "CountScubula"
<me@scantek.hotmail.com> 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 )
Jul 17 '05 #13
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
Jul 17 '05 #14
Side effects are for losers!

Uzytkownik "David Mackenzie" <me@privacy.net> napisal w wiadomosci
news:83********************************@4ax.com...
On Mon, 26 Jan 2004 04:02:30 GMT, "CountScubula"
<me@scantek.hotmail.com> 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 )

Jul 17 '05 #15
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
Jul 17 '05 #16

"David Mackenzie" <me@privacy.net> wrote in message
news:83********************************@4ax.com...
On Mon, 26 Jan 2004 04:02:30 GMT, "CountScubula"
<me@scantek.hotmail.com> 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
Jul 17 '05 #17
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

Jul 17 '05 #18

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)
Jul 17 '05 #19
"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...

:-D

--
Dag.
Jul 17 '05 #20
"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
Jul 17 '05 #21
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)

Jul 17 '05 #22
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" <me@scantek.hotmail.com> 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

Jul 17 '05 #23
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
Jul 17 '05 #24
"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


Jul 17 '05 #25
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
Jul 17 '05 #26
"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
Jul 17 '05 #27
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" <me@scantek.hotmail.com> 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/
Jul 17 '05 #28
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

Jul 17 '05 #29
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" <me@scantek.hotmail.com> 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/

Jul 17 '05 #30
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

Jul 17 '05 #31
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?

Jul 17 '05 #32
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%matt@tasonlinecom...
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?


Jul 17 '05 #33
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.
Jul 17 '05 #34

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.