Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Classic ASP vs PHP for a new web app [closed]

Tags:

asp-classic

I am about to make a new Web application. My PHP skills are a little above average - I would'nt put myself under enterprise level coding. However my Classic ASP skills are strong and I have programmed VB in Classic ASP before for powerful websites.

I am going to make a ad network market place - buying and selling ad space online. It would be CDN backed with CDN JS and CDN image distribution with DNS and load balanced mySQL cluster servers.

What are everyones thoughts? I take it, Nginx can't run Windows?

Classic ASP to note, IMO, still handles and performs well on some sites. My concern is for future and speed and performance. Security on Classic ASP and PHP - well, Classic ASP with VB wins for me.

like image 706
TheBlackBenzKid Avatar asked Oct 29 '11 09:10

TheBlackBenzKid


People also ask

Which is better ASP or PHP?

The performance of any framework depends on the way the coding was done. The performance of ASP.NET is comparatively better than that of PHP. This statement may not be believed by PHP developers for the fact that many great websites have been built using PHP.

Is Classic ASP still used?

It used scripting on the server to create content that would then be sent to a client's web browser, and as a result it enjoyed a tremendous amount of success. Classic ASP, however, is no longer being developed by Microsoft at all – it has long since been replaced by ASP.NET in 2002, a newer alternative.

When was Classic ASP deprecated?

Active Server Pages (ASP) is Microsoft's first server-side scripting language and engine for dynamic web pages. It was first released in December 1996, before being superseded in January 2002 by ASP.NET.

What is the main difference between ASP.NET and PHP?

PHP is a server side coding/programming language. ASP.NET is a web application framework.


2 Answers

Even if you know Classic ASP better than PHP - Classic ASP is obsolete for nearly ten years:

It [ASP.NET] was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology.

I wouldn't start a new project with a technology that is ten years obsolete.

I don't know if Nginx runs on Windows, but it's definitely possible to run PHP and mySQL on Windows. There are Windows installers for mySQL, and it's even possible to run PHP on IIS.

like image 146
Christian Specht Avatar answered Sep 20 '22 14:09

Christian Specht


Why is this even a question? Classic ASP is obsolete. When do you expect the next version of Classic ASP? When do you expect even the next patch?

Now, ask yourself the same questions about PHP.

To paraphrase an old "TV Guide" advertisement, "Get it? Got it? Good.".

I would recommend neither of the two, and would go with ASP.NET MVC. It's closer in pattern to Classic ASP, and I believe you can even program it in the same pattern - don't use a model, use a single controller that takes the view name as a parameter, and do all the work in the view.

like image 33
John Saunders Avatar answered Sep 20 '22 14:09

John Saunders