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

Move device to it's own module (device.py) #24

Open
yandy-r opened this issue Apr 6, 2014 · 6 comments
Open

Move device to it's own module (device.py) #24

yandy-r opened this issue Apr 6, 2014 · 6 comments

Comments

@yandy-r
Copy link
Contributor

yandy-r commented Apr 6, 2014

What do you guys think about moving device() out of main.py and putting it in it's own module? This way we can have a true representation of the Model/View/Controller. Can also help in modularizing things a bit more.

So in this case:

Things contained under vendors are the Model for this.
Device would be the Controller
and main would be the view, the representation of the data that Device is interpreting from the model classes.

Keeping device in main, can make it cumbersome as this grows.

Just an idea. Thoughts?

@wdennis
Copy link

wdennis commented Apr 6, 2014

Is there a overall design doc available? (If not, maybe a good idea?)

On Sun, Apr 6, 2014 at 11:29 AM, Yandy Ramirez [email protected]:

What do you guys think about moving device() out of main.py and putting it
in it's own module? This way we can have a true representation of the
Model/View/Controller. Can also help in modularizing things a bit more.

So in this case:

Things contained under vendors are the Model for this.
Device would be the Controller
and main would be the view, the representation of the data that Device
is interpreting from the model classes.

Keeping device in main, can make it cumbersome as this grows.

Just an idea. Thoughts?

Reply to this email directly or view it on GitHubhttps://github.com//issues/24
.

@wdennis
Copy link

wdennis commented Apr 6, 2014

This is why I ask, by the way ;) http://t.co/9P6iNNXKU4

On Sun, Apr 6, 2014 at 1:40 PM, Willard Dennis [email protected]:

Is there a overall design doc available? (If not, maybe a good idea?)

On Sun, Apr 6, 2014 at 11:29 AM, Yandy Ramirez [email protected]:

What do you guys think about moving device() out of main.py and putting
it in it's own module? This way we can have a true representation of the
Model/View/Controller. Can also help in modularizing things a bit more.

So in this case:

Things contained under vendors are the Model for this.
Device would be the Controller
and main would be the view, the representation of the data that Device
is interpreting from the model classes.

Keeping device in main, can make it cumbersome as this grows.

Just an idea. Thoughts?

Reply to this email directly or view it on GitHubhttps://github.com//issues/24
.

@yandy-r
Copy link
Contributor Author

yandy-r commented Apr 6, 2014

ha! that was freaking funny, stealing that picture

@jedelman8
Copy link
Owner

No, there isn't. But I do want to start one, or at lease start documenting better.

Stay tuned.

On Apr 6, 2014, at 1:40 PM, Will Dennis [email protected] wrote:

Is there a overall design doc available? (If not, maybe a good idea?)

On Sun, Apr 6, 2014 at 11:29 AM, Yandy Ramirez [email protected]:

What do you guys think about moving device() out of main.py and putting it
in it's own module? This way we can have a true representation of the
Model/View/Controller. Can also help in modularizing things a bit more.

So in this case:

Things contained under vendors are the Model for this.
Device would be the Controller
and main would be the view, the representation of the data that Device
is interpreting from the model classes.

Keeping device in main, can make it cumbersome as this grows.

Just an idea. Thoughts?

Reply to this email directly or view it on GitHubhttps://github.com//issues/24
.


Reply to this email directly or view it on GitHub.

@sjiveson
Copy link
Contributor

sjiveson commented Apr 7, 2014

I'm quite happy to help with this too if need be.
Cheers
Steve Iveson

Date: Sun, 6 Apr 2014 10:47:35 -0700
From: [email protected]
To: [email protected]
Subject: Re: [cpal] Move device to it's own module (device.py) (#24)

No, there isn't. But I do want to start one, or at lease start documenting better.

Stay tuned.

On Apr 6, 2014, at 1:40 PM, Will Dennis [email protected] wrote:

Is there a overall design doc available? (If not, maybe a good idea?)

On Sun, Apr 6, 2014 at 11:29 AM, Yandy Ramirez [email protected]:

What do you guys think about moving device() out of main.py and putting it

in it's own module? This way we can have a true representation of the

Model/View/Controller. Can also help in modularizing things a bit more.

So in this case:

Things contained under vendors are the Model for this.

Device would be the Controller

and main would be the view, the representation of the data that Device

is interpreting from the model classes.

Keeping device in main, can make it cumbersome as this grows.

Just an idea. Thoughts?

Reply to this email directly or view it on GitHubhttps://github.com//issues/24

.

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

@yandy-r
Copy link
Contributor Author

yandy-r commented Apr 7, 2014

likewise


Yandy Ramirez

On Mon, Apr 7, 2014 at 4:42 AM, Steven Iveson [email protected]:

I'm quite happy to help with this too if need be.
Cheers
Steve Iveson

Date: Sun, 6 Apr 2014 10:47:35 -0700
From: [email protected]
To: [email protected]
Subject: Re: [cpal] Move device to it's own module (device.py) (#24)

No, there isn't. But I do want to start one, or at lease start documenting
better.

Stay tuned.

On Apr 6, 2014, at 1:40 PM, Will Dennis [email protected]
wrote:

Is there a overall design doc available? (If not, maybe a good idea?)

On Sun, Apr 6, 2014 at 11:29 AM, Yandy Ramirez <[email protected]
wrote:

What do you guys think about moving device() out of main.py and
putting it

in it's own module? This way we can have a true representation of the

Model/View/Controller. Can also help in modularizing things a bit more.

So in this case:

Things contained under vendors are the Model for this.

Device would be the Controller

and main would be the view, the representation of the data that
Device

is interpreting from the model classes.

Keeping device in main, can make it cumbersome as this grows.

Just an idea. Thoughts?

Reply to this email directly or view it on GitHub<
https://github.com/jedelman8/cpal/issues/24>

.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-39707294
.

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

4 participants