Re:Molten – A minimal framework for building HTTP APIs with ...
by coleifer on Friday December 07, 2018 @08:40AM
(#18627524)
How's the community? Will it be maintained and improved over time? How quickly are issues resolved? Is it easy to get answers on stackoverflow? How's the plugin ecosystem? Are the docs clear and thorough?
I'm more interested in these types of meta-features if I'm planning to make a potentially multi-year bet on a framework.
Re:Molten – A minimal framework for building HTTP APIs with ...
by nerdponx on Friday December 07, 2018 @08:33AM
(#18627469)
Looking at the examples, it seems like one big difference is included schema validation, using type annotations. It also doesn't use the global request object or decorators for routing.
Re:Molten – A minimal framework for building HTTP APIs with ...
by weego on Friday December 07, 2018 @08:53AM
(#18627606)
You can't use all libs in it. Also you just ring-fenced a job a competent JS developer could do to now require someone that knows Scala and JS, which is a lot more cost per head and far harder to recruit.
Re:Molten – A minimal framework for building HTTP APIs with ...
by amelius on Friday December 07, 2018 @08:46AM
(#18627555)
I've recently started to become a little disappointed by Python when I tried to add multithreading code to my application. It turns out that Python does not support full multithreading because threads are still tightly coupled to eachother through a global lock, which can lead to performance issues, often in unexpected situations. Now, to mitigate this, the Python people have created a multiprocessing module, which effectively lets you run CPU-intensive tasks in a different process, so you get true multiprocessing. But the downside is that all communication with these processes has to happen through a message-queue or shared-memory interface, which is ... tedious and requires a lot of rewriting.
I'm more interested in these types of meta-features if I'm planning to make a potentially multi-year bet on a framework.
Has anyone used it? Could that person give a brief tl;dr on the comparison with Django and Flask?
I like the way you can just insert the template right in the function as opposed to having to make an HTML file with the basic set up.
Scala.js- full power of both JavaScript and java/scala libs in a strongly typed well designed language.