• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Java or ASP.NET C# for web development

Despod

n00b
Joined
Feb 27, 2013
Messages
1
What technology is better for web development?
Java can run on every Server OS but asp.net can run only on Windows Server
 
What are you trying to do? Make a blog? Make a million user auction site?

The majority of web startups are using languages like Python or Ruby and running on Linux servers, only big companies with huge sites are using Java.
 
Work for a large corporation = java or .net
anything else = php, python, ruby

java is usually paired with an oracle server
.net is paired with a windows sql server
both cost an arm and a leg to run
 
Figure out what can work within the requirements of your production environment. Beyond that pick what you like. You may have to do some research to figure out which language offers you the best balance between development time, long term maintenance, and scalability for your particular project.
 
Last edited:
java is usually paired with an oracle server
.net is paired with a windows sql server
both cost an arm and a leg to run

Java and .NET work perfectly fine with a variety of databases. I can't speak as to .NET but in Java the database api (JDBC) is vendor neutral.
 
Indeed, .NET can connect to anything with an ADO, ODBC, or OLEDB driver.

Without knowing what kind of scale Despod needs, it's rather moot.
 
JavaScript is not commonly a server side language. As a client side language you would commonly use it in conjunction with anything else already mentioned in the thread.

Starting to be popular with NodeJS as a server-side language. Mostly for API's and such.
 
You should use ASP.NET because Java is terrible, PHP is for noobs, and Ruby is just for hipsters

::ding ding:: "Fight!"

:D
 
JavaScript is probably as commonly-used on the server-side as Python at this time.

I have no statistics to the contrary, however I will say that I disagree with that statement. Python has lots of uses server side and there is even a major web app framework written in python (Django).
 
With node.js people have been using JS on the server for like 3-4 years now.

There's close to ~24,000 user libraries for it and growing. I wouldn't say it's more popular than Python but I think it has more traction. I also think it's good for solving different problems though and the reason why it's gaining traction is because more and more web sites are doing more than just outputting fairly static content with server generated templates.

As for OP's question if you had to pick Java or .NET right now and you had no other choices, having no experience in either personally I would likely choose Java. My reasoning is it has tools like GWT which allow you to write the same language on the server and client because it can cross compile Javascript. There's a lot of value in being able to do that. A large portion of Google's apps are written using GWT.
 
Last edited:
You should use ASP.NET because Java is terrible, PHP is for noobs, and Ruby is just for hipsters

::ding ding:: "Fight!"

:D

Well said.. .NET is awesome. You can develop great web applications and websites with ease. It's also a well documented and supported architecture and will be for some time to come. .NET continues to get used more and more every year by small and large businesses alike. There's a reason for that... you should definitely check it out.

The only other language I'd consider is Python, and that's only if cost is an issue. As others have said, it is a little more expensive to run a Windows server.

EDIT: Visual Studio is also leaps and bounds better than any Java IDE available... making it easier and more enjoyable to code.
 
Last edited:
Well said.. .NET is awesome. You can develop great web applications and websites with ease. It's also a well documented and supported architecture and will be for some time to come. .NET continues to get used more and more every year by small and large businesses alike. There's a reason for that... you should definitely check it out.

The only other language I'd consider is Python, and that's only if cost is an issue. As others have said, it is a little more expensive to run a Windows server.

EDIT: Visual Studio is also leaps and bounds better than any Java IDE available... making it easier and more enjoyable to code.

I'd argue IntelliJ is on par with VS in terms of paid IDEs.

If you're using Python, take a look into Flask. It's a very bare bones framework but because of that you don't get a lot of the bloat that Django has IMHO. You customize it from the ground up, not top to bottom. :D
 
asp is sorta flatlining but excel in something. Even if you learn dead ass asp 2.0 companies still run on archaic shit and will pay top dollar to keep their shit running (i.e: profitable)
 
asp is sorta flatlining but excel in something. Even if you learn dead ass asp 2.0 companies still run on archaic shit and will pay top dollar to keep their shit running (i.e: profitable)

