阅读背景:

硬编码数据库选择。IDs vs name vs other ?

来源:互联网 

I am currently refactoring a project where so far a lot of data was kept as constants and arrays in the code. Also there are a lot of redundancies. Now I want to move all that data into the db, but I am not sure how I would do the mapping. The data is rarely dynamically selected based on user input but rather specifically selected in the code. It is used at a very core level of the application, but it is actually not THE core. Also a database is already being used, so there would be no real extra effort.I am currently refactoring a project where so f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: