IT討論區(168) - 切勿做爛市

1001 回覆
10 Like 7 Dislike
2022-07-15 01:34:10
2022-07-15 01:55:21
ror幾好pay架
2022-07-15 01:59:24
其實真係建議新手Java起手的
有OOP有data structure
深少少可以明stack heap allocation
又可以明埋GC點運作
應用又多
進可攻退可守
2022-07-15 02:06:02
2022-07-15 03:03:30
其實generally MongoDB official係叫你Favor embedding unless there is a compelling reason not to

Source: https://www.mongodb.com/developer/products/mongodb/mongodb-schema-design-best-practices/

篇文有寫得好詳細點樣取捨,我就唔特別喺到重複了.

或者應該話要睇返你個use case係咩, 力sir對落講得無錯, structured data應該用返sql, unstructured 應該用返NoSql. SQL係 optimized咗做CRUD / transaction等一般application usage, 你用NoSQL做返lookup / joining就算用indexing都唔會好得過SQL. 如果你係做warehouse/reporting嗰d好多joining嘅不如用返hive 嗰d datawarehouse會比較好
2022-07-15 06:11:58
2022-07-15 06:47:34
公司人手夠我都 prefer react
冇乜就vue
2022-07-15 07:21:11
2022-07-15 07:42:08
又係agent 推多
2022-07-15 08:00:41
sql json field真係狗也不屌
吓吓要爆出嚟做computation indexing又煩
用開mongo aggregation pipeline乾手淨腳返唔到轉頭

你講嘅join其實咪即係mongo嘅lookup
同埋而加又support transaction
2022-07-15 10:37:24
nestjs 其實唔差wor
restapi 佢個concept係 module > controller > service
graphql 佢個concept係 module > resolver > service
serverless 都玩到 要用埋serverless framework 都砌到restapi
仲可以做埋swagger openapi doc
其實算好用 因為都真係似spring 同埋你用cli gen完D file
有相應既controller 同 service spec
方便寫test case
2022-07-15 10:55:06
玩過nestjs/rails
睇返spring好似麻煩D
佢係controller > services > repository > entity/model/data?
有冇咩spring/java/kotlin好用既util lib
2022-07-15 10:55:42

速度都係top3
2022-07-15 11:22:33
utility library
好似node 咁有lodash, moment, dayjs
java spring 我見有lombok, guava, flyway migration
姐係一D工具方便你寫/寫少D野
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