Have you not heard of ASP.NET MVC?
 
Yeah, forms asp.net is a pile of pooh, but asp.net MVC is sexy that keeps getting sexier with each new version. It should be almost as cheap as PHP type setups if you connect it to a DB other than MS SQL Server.

Node.js really intrigues me though. Has it been getting enough traction to become a "here to stay" type thing? And is it viable for static pages or is it just a lot of extra work to have the complete web application setup?
 
A static file server in Node is about four lines of code. In terms of hassle, no, it's not bad.

With one completed Node project under my belt, I can tell you that Node is really for JS people at the moment. If you don't know the language well, you will stumble with Node, as it's not as well documented as it should be, and that's true of Express and much of its middleware as well. If you know the ins and outs of JavaScript, and if you're targeting small- to medium-sized applications with a heavy emphasis on client-side rendering (where code duplication is a must), Node/Express is essentially what the doctor ordered.
 
I guess Despod has given up on finding an answer to an unclear question... or perhaps finding an answer from this forum after the rapid degeneration of this thread.

It's probably best for an admin to close this thread now.
 
Why? There's still good information trickling in. When that stops, the thread will slip off everyone's radar and we'll all move on.
 
And is it viable for static pages or is it just a lot of extra work to have the complete web application setup?

Sure but I wouldn't bother using anything to serve static content other than nginx or S3's service. It the content is truly static (no sessions/cookies/etc.) you don't need anything else.

For development I use a node based static server, that's about it. It's 1 line of code due to Express (the most popular light weight web lib for Node).
 
It's the lack of on-topic and relevant information being presented, with few exceptions for posts like this:

Actually scale is close to the least relevant thing possible.

Any web language can do a good enough job to scale for 99% of what people need. Think about it for a second.

Let's say language A can only serve 300 requests per second but language B can serve 1800 requests per second. On paper language B is 6x faster so it has to be heaps better right?

In reality it's not really that much better unless you somehow are going from pre-release to dozens of millions of users instantly.

There's 86,400 seconds in a day.

300 requests per second is capable of serving 25,920,000 requests a day. Even if your traffic is squished into peak times and isn't distributed evenly it's certainly going to be good enough for some quite time.

In language A's case if you need to scale past 25 million requests a day then you spin up a new VPS or add a node to your cloud service and you're good to go until you need 50 million+ requests a day.
 
With you at the forefront of its meandering into pointlessness.

We call this "irony".
 
Have you not heard of ASP.NET MVC?

Yep at last years conferences. This years ms dev conferences, ms is cancelling most of em and we've heard nothing about mvc5 .net5 or anything that isnt Windows 8, metro, or azure. Most .net devs are being reworked into microsoft's azure services. MS is really pushing hard for azure.
 
Yep at last years conferences. This years ms dev conferences, ms is cancelling most of em and we've heard nothing about mvc5 .net5 or anything that isnt Windows 8, metro, or azure. Most .net devs are being reworked into microsoft's azure services. MS is really pushing hard for azure.

I'm not sure what you are saying, but it sounds like you are saying that since MS is pushing cloud hosting services, you no longer need a design pattern?
 
Yep at last years conferences. This years ms dev conferences, ms is cancelling most of em and we've heard nothing about mvc5 .net5 or anything that isnt Windows 8, metro, or azure. Most .net devs are being reworked into microsoft's azure services. MS is really pushing hard for azure.

I can't say that I don't really like Azure, though. I think there's a lot of power and potential in it. Perhaps you're right, though. Maybe between it and Windows 8/Windows RT, the show is getting stolen a bit, though.

I'm not sure what you are saying, but it sounds like you are saying that since MS is pushing cloud hosting services, you no longer need a design pattern?

ASP.NET MVC isn't a design pattern. It's a framework built around the idea of the MVC design pattern. I agree though: What Microsoft chooses to push doesn't really have any relevance to what aL Mac seemed to be trying to point out (which, as I interpretted it, was that ASP.NET MVC is pretty hot).
 
