Re: Project structure, assembly/package naming, etc #103
Replies: 3 comments 2 replies
-
Thanks for the suggestion. Those projects were separated precisely so they can be rid of all Orchard dependencies and should remain so even in naming. I'll also pass on repo structure, as I prefer to have the projects be top-level and then have relevant structure underneath those. |
Beta Was this translation helpful? Give feedback.
-
No, those specific libraries are made to be used primarily with Orchard core Commerce, but to also be usable on their own. Nuget package name is orthogonal to namespace, that's fine. Namespaces can also be aliased if necessary. There is no issue there. I don't see the value in changing the project structure, I'm fine with the current structure. |
Beta Was this translation helpful? Give feedback.
-
Also, Orchard projects maintain their documentation on a separate project that then gets published to ReadTheDocs. See https://github.com/OrchardCMS/OrchardDoc and https://docs.orchardcore.net/en/latest/. Currently, the commerce project has none. |
Beta Was this translation helpful? Give feedback.
-
Diving in and getting myself oriented to the project, repo, etc. Suggest structuring the solution:
With the VS Solution in the
src/
directory, allowing for top level repo directories, supportingdocs/
, etc.Also, I gather has not been published yet. Except possibly to local NuGet sources. I think the projects
AddressDataType
,MoneyDataType
, etc. I get why they might be separate assemblies, but if they are intent to support OC, Commerce, probably should be prefixed as such. Else if they can truly exist apart from either or both, then maybe prefix to avoid possible package conflicts. 🧠 Your thoughts?And with both landing in a similar namespace aligned with the core project, i.e. along these lines:
Happy to take a lead on that one. Cheers 🍻
Beta Was this translation helpful? Give feedback.
All reactions