Spin Object Design Patterns
mre_rob
Posts: 31
Hello All,
Has anyone put together a white paper or such that would document a proven design pattern for developing Spin objects? It might be helpful to get noobs (such as myself) on the right track out of the box. I'm stumbling right now due to my lack of seeing how to do what when and where things should go.
I really like Matteo's memory map implementation as I find it easy to understand and it makes alot of sense to organize data in that way.
I also like the overall idea of having objects organized at a functional level and extending the "base" class for specific implementation.
I like the idea of making sure that you have the proper stack allocation by including the stack length during development time.
but aside from collecting everyone's spin code and reviewing it, I have found it tough to get a handle on a good method for developing my objects.
Would it be possible to start a community based discussion on the basics of how to design an object in Spin? I am sure that it would be helpful to all.
Thoughts?
Thanks,
Rob.
Has anyone put together a white paper or such that would document a proven design pattern for developing Spin objects? It might be helpful to get noobs (such as myself) on the right track out of the box. I'm stumbling right now due to my lack of seeing how to do what when and where things should go.
I really like Matteo's memory map implementation as I find it easy to understand and it makes alot of sense to organize data in that way.
I also like the overall idea of having objects organized at a functional level and extending the "base" class for specific implementation.
I like the idea of making sure that you have the proper stack allocation by including the stack length during development time.
but aside from collecting everyone's spin code and reviewing it, I have found it tough to get a handle on a good method for developing my objects.
Would it be possible to start a community based discussion on the basics of how to design an object in Spin? I am sure that it would be helpful to all.
Thoughts?
Thanks,
Rob.
Comments
Graham
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 5/17/2007 5:21:41 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=650217
meow, i have my own topic now? (sorta)