I can't say that I don't really like Azure, though. I think there's a lot of power and potential in it. Perhaps you're right, though. Maybe between it and Windows 8/Windows RT, the show is getting stolen a bit, though.



ASP.NET MVC isn't a design pattern. It's a framework built around the idea of the MVC design pattern.

Correct, but I still don't understand what he is saying.
 
I'm not sure what you are saying, but it sounds like you are saying that since MS is pushing cloud hosting services, you no longer need a design pattern?

Actually you only need one Design pattern on Azure. It's called CQRS and they push it because it is easily 10x-100x more CPU intensive for "normal operations" and requires pushing/pulling more data.

And they push it because Azure is both Compute Instance charged and Data (storage and Transfer) charged.

Quite the jammy fellow Microsoft is turning into.
 
Yep at last years conferences. This years ms dev conferences, ms is cancelling most of em and we've heard nothing about mvc5 .net5 or anything that isnt Windows 8, metro, or azure. Most .net devs are being reworked into microsoft's azure services. MS is really pushing hard for azure.

Honestly I don't think ASP.NET MVC needs a version "5". It has a majority of the makings of what it needs without making it any more bloated. It really at best could use better tooling support, which they sort of did with VS 2012 - It's just a shame they bastardized VS 2012 a tad too much for my liking.

What ASP.NET MVC might be missing, and I feel a) it's not missing it [because i don't want it] and b) it's not really Microsoft's job, is the kind of support (community wise) that something like Ruby on Rails has where you have 8000000 million things that let you do just about everything OOB.

But I feel that type of stuff comes at a price and it usually involves performance (bloated/sloppy) and too many people who can't code and just install some module that does xyz (Ala Coldfusion programmers of lore and WordPress Bloggers).
 
sorry for not being clear.
I'm not sure what you are saying, but it sounds like you are saying that since MS is pushing cloud hosting services, you no longer need a design pattern?
i sat through a long meeting about asp.net and what was being hammered was MS pushing for azure. They had no announcements or big events when they released mvc4 which was different from their previous launches. MS is constantly bringing in new application support such as node.js as they've been moving in a path that as mentioned earlier, seems to push for more community ran/built addons for hosting. I'm not saying asp.net or mvc or silverlight is dead or dying but microsoft at the moment seems to be REALLY pushing azure hosting and have put .net on the backburner.
 
What Microsoft chooses to push doesn't really have any relevance to what aL Mac seemed to be trying to point out (which, as I interpretted it, was that ASP.NET MVC is pretty hot).

Even if you learn dead ass asp 2.0 companies still run on archaic shit and will pay top dollar to keep their shit running (i.e: profitable)

I was trying to point out ASP.NET MVC is hardly "archaic shit" considering it is only a few years old with ASP.NET MVC 4 being fairly new. It's also pretty hot too I guess. I'm not a web dev, but I believe there are three different types of ASP.NET

ASP.NET Web pages
ASP.NET Forms
ASP.NET MVC (Razer engine)
 
Until Despod chimes in, this thread will continue to wander aimlessly.

People might consider responses like that as "the cranky programmer" response. like many programmers worth their weight in gold, you seem to focus in terms of problems, requirements, and solutions. Very important in a job setting, but in a forum setting it's sometimes really nice to just chew the fat. PHP vs. .NET, Python Vs PHP, Ruby on Rails MVC vs .net MVC, Java vs C#.... all that stuff shouldn't be meat to prove once and for all who's greatest, but to get the ideas flowing. I enjoy reading "vs" type threads, not because I want to see a winner but because I often learn tidbits of information: shortcomings, benefits, pitfalls of something I'm less familiar with. A lot of people have experiences that invaluable to listen to even in an off topic informal setting. It's through shop talk that we might learn about newer things things like node.js.
 
Or is it? If you want to learn, ask and answer critical questions.
 
Back
Top