ASP.NET vs PHP ????

19 views
Skip to first unread message

Asim Khan

unread,
Nov 12, 2010, 2:29:21 AM11/12/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi everybody,

I am beginner in web app development.... Can you plz help me in
knowing that whether asp.net is better or PHP ????

Thanx

Jamie Fraser

unread,
Nov 15, 2010, 2:45:31 AM11/15/10
to dotnetde...@googlegroups.com
Yes, ASP.Net is better.

KeidrickP

unread,
Nov 15, 2010, 1:26:20 PM11/15/10
to dotnetde...@googlegroups.com
lol,
I wouldn't say asp.net is better.
What exactly are you wanting to accomplish?
There may be more resources out there for asp.net vs php..

maybe

Processor Devil

unread,
Nov 15, 2010, 1:51:27 PM11/15/10
to dotnetde...@googlegroups.com
Well, ASP.NET  is great on IIS... And PHP rules on Apache :). Java is the best on Tomcat :D.

2010/11/15 KeidrickP <keid...@gmail.com>

Jamie Fraser

unread,
Nov 16, 2010, 2:22:22 AM11/16/10
to dotnetde...@googlegroups.com
He didn't ask us to justify it, so how can he expect a sensible answer ;-)

Stephen Russell

unread,
Nov 16, 2010, 9:55:28 AM11/16/10
to dotnetde...@googlegroups.com
------------------

They are just tools. Neither is better by itself. Only in the use of
a person could one produce a better product.

That same user could fail miserably with both tools as well.

--
Stephen Russell

Sr. Production Systems Programmer
CIMSgts

901.246-0159 cell

Jamie Fraser

unread,
Nov 16, 2010, 10:03:01 AM11/16/10
to dotnetde...@googlegroups.com
But some tools are better than others :)

Stephen Russell

unread,
Nov 16, 2010, 10:11:57 AM11/16/10
to dotnetde...@googlegroups.com
On Tue, Nov 16, 2010 at 9:03 AM, Jamie Fraser <jamie....@gmail.com> wrote:
> But some tools are better than others :)
--------------

Not in the hands of my mom!

Bad Steve!

Esmaeil V

unread,
Nov 16, 2010, 4:53:33 PM11/16/10
to dotnetde...@googlegroups.com
yes they are just tools, or they are just cars and will bring us to destination. but are Bugatti Veyron and mini Miner the same?

Santhosh Kumar

unread,
Nov 15, 2010, 3:13:07 AM11/15/10
to dotnetde...@googlegroups.com
Hey Asim,
      Never ever worry about the technology I use both ASP.Net and PHP. Its completely depends on the purpose for which yo r going to use. ASP.Net is a client side scripting and php is for server side first go thro where you want also some thing I for got to add is don't compare technology or language its completely worst case since what will yo do if yo have server support only for PHP and not IIS so better take a good choice. First identify youself what you need.

On Fri, Nov 12, 2010 at 1:29 AM, Asim Khan <skysi...@gmail.com> wrote:



--
With Regards,
Never Say No,
Santhosh V.Kumar
+919840411410
http://santhoshvkumar.110mb.com/
"I am because we are"

manish mhatre

unread,
Nov 15, 2010, 12:56:49 AM11/15/10
to dotnetde...@googlegroups.com
I think now  a days the PHP is Better than the asp.net
because php is simpler than the asp.net and the u have more market value than the asp.net u can learn php with three basics LAMP WAMP and xampp are three thing in those the LAMP course is the best u can learn Linux Apache MySql and Php are combile u can learn within 3 months and now a days the jobs are better for PHP so im prefered u PHP
Good Luck

--
Regards
Manish Mhatre

Jamie Fraser

unread,
Nov 17, 2010, 3:55:09 AM11/17/10
to dotnetde...@googlegroups.com
WHAT?!

ASP.Net is not "a client side scripting"!

zuma

unread,
Nov 17, 2010, 7:15:43 AM11/17/10
to dotnetde...@googlegroups.com
i wanted to say that too :D:D:D
--
there's nothing worse than having to get up and moving early

Stephen Russell

unread,
Nov 17, 2010, 9:29:53 AM11/17/10
to dotnetde...@googlegroups.com
On Tue, Nov 16, 2010 at 3:53 PM, Esmaeil V <e.var...@gmail.com> wrote:
> yes they are just tools, or they are just cars and will bring us to
> destination. but are Bugatti Veyron and mini Miner the same?
----------------------

Only to a talented driver will the mini Miner experience outshine teh Bugatti.

