943,817 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Feb 13th, 2005
0

PHP and JAVA vs .NET

Expand Post »
I am looking into developing a few websites, and I am debating whether to use asp.net or php. I am very proficient in asp; however, i have not used it in years, thus i don't remember the syntax very well. I do not want to use asp because it is an antiquated language.

What makes this decision difficult is that asp.net is simpler and easier for me to learn because of my experience with asp. Since i will be going to college next year, i will probably have to use Java (I checked with my #1 choice, Upenn... they use primarily java) and i believe it will be more beneficial to learn php as i will be able to apply it to Java easier.

This goes back to the old age proble; What should i learn, Open Source (PHP) vs .NET (ASP.net)?
Reputation Points: 21
Solved Threads: 0
Junior Poster
AlPhA is offline Offline
175 posts
since Feb 2002
Feb 14th, 2005
1

Re: PHP and JAVA vs .NET

I have the perfect answer for you. Use ASP.NET there are many reasons why.

1. Faster than php because it runs on the .NET framework is based on compiled languages and the Web applications is compiled and not interpreted.

2. If you do ASP.NET use C# for the code behind pages because it is a lot colser to java than php is.

3. In using ASP.NET I have found more help for it and nicer people wereas in the open source community (that i love by the way and wil fight for anyday of the week.) I get a lot of RTFM on stuff that i dont understand even after i have read for a couple of hours on how to do it.

4. Another reason is you have a lot better IDE's to choose from for ASP.NET such as the webmatrix which is an excellent free IDE for asp.net. You can get it at http://www.asp.net also there is Visual Studio.NET that a lot of people use but it costs money, but IMO is well worth it.

5. There is honestly more money in ASP.NET if you are looking at makeing some money at it I frequently find more jobs of people looking for .NET developers for ASP.NET or window forms projects than I do php.

6. If you learn ASP.NET you will have a major heads up on learning Windows Forms to make regular applications in windows using the .NET framework.

These are just a few of the reasons why you shoule learn ASP.NET over php. I know both but personlly love how fun and easy it is to develop ASP.NET applications over php web sites.

Hope that helps.

p.s. For a great resource to learn ASP.NET go to http://www.asp.net there are lots of people there to help you out. Also for excellent articles to read on learing ASP.NET visit http://www.4guysfromrolla.com
Reputation Points: 12
Solved Threads: 0
Light Poster
percent20 is offline Offline
33 posts
since Jan 2005
Feb 16th, 2005
0

Re: PHP and JAVA vs .NET

percent20... i completely agree with you!

What makes this so difficult is that i will be going to college next year (probably double major in cs and business) and i will most likely be using java. I, basically, decided to learn php since it will be easier to learn java afterwards.
Reputation Points: 21
Solved Threads: 0
Junior Poster
AlPhA is offline Offline
175 posts
since Feb 2002
Feb 16th, 2005
0

Re: PHP and JAVA vs .NET

Quote ...
1. Faster than php because it runs on the .NET framework is based on compiled languages and the Web applications is compiled and not interpreted.
Im pritty certain you can compile PHP too.

But also J#.net, would be the best to use interopratability (spelling) wise, since you could send java objects too your sever, if you where that way incliend.
Reputation Points: 21
Solved Threads: 10
Junior Poster
Paul.Esson is offline Offline
181 posts
since Feb 2005
Mar 15th, 2005
0

Re: PHP and JAVA vs .NET

Why would Java be easier to learn once you know php?
Java is nothing like php. php is now where JSP was around 1999, but JSP has moved on and is now nowhere near where it was back then.

If you want an easier entry into Java think about C++ and Delphi (yes, I know the syntax is different but the organisation is similar).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 22nd, 2005
0

Re: PHP and JAVA vs .NET

Quote originally posted by Paul.Esson ...
Im pritty certain you can compile PHP too.
After doing a little research and watching some videos with people that work with php professionaly I have found that php is actually interpreted at the moment. There is work on a compiler though for .NET go to http://www.php-compiler.net
Reputation Points: 12
Solved Threads: 0
Light Poster
percent20 is offline Offline
33 posts
since Jan 2005
May 21st, 2005
0

Re: PHP and JAVA vs .NET

PHP is pretty easy to learn, quite honestly. Just go here:

http://us3.php.net/manual/en/index.php

When you are ready to begin more advanced development, use this:

Classes and Objects (PHP5):

http://us3.php.net/zend-engine-2.php

PHP5 now has many of the OO features included in Java. In my opinion, PHP would be the way to go. You get the object oriented functionality, security, as well as open source licensing.

Let's clear up a misconception: PHP cannot be encoded/compiled.

If you want your code encoded/compiled, you can purchase an encoder/compiler direct from Zend. There are also many other companies which provide compilers as well.

Not to mention, the open source community. Do a search for almost any PHP problem you encounter, and 90% of the time it has already been asked and answered online.

If you are looking for a web based solution, PHP is the way to go. I would ask yourself this, after reading about PHP:

Can you find the same, free, answers and documentation so readily available for ASP as PHP? Also consider the licensing issues, and how it pertains to your situation.
Reputation Points: 41
Solved Threads: 2
Junior Poster in Training
fsn812 is offline Offline
93 posts
since Jan 2004
Jun 17th, 2005
0

Re: PHP and JAVA vs .NET

Quote originally posted by AlPhA ...
percent20... i completely agree with you!

What makes this so difficult is that i will be going to college next year (probably double major in cs and business) and i will most likely be using java. I, basically, decided to learn php since it will be easier to learn java afterwards.
learn java .... is a little bit difficult , but it's much more complex than php ..

php is only for web based solutions ... :eek:
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vimkar is offline Offline
20 posts
since Jun 2005
Sep 25th, 2008
0

Re: PHP and JAVA vs .NET

Hii,,

All I have to say that PHP is much better as compared to .NET and Java.

Just put it this way,

PHP is much more flexible and easy to learn than .NET,
An expertise in PHP can also do programming in notepad( ), i.e use a simple notepad as a code editor,
but looking at the processing of .NET & Java, its becomes very much difficult

& as fsn812 told ealier, open source developers can easily sort out the problems encountered.

Plus there are many open source products available, THANX to the open source community
i.e have PHPBB, OS Commerce, Joomla etc etc which are really helpful.

So, I think open source PHP really has a good future...

ALL THE BEST..


BhaviK
Reputation Points: 8
Solved Threads: 0
Newbie Poster
bhavik_thegame is offline Offline
11 posts
since Sep 2008
Oct 17th, 2008
0

Re: PHP and JAVA vs .NET

Hii,,

All I have to say that PHP is much better as compared to .NET and Java.

Just put it this way,

PHP is much more flexible and easy to learn than .NET,
An expertise in PHP can also do programming in notepad( ), i.e use a simple notepad as a code editor,
but looking at the processing of .NET & Java, its becomes very much difficult

BhaviK
you can do asp.net programming in notepad as well, the IDE is not required, it just facilitates your job.
Featured Poster
Reputation Points: 854
Solved Threads: 127
Banned
serkan sendur is offline Offline
2,057 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: non guru - need verification on everything to put it into place
Next Thread in IT Professionals' Lounge Forum Timeline: Can You Take Over the World in 140 Characters?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC