Yu-Core / SwashbucklerDiary

侠客日记是一个开源、跨平台的本地日记app,使用MAUI Blazor 构建。"SwashbucklerDiary" is an open source cross-platform local diary app using MAUI Blazor .
GNU Affero General Public License v3.0
797 stars 80 forks source link

more seperation layer #41

Open infofromca opened 5 months ago

infofromca commented 5 months ago

Is your feature request related to a problem? Please describe. too couple

Describe the solution you'd like for example, comment out [ProjectReference Include="..\SwashbucklerDiary.Repository\SwashbucklerDiary.Repository.csproj" /], and put into new project in SwashbucklerDiary.Maui project Describe alternatives you've considered make SwashbucklerDiary.Maui as nuget

Additional context the same priciple in also other projects maybe

Yu-Core commented 5 months ago

Sorry, my English is not good Do you mean to move the content of SwashbucklerDiary.Repository to SwashbucklerDiary.Maui SwashbucklerDiary.WebAssembly also needs to reference SwashbucklerDiary.Repository SwashbucklerDiary.WebAssembly is a Blazor WebAssembly project

infofromca commented 1 week ago

1--分层, 比如: SwashbucklerDiary.Maui.Core SwashbucklerDiary.WebAssembly.Core SwashbucklerDiary.Rcl 2-- 成为: nuget 3--目的: 其它projects 使用。 因为有很多很好的codes.

能与 #44 结合考虑就更好。

infofromca commented 1 week ago

Do you mean to move the content of SwashbucklerDiary.Repository to SwashbucklerDiary.Maui no, 去除SwashbucklerDiary.Repository的依靠 在 新加SwashbucklerDiary.Maui.Core。 SwashbucklerDiary.Maui.Core 可在其它项目使用

Yu-Core commented 1 week ago

明白你的意思了,把项目一些公用的东西抽离出来做成nuget包(或者是模板?),抽离出来的话有点困难,需要一些时间

infofromca commented 6 days ago

我可帮忙, 新的 Project 的版 可 否 为 MIT, OR BSD-3