I still say it is all about the developer. I am a dinosaur with a
long time in DOS world under then through Win3.......

Have replaced a great many apps that were done with one system but
they just sucked from a design POV. Non normalized data being a
primary issue for why this app sucks.

So a great tool used by a fool only produces something that "kind of works."

I'll get you some Rembrandt Artists' Oil Colors and some Student Oils
for you to see which one is superior.

Bad Steve!

Jamie Fraser

unread,
Nov 17, 2010, 9:37:10 AM11/17/10
to dotnetde...@googlegroups.com
For me, a well designed ASP.Net MVC app will outshine a well designed PHP app in various areas:

1) Testability
2) Maintainability
3) Separation of Concerns (which ties in with #1)

In PHP, your "view" is tied to logic. In a good MVC app, it isn't. You could, of course, abstract everything out in PHP, but doing so is non-trivial.

Stephen Russell

unread,
Nov 17, 2010, 10:34:19 AM11/17/10
to dotnetde...@googlegroups.com
On Wed, Nov 17, 2010 at 8:37 AM, Jamie Fraser <jamie....@gmail.com> wrote:
> For me, a well designed ASP.Net MVC app will outshine a well designed PHP
> app in various areas:
>
> 1) Testability
> 2) Maintainability
> 3) Separation of Concerns (which ties in with #1)
>
> In PHP, your "view" is tied to logic. In a good MVC app, it isn't. You
> could, of course, abstract everything out in PHP, but doing so is
> non-trivial.
>
---------------------------

Well if you are going to test, that is just showing off.

LOL

VS20xx is a superior tool. Only downside is the WinServer
requirement. If that was out of the question "We could take over the
world!"

<http://th103.photobucket.com/albums/m135/DAISEYDOME2002/th_BRAIN.jpg>

Jamie Fraser

unread,
Nov 17, 2010, 11:00:34 AM11/17/10
to dotnetde...@googlegroups.com
Automated unit testing I do. I leave the regression/system/uat/acceptance/performance testing to the test team ;-)

Stephen Russell

unread,
Nov 17, 2010, 11:16:59 AM11/17/10
to dotnetde...@googlegroups.com
On Wed, Nov 17, 2010 at 10:00 AM, Jamie Fraser <jamie....@gmail.com> wrote:
> Automated unit testing I do. I leave the
> regression/system/uat/acceptance/performance testing to the test team ;-)
---------------

Is there a way to have a test harness for network admins to hit? So
they can take a pulse of the system(s) my app deals with. Mine works
well but the main base of data is under a microscope for consumption.

Jamie Fraser

unread,
Nov 17, 2010, 11:27:41 AM11/17/10
to dotnetde...@googlegroups.com
Not aware of any best practices for this, as each service could be implemented in a different manner. However there may be something I'm not aware of; I'm currently working with Java/BPEL services, and the BPEL implements various interfaces which allow healthchecks to be performed. I guess you could do something similar with WCF - have each service implement a pulse method, and write a client app which would iterate all services and "probe" them by invoking the pulse method. However that would only indicate network connectivity to the service, and may mask problems on the service end.

Goldie

unread,
Nov 17, 2010, 9:10:25 AM11/17/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
manish,
From what i have seen you are correct only because PHP developers
tend to keep their jobs cause what they have designed is so obscure
that hardly anyone else aside from them could actually read it. PHP
though inherently enforces bad coding behavior.

ASP.Net coders tend to be able to spit out more websites faster,
with Visual Studio, and code tends to be cleaner in design as you are
forced to follow strick behaviors and design structures. Outside of
that there isnt a whole lot a PHP developer can do that an ASP
developer can not do and vice versa.

On Nov 14, 11:56 pm, manish mhatre <priyamanis...@gmail.com> wrote:
> I think now  a days the PHP is Better than the asp.net
> because php is simpler than the asp.net and the u have more market value
> than the asp.net u can learn php with three basics LAMP WAMP and xampp are
> three thing in those the LAMP course is the best u can learn Linux Apache
> MySql and Php are combile u can learn within 3 months and now a days the
> jobs are better for PHP so im prefered u PHP
> Good Luck
>

Goldie

unread,
Nov 17, 2010, 9:07:38 AM11/17/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Asim,
PHP and ASP are not better than each other. The main difference is
there inherent utilization of the operating system they were "really"
built for. ASP for IIS and PHP for Apache-based.

That being said, it is really determinant on the webserver you have
or are wanting host a website.

