目前项目打算大改,以前用的Java+SpringMvc+Mybatis+Mysql+Maven 这一套已经很的很熟悉了,想问下有没设计更优雅的语言和框架去写后台,最好性能要棒一点,逻辑更好写一点
==================
update
目前已确定还是用用上面的,只是SpringMvc 还在犹豫中,考虑是否用更简洁的
springboot,springside等spring其他开源项目
====================
update
还是springmvc好用,但是究竟要不要从maven迁移到gradle,个人感觉只是写法简单了而已,经常用的地方感觉没太大区别,现在这个问题纠结点在这里了。。
Performance and elegance are often a paradox
There are very few languages that can be very elegant and powerful at the same time. Just imagine if there is such a thing. Is it necessary for other languages and frameworks to exist?
However, I can still recommend a few here
1 ) ruby & rails are the best choice for rapid website development. The development efficiency is really good and the code is elegant. The only criticism is poor performance
2) groovy & grails. As recommended by the guys above, this one is really used abroad. However, the community in China is not very rich at present
3) The performance leverage of scala & play is just that the learning curve of scala is a bit high
If you specialize in web, you still have to believe in the strength of PHP
Aren’t springboot and springside both SpringMvc?
spring is not cumbersome. However, the xml configuration sql of mybatis is a bit troublesome.
There is nothing elegant or inelegant about the backend, it is basically mvc and curd.
In addition, it is not recommended to use jsp, the efficiency is very poor, just add velocity.
Search engine tells you
scala + paly + angularjs + bootstrap, abandon mvc, and use the idea of front-end and back-end separation. . . I am not a web developer, thank you
For Java, jfinal is good, and you can also try the play framework full-stack development framework. But the company has been using springmvc+mybatis
unix+C+middleware
If it is a small project, why not consider Jfinal?
gradle is mostly used on android. Currently, the java backend seems to be mainly maven, and of course gralde is also available.
If you want to try something new, you can use springboot
Elegance is not chosen, it is written. Even if you choose the most elegant framework and language, apes are still capable enough to write disgusting code. I've seen very concise code written in C, and I've also written garbage in Python (it's still garbage now, but not as disgusting).
But in terms of language, I personally think that the most productive ones today are python and javascript. From the question, you are looking for a Java solution - Good luck with that. This might be easier to recruit. But it’s easier to recruit bad people. The syntax of Java itself is not aimed at elegance. You have to write elegance code --- I can only say that it is not impossible.