Page 1 of 2

I can see why

Posted: Fri Jan 23, 2004 11:14 am
by cjmcf529
I have tried to get this code to work for over a month. It took me less time with ASP/VBScript to do more than this. PHP doesn't even handle loops well, let alone clean code constuction. I think I will take the minute performance loss of ASP since this code is not suited to real-world business approaches.

Thank you for your time.

Posted: Fri Jan 23, 2004 12:38 pm
by ol4pr0
i dont know which code youre trying to get ironed.

However i can tell you that ASP still has more bugs than php. Coding in VB is just differant from PHP, its like making a transfer from VB -> VB.net

Anyway if you think so badly about php.. than W$%@T?*



excuse me ...

Posted: Fri Jan 23, 2004 12:50 pm
by jtc970
PHP is free

Posted: Fri Jan 23, 2004 2:38 pm
by DuFF
And better.

Posted: Fri Jan 23, 2004 4:18 pm
by dull1554
and in my opinion the best web scripting language ever.....hahaha

Posted: Fri Jan 23, 2004 5:42 pm
by pickle
Two words: "Open source".

cjmcf529 - if you're having problems with PHP - just post them in the forum and we'll all be willng to help. Maybe if you post the code you're having problems with, we can help you right here.

Posted: Fri Jan 23, 2004 6:11 pm
by dull1554
thats what this place is for ?!?!NO?!?! at least i always thought it was hmmmpppp.....

Posted: Fri Jan 23, 2004 6:26 pm
by Bill H
this code is not suited to real-world business approaches.
Wow, that's heavy.
Does that mean the two sites I've done that have been online for over a year don't really work?
That I (and a couple dozen other people) only think they work?

Must mean this forum doesn't work either. Ha. And you thought it did. You fools you.
8)

Re: I can see why

Posted: Mon Jan 26, 2004 3:09 am
by twigletmac
cjmcf529 wrote:I have tried to get this code to work for over a month. It took me less time with ASP/VBScript to do more than this. PHP doesn't even handle loops well, let alone clean code constuction. I think I will take the minute performance loss of ASP since this code is not suited to real-world business approaches.

Thank you for your time.
What code?

Mac

Posted: Mon Jan 26, 2004 9:25 am
by cjmcf529
Just a few replys here.

I am a big supporter of the open-source movement. BUT, Open Source doesn't always mean that it is the be all end all solution to a programming problem. So just saying "free" or "open source" doesn't even offer a reasonable argument. Yes it is free, yes it works on all major platforms but, it does not supply the functionality that is required by enterprise level developers.

PHP is good for simple sites that dont require any real dynamic enterprise level functionality. I have been using Linux and Apache for 6 years and I have had to resign myself to the fact that getting PHP to do anything other than the most rudimentary dynamic functions, is pretty much an act of futility. In the time it took me to get a single page working in PHP, I managed to write an entire site 100+ pages (well over 50K lines of code) in ASP/VBScript.

PHP is supposed to work well with MySQL but when I ask the most basic of questions about getting the hand-shake with the db it's like I am the first person in the history of web development that has asked the question.
Its not that PHP will not connect to the db or retrieve data, but the fact that PHP cannot provide the dynamic content that I require.

I truley want to shed myself and my corporation of the strangle-hold that M$ has on it, but until PHP matures or the documentation available becomes better I cannot. I have spent over $300 on books for PHP/MySQL development but still cannot accomplish the tasks that I have to complete in order to change platforms.

Posted: Mon Jan 26, 2004 9:34 am
by twigletmac
Please don't see the following as an attack - I am genuinely interested in your opinion of why you can't use PHP but without any examples am finding it difficult to see what you are talking about. Please tell us what king of tasks you are unable to complete - you haven't given any details at all and you've only got 4 posts here so you haven't been regularily asking for help so I can't look back on any history.

If you actually give some indication of what you are trying to do it would make this a more interesting discussion. What exactly can't you do with PHP, what is this dynamic enterprise level functionality? What kind of dynamic content were you trying to get from MySQL with PHP that just wouldn't work?

It's probably fair to say that if you are already fairly proficient in ASP/VBScript that it is going to be easier for you to write code in that than in PHP. I'm sure trying to code the site I currently have in PHP in ASP would be a headache and an uphill struggle for me.

Why don't you ask more specific questions to see if what you're struggling with is something PHP can't do or something you don't know how to do with PHP.

Mac

Posted: Mon Jan 26, 2004 9:41 am
by m3mn0n
You will get better as you learn the language, and better programming practices.
The race car is only as good as it's driver.
That same philosophy applies to using PHP, I believe.

Master the tool and you shall see it's true beauty, potential, and most importantly, power.

Posted: Mon Jan 26, 2004 4:33 pm
by Bill H
Please don't read this as a flame, but
In the time it took me to get a single page working in PHP, I managed to write an entire site 100+ pages (well over 50K lines of code) in ASP/VBScript.
That's 50,000 lines of code in the time it took to write one page of working php code? I have to believe you are engaging in hyperbole, but it weakens (in my view) the rest of your argument, especially when (as Mac points out) you aren't saying what it is that php won't do.

I've been writing applications in C for twenty years, in C++ and Visual C++ for ten years, and in PHP for three years, and I haven't found anything that PHP won't do. Maybe you are doing stuff that is that much more sophisticated than I am, but...

Posted: Mon Jan 26, 2004 5:17 pm
by Dr Evil
I work as a project manager in a 100% Microsoft web agency. The developers on my team all swear by ASP and do a pretty good job. We have a few large multinational clients with websites well over 500 pages and hundreds of dynamic pages. In a few cases we used Microsoft designed products (Commerce Server 2002) on .NET technology. But other than these particular cases (often requests by clients) PHP could have done the job just as easily and for sure cheaper. But my guys would sure take some time to get used to another language (who doesn't ?)

Could you be more precise when you say:
real dynamic enterprise level functionality
Dr Evil

Posted: Mon Jan 26, 2004 8:27 pm
by ilovetoast
I went and looked for cjmcf529's other posts, hoping one of them might yet point to the problem (s)he was struggling with in the original.

See this thread if you're curious. In that post cjmcf529 asks how to step through a recordset obtained from a db query.

I can think of multiple places (including the two excellent answers you were given) where you could have gone for assistance. The PHP manual has several examples of how to do exactly what you want in a variety of ways. If you need more detail in reply, post more in your query. In the request for help details were scant, but in this post you show you can write more when the urge overcomes you....

The problem is, cjmcf529, you don't know PHP and somehow that's become the fault of PHP. There is nothing any of us can do about that and that has nothing to do with the relative merits of ASP.

Who are a little wise the best fools be.

peace

well Donne toast