|
Actually, when you get a blank screen your debug settings
are wrong for development, that is production settings, where it hides
errors. Go to your php.ini (just type that in your run menu). Then
go to the error settings and set your errors to:
error_reporting = E_ALL;
You should grab a book on PHP before dismissing it.
Like ColdFusion you cannot just start coding without knowing how the language
works or how to debug in it.
PHP seems to have much more free snippets and code out
there. If you go to php.net and lookup a function you will see user
samples below it. By far their online manuals are better than any other
language, hands down. If you do not know how to do something in coldFusion
it can take you hours to find out. With php.net and sourceforge.net PHP is
well covered.
With asp.net and codeproject.com as well as asp101.com and
fourguysfromrolla.com ASP is covered.
However, I do not have a great place to get free coldFusion
snippets and real world code. However, this could just be because it is my
favorite I do not need and I have never looked.
Jacob From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Woodward Sent: Thursday, June 09, 2005 9:58 AM To: [email protected] Subject: Re: [BULK] - RE: CF VS .Net? / PHP v. CF I do a lot of PHP on the side, simply because low-budget companies flock to
it like crazy. It's not bad per se, and version 5 has a lot of improvements on
the OO side of things, but it just still has an amateur feel to me. For example,
with an out of the box installation, if you do the following:
$myVar = "Hello.";
Then later you output this:
<? echo $myVra; ?>
(NOTE THE TYPO) All you'll see on the screen is nothing where that output
is. No errors, PHP just says "Hmm, don't know what that is" and proceeds. Makes
debugging a nightmare. Now there may be some way to turn on more strict variable
checking, but I've never seen that enabled in any of the installations I've
worked on.
The other thing PHP typically does when an error occurs is this:
Parsing error on line 232
That's the entirety of the error message. At least it gives you the line
number, but that ain't much to go on.
I don't dislike PHP overall, and for really, really low-budget stuff it
might make sense. I just still look at CF as a product with all the features and
capabilities it has, and CFML as a language, and by comparison PHP is just
amateurish to me.
That being said, it's got huge numbers behind it which is why I learned it
and keep my skills up with side projects. There's plenty of PHP work around it
seems.
Matt On Jun 9, 2005, at 9:38 AM, Justin Cook wrote:
|
- Re: [BULK] - RE: CF VS .Net? / PHP v. CF Justin Cook
- Re: [BULK] - RE: CF VS .Net? / PHP v. CF John Ivanoff
- Re: [BULK] - RE: CF VS .Net? / PHP v. CF Matthew Woodward
- Re: [BULK] - RE: CF VS .Net? / PHP v. CF Jacob Cameron
- Re: [BULK] - RE: CF VS .Net? / PHP v. CF Matthew Woodward
- RE: [BULK] - RE: CF VS .Net? / PHP v. CF Knipp, Eric
- RE: [BULK] - RE: CF VS .Net? / PHP v. CF Jacob Cameron
- RE: [BULK] - RE: CF VS .Net? / PHP v. CF Jordan Gouger
