search

Home  >  Q&A  >  body text

java - 写后台目前最优雅的语言和框架

目前项目打算大改,以前用的Java+SpringMvc+Mybatis+Mysql+Maven 这一套已经很的很熟悉了,想问下有没设计更优雅的语言和框架去写后台,最好性能要棒一点,逻辑更好写一点

==================
update

目前已确定还是用用上面的,只是SpringMvc 还在犹豫中,考虑是否用更简洁的
springboot,springside等spring其他开源项目

====================
update

还是springmvc好用,但是究竟要不要从maven迁移到gradle,个人感觉只是写法简单了而已,经常用的地方感觉没太大区别,现在这个问题纠结点在这里了。。

PHP中文网PHP中文网2807 days ago2630

reply all(43)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 16:23:49

    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

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 16:23:49

    Aren’t springboot and springside both SpringMvc?
    spring is not cumbersome. However, the xml configuration sql of mybatis is a bit troublesome.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:23:49

    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.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:23:49

    Search engine tells you

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 16:23:49

    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

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 16:23:49

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:23:49

    unix+C+middleware

    reply
    0
  • 迷茫

    迷茫2017-04-17 16:23:49

    If it is a small project, why not consider Jfinal?

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 16:23:49

    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

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:23:49

    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.

    reply
    0
  • Cancelreply