.Net Blues

Denaes

Well-known member
Joined
Jun 10, 2003
Messages
956
Well... I still do vb.net programming, but I think I need to move away from .net as a focus. At least for my recreation.

Professionally, there isnt a match. I do lots of datamanipulation either through database, reading 1000s of text files for text and file management. C would be faster running Im quite sure (as would assembler), but would not dare to come close to the time it takes to write this in VB.Net. Cmon, 2 screens of code to create and manage a minor xml database? What .Net does, it does well and with a short development time.

Personally... well, I get annoyed. How many people own macs? like 2% of the whole worlds computer market? More macs than Linux. Yet on the internet, amongst my collegues and friends, Id say that number is up around 15%.

Anyone hears about a program and gets annoyed when its for the PC.

To make matters more annoying, of 10 people to download an application made using vb.net 2003, 2 people could run it. Im sure some people got pissed that you have to download a 20mb file to run a 10k program. I had 3 people who did download .net framework 1.1 and still could not run the program.

My webserver laughed at me when I asked if they had any .Net capability, mostly because theyre too professional for people who want performance and reliability. Thats what they say.

As sad as it sounds, I actually have a solution. I took a semister of HTML in college and spent most of that time programming in ActionScript for Macromedia Flash (I was the only one getting that in depth). In fact when our final web page was due, I did a Flash Webpage.

Im still looking into how functional Actionscript is. I know theres not a snowballs chance in hell of it being functional enough to do what I need done at work (running speed, disc access, database or other features might be lacking or VERY SLOW), but Im not doing anything terribly complicated at home. So long as it can create and read from a data (text file) Ill be happly. any XML support would make me excited.

As far as compatability, anyone with a web browser and the plugin can run the program, be it PC, Mac or Linux (probobly unix and other OSs as well).

Maybe .Net will actually become cross platform someday, I wont put the Java Runtimes on my computer, they always cause conflicts and try to take things over... So it looks like Flash (animation software) is the best looking programming tool I have personally.

I dont know if ANYONE in the world, besides me, thinks that Flash/Actionscript would be a viable alternative to a REAL programming language. I may change my mind when I get into more detail with its limitations.

But Ill still be using VB.Net and maybe someday theyll finish .Net and I can use it for real. Im thinking when they come out with a .Net native OS, things will be a LOT better. I dont even know if Microsoft even cares about actually getting the .Net ported over to Linux or Mac.

Sorry, I just had to get that off my mind :)

>>Edit<<

Hmm, Just hit up the Macromedia website and found Flash MX 2004 Professional! Forms, datacontrols...

I always considered Flash like VB lite. Im not so sure anymore... Ill have to check this out.
 
I cant believe I read the whole thing. :) Its hard to tell which way youre going but as far as .NET porting to Linux or Mac, well that day is soon to arrive.

If you
 
I dont program professionaly, but I do program as a student. Heres my opinions based off that;

.NET has spread like a brushfire. Almost any student and teacher whos in the loop about programming knows what it is and uses it, despite the fact that our school has only recently offered a class in it. Id consider that nothing short of amazing, especially since .NET is still fairly young. Assuming MS doesnt drop support for it, itll become an every day use within 5 years (my opinion).

There shouldnt be any reason why .NET would be significantly slower to C/C++ when it comes to database management. If you switch to C/C++ for such tasks, youre nothing but crazy.

As for the mac users, .NET isnt the only thing that they cant use. Theyre more limited then the Linux world. In fact, theres something called the mono project, which ports the .NET framework over to Linux (which I believe is up and running to some degree). If youre going to worry about cross platform, then worry about Linux, not Mac.

If you took a real program from .NET, and converted it to MFC, youd probably be left with an executable that was near 20 megs. Regardless of that, what is 20 megs now-a-days? It takes a whole 5 minutes to download - big woop. This point is mute anyway, as future versions of Windows will ship with .NET pre-installed (isnt Win2003 already out?). Its only a matter of time, and when that time comes, people will beg you for those 10k .NET programs over 5 meg C++ programs.

As for the 3 people who couldnt run your program; There shouldnt be any reason for this.

Your web host must be one run by Linux dorks. Most of the hosts I look at now offer ASP.NET, and for cheap. http://www.jodohost.com and http://www.webhost4life.com are the two better ones that I know of. PHP & MySQL is a thing of the past - anyone using it over ASP.NET & SQL Server needs their head examined.

Ill let someone else comment on the Actionscript stuff. ;)
 
Originally posted by wyrd
...PHP & MySQL is a thing of the past - anyone using it over ASP.NET & SQL Server needs their head examined...
Be carefull about what you say. Your view on things is a narrow one and unfortunately real life isnt always as clear cut and simple as you try to make it sound.

PHP, JSP, PSP etc. are all perfectly valid options. Sometimes people dont have a choice in what they can use, they need to be flexible and use whatever means they have at their disposal. I, for instance, am using PHP and MySQL on a Free BSD server because that is what I can afford at this time. I dont have allot of money, and this is all my web host offers. Do I need my head examined? Possibly, but not because I am using PHP thats for sure! Does the webmaster here need his head examined, he is using PHP for this site?

Just because ASP and ASP.NET are around doesnt mean that PHP, and others, are suddenly dead. People once thought that about the OS war, but the Mac is still hanging tough and there has even been a newcomer since then (Linux) that has fought its way into the market.
 
Orbity:
As I said, my opinions were based off being a student. Im sure they arent as cut and dry in the real world, as things hardly ever are.

True, PHP & MySQL are valid options, I never said they werent. Come to think of it, I chose PHP over ASP back when I was doing backend programming. But given a choice right now at this day and age, there shouldnt be any reason that I can think of for using PHP over ASP.NET.

VB, ASP and PHP are dead to me, but that doesnt mean theyre dead to everyone else. Given a choice, I will never program in any of those languages again. And thankfully, I have choices.

Everything I have said is just my opinion. I certainly didnt mean to sound like I was spouting facts (even though I did say "in fact" a few times).
 
Originally posted by wyrd
True, PHP & MySQL are valid options, I never said they werent...
It looks like it to me:
Originally posted by wyrd
...PHP & MySQL is a thing of the past - anyone using it over ASP.NET & SQL Server needs their head examined...

Originally posted by wyrd
...But given a choice right now at this day and age, there shouldnt be any reason that I can think of for using PHP over ASP.NET...
For you maybe, for the rest of the world, hardly. As I mentioned, money is just one of the reasons to opt for something other than ASP.NET or even ASP for that matter.
 
For you maybe, for the rest of the world, hardly.

Do you mean for the business world? Because for people like me who like to make gaming sites (news scripts, etc) and program for fun, learning, hobby, etc. wouldnt need to be rich to afford $7/month for hosting (links provided above) and $8/year for a domain. I dont have any statistical analysis or anything, but Id say that there are quite a few people in this world who are like me.

If you arent refering to hosting, then I suppose we could debate the cost of a $1k IDE. But I dont think we have to, since Borland offers a very nice free IDE, and even so ASP.NET programming is easy enough to the point where all youd need is a text editor (which most PHP programmers are used to anyway).

There are options.

I dont want to turn this guys thread into a huge debate (although I suppose it was doomed to turn out that way with the response I initially gave), so Im just going to stop right here. Again, these are just my opinions, nothing more, nothing less.
 
Yes Im talking about hosting. My host is much cheaper than that, and all they offer is PHP and MySQL. I cant really afford $84 a year, but $21 a year works well for me and I can do my site just fine with PHP.
 
SQL Server is extremely expensive for even one client license. MySQL is free. For a large site with lots of traffic, sure SQL Server and ASP.NET will win every time, but PHP is sufficient for most sites.

Besides, there are many more PHP programmers out there than there are ASP.NET programmers, and I doubt that will change too quickly.
 
Call me biased.. but his pros and cons list on page 3 is, well, a little iffy.

Examples:

Java Pro: "Single language solutions are more managable"
Java Pro: "You need learn only one language to code anywhere, and write-once run anywhere"
Java Pro: Can port cross-platform or cross application server"

First of all I dont see how a single language is a Pro, and the portability is listed twice. It looks like hes reaching a bit to come up with Java Pros.

.NET Con: "C#s remarkable similarity to Java only validates Java"
.NET Con: "Anti-Microsoft prejudices: MS Monopol is predatory, is anti-competition, anti-open"

Dont make me roll my eyes.

.NET Con: "Using multiple languages complicates development and maintenance and produces less elegant solutions"

Personally I think multi-language is a Pro (which it has listed as a Pro in fact!). No one is forced to use multiple languages in a project. Sheesh.

In his closing comments he mentions that "J2EE and .NET can and must coexist." Hes right, they must, and its called Java.NET. :)
 
Randomly, someone is doing a Java version of the .Net Framework for Mac. How does that fit in the Java vs .Net war?

It seems good for .Net, you can finally use it on mac, but through java which would slow it down. Unfortunately it costs money.

 
VolteFace: Last time I checked, there were five times as many jobs for ASP.NET than PHP already.

Originally posted by Orbity
...all they offer is PHP and MySQL.

Im sorry.
 
The guy that wrote this article is a from a java shop not an NT shop, and you do get a sense of this as you read along, what interests me most are the benchmarks and stats.
 
Originally posted by divil
VolteFace: Last time I checked, there were five times as many jobs for ASP.NET than PHP already.
That may be true, but if anything it indicates that more people know PHP than ASP.NET (less PHP jobs would show that more people are making their own PHP sites). ASP.NET takes skill - a one armed blind monkey can throw together a PHP site in a few days.

