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:

Hello all,
What I am really curious about as well is the PHP vs. CF arguement? Seems like PHPs use has really grown and other than it's free and open source, what are the arguements to use it versus CF? And if I were debating a PHP developer, what would I say in regards to ColdFusion as compared to PHP?
Thanks,
Justin

[EMAIL PROTECTED] wrote:
I've started doing some C# programming and agree that it's a waste of
time to do C# without visual studio. The good thing that I've seen
about C# and .net is that everything is an object. The intelli-sense in
Visual Studio is awesome. I would love to see Macromedia/Adobe add that
functionality to DreamWeaver. It would be cool as you code to know what
methods and properties are available from your CFC.

ColdFusion is hands down easier to develop with IMO. But that could be
a factor of what you are used to. 8 or 9 years of CF development versus
2 weeks of C#. Hmmmmm.

The knock on CF is that it's not free like ASP or PHP. Not sure of what
VisualStudio costs, but that has to be included in the comparison.

Tom

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Matthew Woodward
Sent: Thursday, June 09, 2005 8:59 AM
To: [email protected]
Subject: Re: CF VS .Net?

I've done two smallish projects in C#, and if you don't use Visual
Studio the amount of code you have to write is HEINOUS. If you plan
to do any amount of .NET development whatsoever, add Visual Studio
licenses to the total cost because writing all that code by hand is a
nightmare. To me that's not a strength of the Visual Studio tool,
it's a weakness of the language. ;-) I just don't understand why
everything other than CF (and some J2EE servers of course) doesn't
manage your datasources so you can have simple query statements like
we have in CF, and that's just one example. All that extra code adds
up quickly.

Matt

On Jun 9, 2005, at 8:49 AM, John Ivanoff wrote:

> A while back ben forta blogged on this "Defending ColdFusion
> Against ASP.NET"
> http://www.forta.com/blog/index.cfm?mode=e&entry=1264
>
> he said it should be more J2EE vs .NET
> "ASP.NET apps take advantage of the .NET framework and infrastructure,
> just like ColdFusion apps take advantage of J2EE"
>
> I've looked into .NET and to me it's like programming cobol. 30* lines
> of code to do a "HELLO WORLD" But I'm sure you can do some really cool
> stuff with it.
>
> * not really but sure seems like 30.
>
> On 6/9/05, David Whatley wrote:
>
>> Just for discussion, what are the pro's and cons on CF versus .Net?
>>
>> David Whatley
>> COO
>> AutoRealty Products
>> 817-284-9875 X 105
>>
>>
>>
>> ----------------------------------------------------------
>> To post, send email to [email protected]
>> To unsubscribe:
>> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
>> To subscribe:
>> http://www.dfwcfug.org/form_MemberRegistration.cfm
>>
>>
>>
>>
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
> http://www.dfwcfug.org/form_MemberRegistration.cfm
>
>
>

--
Matthew Woodward
[EMAIL PROTECTED]


----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm


----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm



--
Matthew Woodward


Reply via email to