Should I use GulpJS or Ember-cli? [closed] - ember.js

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am in doubt. Always used the Gulp to minify, concat, etc. But am in doubt whether to use the Ember-cli or continue using Gulp. For example, with Gulp I can use http://cssnext.io/ and that helps me in the projects.
Or I can use Ember-cli and GulpJS together? Then use the Ember-cli on the basic tasks that it already does and Gulp for more complex tasks?

If you're developing an Ember application, you should definitely use Ember CLI. It takes care of minification and the other tasks for you.
There's usually no reason to pull in other build pipelines. For the specific case of cssnext for example, there are two addons, ember-cli-cssnext and ember-cssnext. The first one is maintained by an Ember core team developer, so it should be supported.

Related

Is there an overlap between cljfmt and clojure-kondo? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 months ago.
The community reviewed whether to reopen this question 4 months ago and left it closed:
Opinion-based Update the question so it can be answered with facts and citations by editing this post.
Improve this question
I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project.
For the last several weeks, I have been focusing on a Continuous Integration effort.
After setting up the build via GitHub Actions, now I want to integrate cljft (a formatter tool) and clj-kondo (a linter).
To my naive eyes, both feel like fully complementary tools/extensions. This was my understanding by reading the documentation and running locally some commands to fix files.
But, I would like to ask: is there some overlap between them?
Is there any chance that one of them could overwrite the "fixes" (the work in general) automatically generated by the other? If so, in which circumstances?
I asked this question on Clojurians Slack. A user called "borkdude" (Michiel Borkent who is the creator of clj-kondo, babashka and SCI) answered the following:
clj-kondo doesn't fix anything automatically, but clojure-lsp can do that for you based on what clj-kondo finds. it also has integration with cljfmt I think
but to answer directly: no, there aren't any conflicts between cljfmt and clj-kondo

Django vs Play framework in terms of performance [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Django uses a threaded architecture unlike Play framework which uses Evented architecture.
I wanted to compare Django with Play framework. Which one performs better if we deploy the services written in Django and Play on the hardware with same configuration, also given that business logic for the service has been written effeciently in both the frameworks? Which framework has the potential to scale to 1000+ concurrent requests?
Threads and events are not a dichotomy, Play gives you threads and an event loop.
This question is too broad, it really depends on what you're trying to implement - in many many use cases the web framework is not the bottleneck, it's the database. But if you insist on getting on a comparison that completely ignores whatever your specific use case is, then here's a comparison:
http://www.techempower.com/benchmarks/#section=data-r9&hw=peak&test=json&f=2hwco-0-0-0

Django: how to zip all html/css/js files? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm building my new website using the great Django framework and I would like to bundle all
js/css/html together for external design work.
Do you know any tool that might come up handy?
Or maybe there is another option for external designer to work on my project?
10x
The normal option is to use a revision control software which not only will let you share the needed code but also continuously integrate the changes without conflicts when one of the developers changes something. Of course compression of resources is automatically done by those software.
No serious developer, even alone, works without such a source control software.
There are online solutions if you can't set up a server, for example https://github.com/

Should I use webservice? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
There are 3 different applications that has data which is not properly formatted. I am planning to write an application to properly format this data before entering into the DB. which is the best approach to make all the applications to call this formatting application? Should the formatting application be a web service called by all other application?
If they're indeed different applications (and not, say, three controllers and/or actions of a single webapp), yes, webservice would fit quite nice, I suppose.
Still there's the other way around: you can set up a simple application which will be called in the shell context. Or, if all these apps use the same platform, just create a 'library utility class' which will be called by this very platform.

QUnit vs Jasmine? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
What are the main differences between these two testing frameworks?
I am a totally new to Test Driven Development and starting from the very beginning.
QUnit is very easy to get started with, as you only need to include two files and a little bit of markup, then you can start writing tests.
Jasmine strength, afaik is its BDD-style syntax, if that is something that you prefer (probably not a selling point for you) and tight integration into Ruby/Rails tools.
In the end both get the job done. I recommend to start with QUnit. Once you're feeling comfortable, try Jasmine and check if the BDD style fits better. If it does and you still want to keep using QUnit, you can add Pavlov to the mix, which provides BDD-style methods for QUnit.