Both of them can be cross-platformed, per-say, but generally
speaking IIS works best on Windows systems. Apache, fortunately, does
not have that limitation and as such probably has the broadest scope
of usability.

ASP is probably a better robust web framework, mostly cause it
allows access to the .Net framework with little ease but tends to be
restricted to just Windows O/S. ASP tends to have pre-built controls
that have default behaviors designed in, so you wont have to code a
whole control just what you need, as a beginner.

PHP is good if you tend to have a cloud of webservers that have
mixed O/S and therefore you can easily host one website across a web-
farm. Catch is you will have to build everything from scratch with no
default behaviors to assume.

Lastly, it really depends on what your style is. If you like a
wholly generic site that is built from the users first session hit,
then PHP is the way to go as the website is loaded every single time.
If you like to have a light-weight coding environment where you can
just build a page through HTML then seperate the code into a code file
then ASP would probably be the way to go. Otherwise, it really
depends which flavor you prefer.

Goldie

unread,
Nov 17, 2010, 9:13:43 AM11/17/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Santhosh,
You very WRONG on the client side scripting.

ASP is not a Client-Side scripting language anymore. WIth the
publication of the .Net framework, ASP has transitioned into a Server-
Side AND/OR Client-Side language.

Some of the best websites i have built incorporated both aspects to
produce a clean running machine.

On Nov 15, 2:13 am, Santhosh Kumar <santhosh.vku...@gmail.com> wrote:
> Hey Asim,
>       Never ever worry about the technology I use both ASP.Net and PHP.
> Its completely depends on the purpose for which yo r going to use. ASP.Net
> is a client side scripting and php is for server side first go thro where
> you want also some thing I for got to add is don't compare technology or
> language its completely worst case since what will yo do if yo have server
> support only for PHP and not IIS so better take a good choice. First
> identify youself what you need.
>
> On Fri, Nov 12, 2010 at 1:29 AM, Asim Khan <skyside...@gmail.com> wrote:
> > Hi everybody,
>
> > I am beginner in web app development.... Can you plz help me in
> > knowing that whether asp.net is better or PHP ????
>
> > Thanx
>
> --
> With Regards,
> Never Say No,
> Santhosh V.Kumar
> +919840411410http://santhoshvkumar.110mb.com/

Stephen Russell

unread,
Nov 17, 2010, 11:48:08 AM11/17/10
to dotnetde...@googlegroups.com
On Wed, Nov 17, 2010 at 10:27 AM, Jamie Fraser <jamie....@gmail.com> wrote:
> Not aware of any best practices for this, as each service could be
> implemented in a different manner. However there may be something I'm not
> aware of; I'm currently working with Java/BPEL services, and the BPEL
> implements various interfaces which allow healthchecks to be performed. I
> guess you could do something similar with WCF - have each service implement
> a pulse method, and write a client app which would iterate all services and
> "probe" them by invoking the pulse method. However that would only indicate
> network connectivity to the service, and may mask problems on the service
> end.
-------------------------

The term healthcheck is what has been presented to me. This came up
yesterday so I am starting to look into it.

I have java WS for my data access 95% of the time and I maintain SQL
Server meta data and working space as needed.

Probably need to make a client but was hoping that an additional test
would do it. Most of my stuff is iterative batch work or poor mans
work flow.

Stephen Russell

unread,
Nov 17, 2010, 12:03:23 PM11/17/10
to dotnetde...@googlegroups.com
On Wed, Nov 17, 2010 at 8:10 AM, Goldie <john...@woodsoft.us> wrote:
> manish,
>  From what i have seen you are correct only because PHP developers
> tend to keep their jobs cause what they have designed is so obscure
> that hardly anyone else aside from them could actually read it.  PHP
> though inherently enforces bad coding behavior.
----------------------

Don't tell that to non M$ web developers. They will crucify you.


>  ASP.Net coders tend to be able to spit out more websites faster,
> with Visual Studio, and code tends to be cleaner in design as you are
> forced to follow strick behaviors and design structures.  Outside of
> that there isnt a whole lot a PHP developer can do that an ASP
> developer can not do and vice versa.

-------------------

I don't believe that for a min.

Quality is the most important feature and that only comes from the
developer and not the tool.

Jamie Fraser

unread,
Nov 17, 2010, 12:06:24 PM11/17/10
to dotnetde...@googlegroups.com
To be fair, I've seen some truly awful ASP.Net sites too. You can program badly in any language, but IMO it is easier to program well in something like ASP.Net MVC / Java JSF. You'll notice both of these things have similar fundamentals.

