问题
Are there any strongly-typed programming languages for the Web? I program in PHP now, but often I wish it yelled at me when I tried to compare a number to a string. Functions in the standard library that can return either a bool or an integer don't make anything easier either.
I know there's .NET, but is it my only choice?
回答1:
You can develop Java web-applications. See JSPs.
回答2:
Java? C++? Any language can be a web language... More details on your requirements would be needed to make a specific recommendation.
Python is a powerful, and popular dynamic strong typed language for web development:
- PyWeb
- Django
Pylons
Wt is a good C++ web framework
回答3:
Python is strongly-typed, and widely used for web.
回答4:
You can use Java for web development. You would then need Tomcat or another Servlet Container that supports the deployment of Java Servlets and JSPs.
Best wishes,
Fabian
回答5:
There is an OCaml web programming framework, and OCaml is strongly and statically typed if that's what you are looking for.
回答6:
I just came across Lift - a framework for web development using Scala.
回答7:
Wt is a web development framework for C++.
回答8:
Seaside is a web-framework for Smalltalk.
来源:https://stackoverflow.com/questions/1861546/strongly-typed-languages-for-web-programming