PHP vs. ASP vs. Perl

They have: 9 posts

Joined: Feb 2009

Which one is better?
I am using PHP and it's pretty good.
It's hard to learn ASP or Perl?

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

I would say that PHP and Perl has an edge because it runs in more environments than ASP. I haven't used them all enough to say much more than that. I have been coding sites in PHP for some time, and I've never had a reason to look for a better alternative.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

It depends on the goals, the existing framework, lots of things.

Use the correct tool for the job...

Personally, I use PHP 90% of the time, do some work in ASP for a cart built with it, I haven't had much experience tweaking Perl.

And what about Ruby and Rails?

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

Which one is better?

It depends.

I am using PHP and it's pretty good.

I think it's pretty good too. It makes web programming easier for the masses (for better or for worse). It does everything I need when it comes to web development.

It's hard to learn ASP or Perl?

Classic ASP isn't too hard to grasp. If you already know a programming language, it isn't hard to adjust. I don't have much experience with ASP.NET, but it seemed a bit strange to me. And after a few hours of toying with it in Visual Studio, I haven't looked at it since.

They have: 8 posts

Joined: Feb 2009

Perl has loop holes... dont go for it... for example, you type in the address bar as www.websitename.com/?authenticated=true and if it matches one of the variables you used..(in which case you are not very good at perl programming...)... trouble is around u for sure.... USE PHP...

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

IMO good programming habits will prevent this, so not really a factor between languages as much, as there are STILL hosting sites (sadly) that have PHP set to still do this.

-Greg

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

Ya, this is a programmer issue, not a language issue. The app is only as secure as you make it.

They have: 17 posts

Joined: Apr 2009

I accept it,but still I prefer PHP !

They have: 3 posts

Joined: Jan 2009

php looks a lot like perl, but is easier in my opinion, more built in functions and less messing around with modules,
its faster too.

PHP over Perl over ASP

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

With the release of ASP.NET MVC as free software, and the fact that Mono can run it, that eliminates the licensing issue, platforms issue and the library/framework issue. It may be worth considering.

