Skip to content
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

Add helper class for parsing pinterest settings from app settings #28

Open
TheFriendlyCoder opened this issue Aug 5, 2020 · 0 comments
Assignees
Milestone

Comments

@TheFriendlyCoder
Copy link
Owner

Currently I have all of the parsing logic for the entire app settings file defined in a single class. I'd like to start defining a class hierarchy that allows subsections of the config to be parsed and analyzed separately from the core. To start with I'm thinking of defining a pattern for extracting service-specific settings from the rest of the file, starting with a section for Pinterest.

For now I'm thinking of defining a "get_service()" method that takes as input the name of a service and returns an object that manages the settings definition for the given service. In this way the framework will be extensible to new services as the need arises. This could also lay the foundation for making the settings file extensible via plugins as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant