ISG-ICS / cloudberry

Big Data Visualization
http://cloudberry.ics.uci.edu
91 stars 82 forks source link

Wrap conf parameters of Twittermap application into objects #480

Closed baiqiushi closed 6 years ago

baiqiushi commented 6 years ago

Problem Twittermap application uses application.conf file to store configuration parameters. When the TwitterMapApplication.scala starts up, it loads the parameters into web html files and javascript objects. Currently, these parameters are transferred in a way all aligned together between files and codes. Apparently, it's not a good practice.

Solution Whether it's possible is not quite clear yet. When TwitterMapApplication.scala initialize the index.scala.html and main.scala.html files, wrap the parameters into several objects based on their purpose and usage.

Related technology

chenlica commented 6 years ago

@ChankiWu Good luck to your first backend task!