While it's possible -- with discipline -- to avoid writing bad PHP code, it's rather more difficult to write great code with PHP, due to barriers imposed by the language and system. Of the given choices in this thread, ASP.NET (with C#) has the best architecture and most powerful set of features.

I'd recommend Java as well, with a language such as Clojure or Scala. That would arguably perform better across platforms than a .NET solution, and has a broader and more mature ecosystem (tools and libraries, especially).

All that said, it depends on your project's particular constraints. If you can afford to pick a language, then consider the above.

They have: 121 posts

Joined: Dec 2008

Free ASP.NET MVC for anyone building web apps on the MS stack is a pretty sweet deal indeed!

Cheers,
Shaggy.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

I am evaluating a MS SQL db-driven site coded in C#/ASP.NET

The results are inconsistent; the data is imported from a major repository used by many services so the data is not suspect.

I think it's an implementation issue, with a need for some better front-end UI and results filtering, and queries tailored to the data.

I know how how I would do this in PHP/MySQL but the C# code is pretty opaque to me, seems like there are even more little files lying about than in Mambo Sticking out tongue

Developer claims he has spent 100s of hours - and it's not functioning properly yet. He says parts are compiling on the fly and slow it down. He says he would have problems adding an HTML front end because of the way his ASP code is generated.

Is this normal? Why is it better than PHP?

They have: 121 posts

Joined: Dec 2008

It is certainly possible to make a mess in any language and/or platform, and it sounds like you've found one there.

Cheers,
Shaggy.

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

decibel.places wrote:
Developer claims he has spent 100s of hours - and it's not functioning properly yet. He says parts are compiling on the fly and slow it down. He says he would have problems adding an HTML front end because of the way his ASP code is generated.

Is this normal?

No.

greg's picture

He has: 1,581 posts

Joined: Nov 2005

Yup. While I know nothing about ASP code, I cannot imagine it is as terrible as your coder is making out.
If I were to tell you I needed to access phpmyadmin every hour to update many rows and fields of data, it would be my incompetence that gave you the opinion that PHP/MYSQL is seemingly lacking in usability and functionality.

As you know, a simple PHP file with a HTML form or auto script (cron etc) would usually resolve that to-be-avoided requirement.

Although without knowing the surrounding issues, it's impossible for anyone to tell. How about posting some example code of the stuff he has problems with for those with ASP knowledge to review?

Maybe he just needs some pointers on a few things? No one can know everything after all.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

greg wrote:
Maybe he just needs some pointers on a few things? No one can know everything after all.

That is my opinion. The site has to do with events. He did not put a "date" field in his search function, and searching by date in another field results in error Confused

I can deal with ASP but I have no experience with the C# that generates the ASP... I worked with PLC-7 in 1980, an ancestor of the C languages...

I am offering to "advise" on logic and usability, which do not need to be specified on the code level...

They have: 83 posts

Joined: Apr 2009

PHP and Asp both are good but both are good in their places means,you can choose any of these scripts in developing different types of products so its work varies according to its uses.so its difficult to say which is best all all good and all are bad and every script has its own merits and demerits but i will personally go for both Asp and PHP.
Thanks.

They have: 4 posts

Joined: Sep 2009

php looks a lot like perl, but is easier in my opinion, more built in functions and less messing around with modules,
its faster too
=>PHP over Perl over ASP

They have: 2 posts

Joined: Nov 2009

I think ASP is easier.Both of them is popurlar now.

{links removed}

They have: 58 posts

Joined: Oct 2009

Perl is a great language for some things, just not for programming web pages. Perl is indeed mature in that it’s been around for a long time, prior to the Web in fact. PHP code gets embedded into HTML pages, unlike Perl. This makes it very fast to code web pages and fast to deploy a new site, thus speeding up Web development and lowering overall cost of ownership.PHP is secure. Perl scripts tend to have more security holes. Developing functionality in ASP websites is enabled by the active scripting engine's support of the Component Object Model .

They have: 8 posts

Joined: Jan 2010

php all the way for me! most reliable, I found it easier to learn. And the servers tend to be faster I think. More openly known so its cheaper to get the work completed for a cheap price I think. More open source scripts etc in PHP too.

They have: 1 posts

Joined: Jan 2010

I've been developing software for 10 years. I worked primarily with java and .net. I have worked on a few small projects using php. If you are writing software that needs to run on multiple platforms then java is the way to go. However, if you are running window os you should for sure write in the .net framework. Microsoft is continuously building the framework allowing the software engineer to implement solutions with less code.

They have: 10 posts

Joined: Jan 2010

If you been programming for about two years either in PHP, ASP or Perl then you can switch to any other language like Java, C++. Its all about the concepts and the understanding.

They have: 9 posts

Joined: Jun 2010

Why is ASP there? I thought it was dead for many years. Maybe Ruby should replace that position and we shall continue with the interesting comparisons.

They have: 2 posts

Joined: Mar 2009

I use PHP and ASP. I think both are good.

They have: 9 posts

Joined: Jun 2010

All the languages are better. They all have their own advantages and disadvantages so we can use them in different scenarios. Currently I am using ASP.NET.

He has: 53 posts

Joined: Jun 2010

Which one is better? Nobody is better or Useless, it's completely depends on your interest but according to me if you use PHP then you also cover any C.M.S Like joomla or drupal etc.

They have: 3 posts

Joined: Jun 2010

All are good at there place but PHP is easy to learn and powerful. PHP provide very easy and powerful CMS like joomla,Wordpress etc.

They have: 1 posts

Joined: Aug 2010

Although I love PHP Perl is no doubt the best choice and ASP well... I wouldn't even bother, what's the point!!

lynxus's picture

They have: 9 posts

Joined: Aug 2010

Ive never used ASP ( because i use linux mainly )

Ive used Perl and PHP however i prefer PHP.

Perl seems a little dated now and its just plain hard work sometimes to get a decent "webapp" created.

at least with PHP you can "inline" your code in a plain html document..
Make life just that more simple.

Perl i find is best used for local scripts to manipulate data on a server and no good for writing webapps.

Just my 2c

They have: 3 posts

Joined: Aug 2010

Hi,

All the languages are better. I am using PHP and ASP. Both are good.

They have: 4 posts

Joined: Aug 2010

I accept it,but still I prefer PHP !

They have: 4 posts

Joined: Jul 2010

This makes it very fast to code web pages and fast to deploy a new site, thus speeding up Web development and lowering overall cost of ownership.

They have: 9 posts

Joined: Nov 2011

php......PHP web development companies can acquire a drastic opinion to enhance open source technology work to make growth for their business processes. Smiling

He has: 3 posts

Joined: Jan 2012

Every language has its own plus and minus points. Personally I love PHP too. Since it's open source, easy to learn, compatible to all platforms, worldwide support and many good features.

They have: 11 posts

Joined: Jan 2012

PHP and Perl are better..!!

They have: 6 posts

Joined: Jan 2012

I would say that PHP and Perl has an bend because it runs in added environments than ASP. I haven't acclimated them all abundant to say abundant added than that. I accept been coding sites in PHP for some time, and I've never had a acumen to attending for a bigger alternative.

They have: 9 posts

Joined: Feb 2012

PHP and ASP are better

They have: 3 posts

Joined: Sep 2011

Php vs asp which one is preferable for fresher to settle in software field?
php vs asp which one is preferable for fresher to settle in software field. By choosing which platform i can get good package, which is scope of MNC career

structuresettlement's picture

They have: 2 posts

Joined: Feb 2012

Both are good. It's depend up to you.PHP is easy to learn and i prefer PHP.

They have: 1 posts

Joined: Mar 2012

Hello, I am new to the forum.

They have: 3 posts

Joined: Feb 2012

I like to go with php.. at least you will get lot of help from online..

He has: 51 posts

Joined: Mar 2012

I will never go with asp. I'm straight up PHP, most developers are as well. Unless there's a company that's willing to take you in (Guaranteed), then go with PHP.

They have: 10 posts

Joined: Mar 2012

I Accept it..All languages are good but i use Asp.net much as compared to other..Smiling
it is easy to learn Asp.net
Microsoft is continuously building the framework allowing the software engineer to implement solutions with less code.

They have: 1 posts

Joined: Apr 2012

I agree with PHP its easy for learning

They have: 13 posts

Joined: Apr 2012

Surely PHP vs ASP is the question .. you can't really compare to perl can you?

They have: 7 posts

Joined: Apr 2012

hiiiiiii all
i think that php very better more than asp and prul

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.