ASP.Net code is compiled into CIL/CLR bytecode. It is very much like assembly language for a virtual CPU and it is easily translated into native code if needed.
C++ is dangerous because pointers and memory assignments can crash the server, and hackers/crackers can exploit pointers to gain access to memory locations that store passwords and other sensitive data.
ASP.Net is easier to debug, and in that way it gives the programmer better control than C++. Visual Interdev and Visual Web Developer and the Visual Studio tools can step through each line of ASP.Net code and change it on the fly and reverse steps to debug flaws and errors more quickly than C++ compiling the code, finding an error, loading it into an editor, fixing the code, compiling the code again, finding an error, fixing the code again, compiling the code again, etc. Unless you use a commercial version of C++ like Visual C++ or Borland C++ Builder that can debug C++ code better.
You’ll never know the pains I had to go through to debug C++ and PHP programs and how much easier it was to debug ASP and ASP.Net code. It all depends on the tools you use.
I ran a Linux web server with PHP5 and Apache2, using the PHPBB2 forums with all of the latest security patches, and spammers used exploits to get past validation of user accounts and a cracker got in and hacked the web server using PHP exploits. When I run ASP and ASP.Net code with the SNITZ or other forum software I never had to worry about spammers or crackers. I monitor the web server through security programs and watching the logs.
MFC and Dotnet are not the same thing, and you are showing your ignorance. Dotnet is a separate framework that has to be installed, and it exists for non-Windows operating systems with Novell Mono and DotGNU compilers. Being bloated is debatable and I think you are confusing your own opinions for the actual facts.
You can read up on Dotnet here:
MS-DotNet resources
You can read more about Mono here:
Novell Mono
You can read more about DotGNU here:
DotGNU
As you can see, the Dotnet framework is not even limited to Windows, and it is not the same as MFC because if it was it couldn’t be run on Linux, Mac OSX, *BSD Unix by Mono and DotGNU. Dotnet is not limited to Microsoft, and Microsoft gave control of Dotnet languages like C# to the EMC open source organization for use everywhere.
As you can see by the DotGNU website they built PHPGroupware on the Dotnet framework for PHP, so that PHP developers can use it as well.
“I’m going to come straight out with this, your arguments all seem to be along the lines of “I’ve had bad experiences with a particular aspect therefore all of PHP is bad and ASP > *” or even maybe hinting on “omfg PHP is [bleh] and ASP rocks because it’s Microsoft.” etc.”
That is not what I said at all, in fact I even cited a source with PHPGroupware that allows you to use Dotnet in PHP. I never even mentioned Microsoft or claimed ASP was better because Microsoft made it. Novell Mono uses open sourced ASP.Net for example, and it contains no Microsoft code, and it runs with XSP on Apache with mod_mono.
Reading that Wikipedia article it gives examples of bytecode and this is one of them “Managed code such as Microsoft .NET Common Intermediate Language, executed by the .NET Common Language Runtime (CLR)” So you claim that Dotcode does not support bytecode now, which either means that you are wrong or that Wikipedia is wrong about Dotnet bytecode. The CLR bytecode that is run is in the CIL format which is like assembly language code for a virtual CPU.
I guess I cannot blame you for the rest if it is 3am and you are not thinking clearly and have a headache.
Visual C++ allows C++ code to be debugged in the same way that Visual Interdev etc debug ASP code. I think Borland C++ Builder does as well. I just don’t think it can be applied to CGI scripts that are already compiled, I could be wrong. But my method of programming does not involve compiling the code each time to find an error, it is all about analysis and design, good programming habits (closing off objects when done with them, stripping out symbols that hackers can use to exploit the system, limiting entered data into the max length allowed to prevent buffer overflows, etc.)
When I ran ASP and ASP.Net or PHP I kept a close monitor of the system. I have security programs running, keep track of the logs etc.
PHPBB2 code is buggy and sometimes has security flaws, if you can recommend a better PHP forum for me, please let me know and I can look into it. I only switched back to ASP and ASP.Net because I wanted to try something different, there were too many PHP exploits and too many attempts at exploits. Now I don’t write the PHPBB2 code myself, it is open sourced.
Well I was paid to develop in ASP, I learned PHP on my own. I have been doing both PHP and ASP since 1997.
Sadly I’ve been out of work since 2002 due to a disability, I am trying to get healthy enough to go back to work one day. It is hard to keep up with changing technologies as well as try to keep my health up so I can stay out of the hospital.
Actually yeah I did want to write my own forum, I saw features that one forum has that another does not, but it has features that the first one doesn’t have. I wanted a forum that can be used as part of a web portal, that also can show posts in story or blog view, as well as a threaded view, with RSS and RDF feeds, along with the option of turning posts, etc into PDF files (though I suppose ODF is getting ready to replace PDF) that can be downloaded and stored like a book. For example if there is a good programming thread on writing PHP code to send SMTP email messages, don’t you want to take the parent post and replies and print off a PDF that you can download and then read later on the topic as a reference for your eLibrary you are collecting on PHP? Then share it with a friend? Of course it would be under a GPL or Creative Commons license like the forum text would be, and comments are the property of those who wrote them. But wouldn’t it be a cool idea to do that?
I was told that Google and Yahoo do a lot of Python development. When I look at the Yahoo web sites, I really don’t see PHP extensions. Unless Yahoo hides the PHP file extensions or something. I suppose they could use them on parts of the Yahoo web sites that I don’t use, like the games area or something. But the Mail, Groups, 360, My Yahoo, etc don’t seem to me to be PHP.
ASP.Net is not limited to Microsoft, Novell makes a nice open source version of it with the Novell Mono project.
“To run ASP.NET applications you need xsp and if you want to optionally integrate with Apache, get mod_mono. “
XSP and mod_mono can even make Apache on Linux run ASP.Net, for free, without using any Microsoft code.
Ruby on Rails can produce initial code for you faster, but you have to spend the time to tweak it and follow good programming practices to avoid some of the flaws that Rails puts into the code. It is only good to produce prototypes really quick, and not good enough for a production program.
Python can handle complex math like the square root of negative 1, etc. Most languages cannot handle that and throw an exception. If you need complex math either you write your own classes to handle it, or you use Python which has it already built in. Python can also use C libraries and objects, and Jython can also use Java libraries and languages.
Why would Perl still be used when PHP is that much better than Perl plus easier to program? Like Perl, Python uses regular expressions and it is easier to program than Perl.
Easiest to program of all is Visual BASIC in ASP and ASP.Net.
Good question, banks I deal with either use ASP or JSP I can tell by the file extension of the web programs they use.
Etrade, Scottrade, and Wallstreet I cannot tell what they use or if they hide the extensions of the web programs they use like Yahoo does.
I am learning as well, and PHP seemed to be the obvious first choice for me, since so many sleek applications and websites are developed in it, not to mention it’s free. I plan, however, to educate myself in ASP.NET since I already had to ti walk away from 2 jobs for not knowing the first thing about it. As a developer who wants to enter the workforce I can’t allow myself to get so picky.
It looks like you're new here. If you want to get involved, click one of these buttons!