views:

422

answers:

9

I'm familiar with a number of web based languages out there, and a number of them are scripting (ASP, JSP, ColdFusion, PHP, etc).

On the Windows platform, the single biggest move with ASP.NET is the move away from a scripted language.

Is there a non-scripted language for Linux (LAM+?).
Anything anyone out there is using to do this? Is Java the answer?

+5  A: 

Well Java is probably the biggest non-scripting language used on the web on Linux, yes.

What made you include JSP in the "scripting" side? It's no more and no less script-based than ASP.NET, IMO. (There are significant differences between them, of course, and the code-behind aspect of ASP.NET is nice - but both take an HTML-like template and compile it into a class.)

Jon Skeet
Has JSP changed in the past few years? The last time I looked, which was awhile ago, JSP was modeled after ASP, which is a scripting language.
pearcewg
It really depends on what you mean by "scripting language". As far as I'm aware JSP has always been roughly what it is now. Aside from anything else, it's compiled. How do you define "scripting language" such that it includes JSP but excludes ASP.NET?
Jon Skeet
+2  A: 

You can run asp.net code using mod mono.

Jakub Šturc
A: 

What do you mean with non-scripted? You can run ASP.NET on Linux with MONO... JSP will run on Linux too.

Vincent Van Den Berghe
+2  A: 

Well, you have plenty of non scripting languages, you can go with C, C++...

I've also used a C framework, named klone which is pretty nice.

mat
Why would you want to do that to yourself?
Jason Baker
I've done that a few times already, even worked with C web framework, were pages were .so files, but I can't recall it's name.
mat
Indeed, good old cgi-bin. Surely it had the "bin" part of its name for a reason.
Rob Kennedy
Yep, cgi, fast-cgi, and even mod_foo in C, all the glory and the speed you can get :-)
mat
Yes, I've written ASP generators in the past using C++. That is an option.
pearcewg
A: 

Depending on how you classify Python with mod_python it is available.

Unkwntech
+1  A: 

In random order:

  • Pure JSP
  • Struts
  • Java Server Faces
  • A lot of other Java based web platforms
  • Python
  • Perl using its OO features and a lot of libraries
  • Ruby

Note that there are a lot of different web technologies based on JEE platform. You can choose one of them according to project workload and other pre-requisites.

I do not know if this list means anything. I suppose you can discover a lot of other web platforms using google. If you have some other pre-requisite in mind ...

LLP, Andrea

andcoz
+1  A: 

What do you mean by "non-scripted language for Linux"?

If you're referring to Dynamic Programming Languages in general, then you're missing out on a large array of frameworks, and a huge community of developers. Python, php, and ruby have a number of great development platforms, and do very well running a huge number of major internet sites.

If you're looking to try something new, my (biased) recommendation is to try django ;).

Java has it's place, but I (and many others) personally find the modern dynamic languages much faster for web development. Execution speed usually isn't a concern, when your bottleneck is database and network.

JimB
A: 

what is gandupan?

A: 

Scala and the Lift framework haven't been mentioned yet. And there are even more exotic alternatives such as Haskell.

You can basically use anything that can connect to cgi, which means any language with a C interface, I guess.

I agree that Java is most widely used.

Kim