Groovy or django

I never created a site with high traffic, so I have no idea what the best long-term plan is. There is no dedicated dedicated server in the budget. I am currently using VPS hosting for my current site. I was going to stick to VPS and migrate grails. I looked at Django and python plans (which look cheaper than VPS plans), for example from fatcow.com. What is better than investing, grails through VPS hosting or django through a standard python hosting plan? What will have the best performance in the short and long term?

The front of the application is javafx, and the backend will be a REST interface.

+3
source share
7 answers

I went through the same process as you before deciding to use django. I am a Java programmer during the day and I want to have a pet project that I can do in my free time. Thus, I got myself a VPS with the cheapest plan. I installed the Java server and deployed the Grails application, but it turns out it needs a lot of memory. Then I realized that Java Webapp requires a lot of memory to work. So I went looking for a non-Java structure. At that time, I did not have many criteria, except that it could work on my current VPS plan.

I took a look at django and I was amazed that:

  • It is so simple and easy to get started. It creates only a small number of files (compared to Grails).
  • This has many built-in functions that Grails does not have:
    • RSS feed structure
    • ( , ).
    • webby,
  • ,

, Groovy Python. Java, Groovy, Java. ( , ).

JavaFX front-end, django JSON XML-, , .

, , .

+4

Django. Django Grails , Python Groovy. Python , Groovy. Python, , , Groovy . , .

+2

App Engine Grails, .

http://www.grails.org/plugin/app-engine

, , . Java/JSP, , , Grails. , Python, .

, Grails.

http://grails.org/Success+Stories
http://www.pubbs.net/grails/200908/12877

Python . , , , , Python.

+2

Google AppEngine? Django, .

+1

CPython Jython, , Django Jython. (, ) Java , , Scala, .

0

, , VPS. VPS (256 ), , + db.

0

Groovy . , , :

, - Scala , 2003 , , , Groovy.

- http://macstrac.blogspot.com/2009/04/scala-as-long-term-replacement-for.html

My 2 cents: go with Python and Django. Skip Scala. Take Lisp seriously.

-1
source

Source: https://habr.com/ru/post/1716014/


All Articles