search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

1 answers
Q&A node.js - Is it necessary to use .properties as configuration file in nodejs?

0

Is it necessary to use .properties as a configuration file in nodejs?
I learned about .properties in the java project. As a project configuration file, you only need to modify the content after the equal sign to configure the project without changing the code, which is very useful. But in nodejs projects, you can use json files as configuration files. Why do some projects still use .properties? Is it because I am used to writing Java in the past, or is .properties more convenient than json files?

Your Answer
submit

1 answers
0

There is definitely no absolute format for the configuration file. Whichever is more convenient to use? If some projects still use .properties, it may be for historical reasons. For example, it was like this when this project was created, or some existing The program depends on this configuration file and so on

2017-07-06 10:37:30

submit

Popular tool

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use