I am studying node.js. I am curious about the template engines Jade & EJS and NoSQL MongoDB & OrientDB.

Asked 1 years ago, Updated 1 years ago, 120 views

Node.js is studying.

The question is very simple, but I'm asking you because it seems to be an important part.

I'm trying to develop it using a template, but I have difficulty choosing which to study, Jade or Ejs.

Likewise, DB will be used in conjunction with node.js. I am worried about developing a website between MongoDB and OrientDB.

I haven't done practical development, so I'm curious about the advantages and disadvantages of how to use it in the field and what it uses in general.

ps. Choose one of the two to help you study...

ejs jade node.js mongodb orientdb

2022-09-21 20:00

1 Answers

jade vs ejs

Functionally speaking, jade is far ahead. More declarative and higher levels of abstraction are possible, such as defining block or mixing multiple blocks with mix-in. However, when expressing HTML with complex structures such as bootstrap that are very heterogeneous from pure HTML, the indentation base can rather undermine readability. Finally, declarative grammar may not always have advantages, so you may have to return to an easy problem.

ejs has the advantage of less heterogeneity and very low learning curve compared to pure HTML because it is a form of including code inside HTML as the name suggests. However, HTML can be spaghettiized very quickly.

ejs vs jade has given up by Select any one part that must be because they don't have a lot of differences in taste gyeongjeong often.

In practice, it would be advantageous to choose ejs if you have a publisher who is confident in HTML markup, and if you have to continue working on markup yourself, it would be better to choose jade.

mongo db vs oriend db

Please read this part referring to the fact that I don't have a lot of experience. First of all, the two divisions have different personalities.

Functionally, oriend(graph db) is a superset of mongo(document db). In addition, the former provides several functions that the existing rdb provides, such as acid level translation and sql support in query language, while the latter does not.

For more detailed differences, please refer to Mongo vs Orient .

I heard that mongodb had a lot of problems in the beginning, but I know that the recent (v3.0) version has improved a lot, and most of all, there are references used in some large services.

Successful references are very, very important in choosing technology.

p.s: If you're studying, it's better to try everything instead of choosing one.


2022-09-21 20:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.