Still, if you have a choice between PHP and ASP.NET, and the ASP.NET package wont hit you up for too much extra cash, I would definately go with that one. PHP still has its uses though.
 
Er.. wait. What?! ASP.NET takes skill? *blinks* I think its quite obvious that I have no skill in programming what-so-ever, and even I am able to program stuff in ASP.NET.
 
The right tool for the right job/audience

Originally posted by wyrd
:confused:

Confused?

.Net is much more robust than ActionScript is. It has many more features, its more customizable, etc.

Its also more complex. What takes one line of code in ActionScript, may have 5 different ways in .Net, better for different solutions, each requiring multiple parameters.

I wrote a program in ActionScript that was like a page of code in 4 lines in .Net.

I love VB, I love .Net. But its not the best tool for every job, and some jobs itll do very quickly, others it wont.

ActionScript isnt a full featured programming language. It kind of gives you the broad scope of programming, but with like 1/10th the detail of VB. Then again VB has like 1/10th the detail of C and C has like 1/100th the detail of assembler.

The lower the level of programming, the more complex it gets and the longer it takes. It took me like some insane coding to get my Assembly program to take input text and evaluate it.

I havnt done C, but I can compare VB.Net and VB6. VB6 is just so easy to do some things, but .Net made others infinately easier. .Net also gave vb more functionality, but also added to the complexity.

My college doesnt even know what to do. VB was the introductary programming language and Java the OOP, advanced language.

Honestly I dont see the poing in teaching basics with an OO language, then teach advanced features with a less feature rich language (Java can do a LOT, but only with addon classes. Youd have to program your own classes for string input. Thats not nearly the out-of-the-box features that .Net has).

Then again, the third chapter in the .Net book deals with text files. in vb6, it was easy. In .Net, its sure more enhanced and optimised, but takes a few more lines of code.

"Ok, this is a variable, this is a string, this is an integer, ok, now this is the instance of a class method"

Even though vb6 is out of date, technologically speaking, the professors still want to teach the basics on it, because its basic.

The point? Dont assume that .Net is going to always be the easiest, fastest and best way of doing something. Im sure itll get the job done 99.9% of the time, it may take some work and effort, but it works.

There will be other scripting languages out there that can take 10 steps and roll them into one, for the sake of simplicity and ease of use, but at the sacrafice of finer detail.

Sometimes, even in this case, the best tool may even be .Net, but thats if you can afford a microsoft only solution (this may change in the near future from what Im seeing on the Mac and Linux front).

Im honestly not up to snuff on .Net internet programming (web forms or asp.Net) mostly because I dont have any access. My server doesnt supply .Net compatability. I have vb.net, not studio.net. Im not sure how interchangable something written in vb for the web is, or ASP.Net is for that matter either.

What I do know, is that I can make a form with any sorts of graphics in like 1/10th the time I could think of doing so in VB. Its honestly as easy as using photoshop to make any type, color or style of button you want, background or whatever.

I also know that whatever I do in ActionScript can be put up on the web, on any server, and can run off of virtually any machine, be it Unix, Linux, Windows or Mac. This will work fine. It wont approach .Nets speed, and Im not sure about Javas speed.

For all of the projects dealing with a Microsoft Solution to a Microsoft World populated with Microsoft Minions (ie, any project where I work), the best tool is most definately .Net.

But those are the digs. You use the best tool for the job. If you dont have that tool, you have to klunk with another tool and hope it comes out decent (like a high quality video game using vb.net instead of C) or you may have to sit it out and say "Well I dont have a tool to fix this solution".

Like I said, .Net is great, but Im not going to stick all my eggs in this one basket.
 
Originally posted by wyrd
Er.. wait. What?! ASP.NET takes skill? *blinks* I think its quite obvious that I have no skill in programming what-so-ever, and even I am able to program stuff in ASP.NET.

Is ASP.Net a fully seperate language like vb.net or c#.net?

I only have VB.Net standard. If its just a part of the framework, then I could probobly use it.

Also, can you test it on your machine without a server? Or do you have to install a server on your machine?

Sorry, Im not all that knowledgeable about ASP.Net and it sounds pretty neat
 
ASP.NET is different enough that you can speak of it as though it were a different language. But technically speaking, you build a web app using VB.NET, C#, or any other .NET language.

You can build and view ASP.NET applications on your machine so long as you have IIS installed (which you can install using your Windows installation CD). There are a couple of free IDEs which you can choose from;

Web Matrix: http://www.asp.net/webmatrix/
C#Builder: http://www.borland.com/products/downloads/download_csharpbuilder.html
 

Similar threads

E
Replies
0
Views
241
EN59CVH
E
D
Replies
0
Views
768
DexterCamarillo
D
B
Replies
0
Views
587
Bryan Prendergast
B
E
Replies
0
Views
300
EN59CVH
E
Back
Top