Kevin A. Cameron

unread,
Nov 17, 2010, 5:49:54 PM11/17/10
to dotnetde...@googlegroups.com
Worth noting that MVC is not only available in the realm of managed code (ASP etc). CakePHP is an MVC framework in... you guessed it: PHP.

I agree with most people here, that it's not a question of what's better, but what you're comfortable working in, who you're working with, and what your web server supports.

(I do think it's quicker to get a page up in php, nothing to compile at least).

Kevin

Ben Rainir

unread,
Nov 18, 2010, 6:37:27 AM11/18/10
to dotnetde...@googlegroups.com
I am a PHP programmer for over 5 years.
I've worked with PHP mixed with HTML, used with OO, and also with various frameworks (ZEND, Cake, Symfony, etc), Web Services. It was easy to learn php language, but to use it correctly and professionally took 2 years.

Now I'm programming in ASP.NET with VS 2008 and see major differences. Surely ASP.NET is much more robust, with several facilities. PHP has much to offer, despite being an easy language to learn, but has not as productive and robust tools. Zend has been engaged to form a robust framework and the Eclipse community a productive IDE, but both projects are still children compared to. NET and Java.

For large projects advise ASP.NET or Java EE, but for small projects, PHP does very well (PostgfreSQL + Apache + PHP + Zend Framework + Eclipse). But the choice will depend on the team and the project size.
 
Ben

Goldie

unread,
Nov 19, 2010, 7:46:52 AM11/19/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Guess you didnt read the word "TEND" did you?

As i said, i have seen more PHP app's that have been so poorly coded
that it takes 15 seconds for the site to load every click. On the
same note, i have experienced ASP(.net) sites that have been poorly
designed and take 30 seconds to load.

A hobbiest will always push out dis-functional sites cause they have
not been guided and have bought the dreaded "24 hour books" and assume
that is the way to go. Unfortunately, those books are good to get you
started but fail on the long-term usability and functionality of a
site when getting more complex.

I have been programming unprofessionally for about 20 years, and
professionally for about 7 years. I have learned more about design
and obscurity in that last 5 years than my whole time programming
because it was structured.

Lastly, as i said in my last statement, there is not a whole lot
different between PHP and ASP(.Net) except for the core-system it is
meant to be run on.
> > > 9076417538- Hide quoted text -
>
> - Show quoted text -

manish mhatre

unread,
Nov 19, 2010, 3:30:07 AM11/19/10
to dotnetde...@googlegroups.com
It's Real thing that PHP is used for small and very dynamic projects ASP.net giving very good tools to build web projects on the large basis

Kevin A. Cameron

unread,
Nov 19, 2010, 12:11:40 PM11/19/10
to dotnetde...@googlegroups.com
Facebook (a large site by any means of measurement), their codebase is in PHP (then converted to C++ for making it run more efficiently on their servers).


Kevin

Goldie

unread,
Nov 19, 2010, 7:50:01 AM11/19/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting


On Nov 17, 11:03 am, Stephen Russell <srussell...@gmail.com> wrote:
>
> Quality is the most important feature and that only comes from the
> developer and not the tool.
>
>

So your saying coding in a NotePad(++) environment will produce the
same structure and quality as a program developed in Visual Studio or
Eclipse?

Those that hard-code with NO help, tend to make more mistakes and have
more debugging sessions than a coder that utilizes Visual Studio or
Eclipse.

Goldie

unread,
Nov 19, 2010, 7:53:34 AM11/19/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Guess you have not been paying attention have you Kevin.

.Net framework is in version 2 of MVC. And since MVC is nothing more
than a Java-based framework it can be utilized in any core-language
framework. Although, PHP and ASP(.net) have been the first to
implement. Although if you like Silverlight applications it has a
smoother implementation in ASP(.Net) and Flash, from what i have seen,
has a better implementation in PHP.

On Nov 17, 4:49 pm, "Kevin A. Cameron" <kevinacame...@gmail.com>
wrote:

Kevin A. Cameron

unread,
Nov 22, 2010, 12:25:38 PM11/22/10
to dotnetde...@googlegroups.com
Goldie - I'm not following you, what am I not paying attention to?
What do you mean by "MVC is ... a Java-based framework?" It has origins in Java or there is something inherent in MVC that depends on Java somehow?

Kevin

shilpa rakhunde

unread,
Dec 22, 2010, 1:02:33 PM12/22/10
to dotnetde...@googlegroups.com

ASP.net is better
Reply all
Reply to author
Forward
0 new messages