-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion: Directory structure pattern/recommendations #116
Comments
The pattern that feels most obvious or natural to me at this time, is to Have a directory structures (source and deployment) along these lines: Source Directory Layout
Deployed Directory Layout
Issue with this layoutTwo notable issue with this layout is that there is additional management needed to take the Property Inspector directories from the individual actions into the deployed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preface
I wanted to bring this up for discussion before making any changes since the implications are quite far-reaching. I also I didn't feel it would be a wise use of time, nor would it be considerate, to start applying or imposing a pattern without community involvement.
The Issue With the Current Structure
In working through the multiple action support, and then having @codingbandit's changes integrated, it dawned on me that our current directory structure, in both the sample as well as the template, is not sustainable for a few reasons.
xxxAction.cs
file in the same root directoryplugin_inspector
directoryBenefits of the Current Structure
There are benefits which we can take from the current structure and apply as a good example or best/recommended practice. The one which immediately comes to mind is the plugin inspectors, and how they can share common resources -
*.js
,*.css
,*.html
, and such files.Needs
What we really need is to a) identify and prioritize potential pain points and pitfalls, b) determine which issues must be addressed through best practice examples, and which are acceptable with simple guidance provided, and c) implement the changes as agreed upon.
Issues (in no specific or ranked order)
.cs
file, the root directory can get to feeling cluttered very quicklyConnectionManager
,BaseStreamDeckAction
) from the rest of the implementation of the custom actions?Closing
I have some thoughts (and opinions) on how I envision the project being structured, which I will detail in a later comment, however, I would also like to get some feedback and comments on whether this really is an issue which should be addressed at this time (am I a gun jumping alarmist?), and so, thoughts, opinions, and feedback on possible structure.
The text was updated successfully, but these errors were encountered: