D2.0 mixin Mixin and template-heavy code - buildingfor a Silverlight clone
I've made a mock version of Silverlight in D2. It is meant to output htmlHTML, but since I don't know HTML yet, it'sits current output is not validin. HTML is not the reason I'm here, though. The goal of my project was to create a framework that uses xamlXAML and MVVM to create a site bound to a view modelviewmodel. It doesn't do too much and isn't dynamic as of yet, but right now I'm just at the first milestone.
Before I go any further with the project I'd like some feedback on what I have so far. Specifically, my use of template mixins to achieve polymorphism and override base class methods, even if they contain the exact same code (this problem is explained in code-comments). But at the same time this is my first forray into D and I'm sure there are other things I could use help with, so I'm open to any suggestions.
The output when this is run is the following, which contains two runs of the control builder, to demonstrate viewModel changes. I know it's not real html,HTML; that's something I have yet to learn... sad but true.
D2.0 mixin and template-heavy code - building a Silverlight clone
I've made a mock version of Silverlight in D2. It is meant to output html but since I don't know HTML yet, it's current output is not valid. HTML is not the reason I'm here though. The goal of my project was to create a framework that uses xaml and MVVM to create a site bound to a view model. It doesn't do too much and isn't dynamic as of yet, but right now I'm just at the first milestone.
Before I go any further with the project I'd like some feedback on what I have so far. Specifically my use of template mixins to achieve polymorphism and override base class methods even if they contain the exact same code (this problem is explained in code-comments). But at the same time this is my first forray into D and I'm sure there are other things I could use help with, so I'm open to any suggestions.
The output when this is run is the following, which contains two runs of the control builder, to demonstrate viewModel changes. I know it's not real html, that's something I have yet to learn... sad but true.
Mixin and template-heavy code for a Silverlight clone
I've made a mock version of Silverlight in D2. It is meant to output HTML, but since I don't know HTML yet, its current output is in. HTML is not the reason I'm here, though. The goal of my project was to create a framework that uses XAML and MVVM to create a site bound to a viewmodel. It doesn't do too much and isn't dynamic as of yet, but right now I'm just at the first milestone.
Before I go any further with the project I'd like some feedback on what I have so far. Specifically, my use of template mixins to achieve polymorphism and override base class methods, even if they contain the exact same code (this problem is explained in code-comments). But at the same time this is my first forray into D and I'm sure there are other things I could use help with, so I'm open to any suggestions.
The output when this is run is the following, which contains two runs of the control builder, to demonstrate viewModel changes. I know it's not real HTML; that's something I have yet to learn.
D2.0 mixin and template-heavy code - Buildingbuilding a silverlightSilverlight clone
Update : The code is on github for anyone interested. I know it's not very useful but I'm having fun with it. link
I've made a mock version of silverlightSilverlight in D2. It is meant to output html but since I don't know htmlHTML yet, it's current output is not valid. HtmlHTML is not the reason I'm here though. The goal of my project was to create a framework that uses xaml and mvvmMVVM to create a site bound to a view model. It doesn't do too much and isn't dynamic as of yet, but right now I'm just at the first milestone.
Before I go any further with the project I'd like some feedback on what I have so far. Specifically my use of template mixins to achieve polymorphism and override base class methods even if they contain the exact same code (this problem is explained in code-comments). But at the same time this is my first forray into D and I'm sure there are other things I could use help with, so I'm open to any suggestions.
IMO
The code is on GitHub for anyone interested. I know it's not very useful but I'm having fun with it.
In my opinion, the code explains itself with comments, but I can add more if it's unclear.
D2.0 mixin and template-heavy code - Building a silverlight clone
Update : The code is on github for anyone interested. I know it's not very useful but I'm having fun with it. link
I've made a mock version of silverlight in D2. It is meant to output html but since I don't know html yet, it's current output is not valid. Html is not the reason I'm here though. The goal of my project was to create a framework that uses xaml and mvvm to create a site bound to a view model. It doesn't do too much and isn't dynamic as of yet, but right now I'm just at the first milestone.
Before I go any further with the project I'd like some feedback on what I have so far. Specifically my use of template mixins to achieve polymorphism and override base class methods even if they contain the exact same code (this problem is explained in code-comments). But at the same time this is my first forray into D and I'm sure there are other things I could use help with, so I'm open to any suggestions.
IMO the code explains itself with comments, but I can add more if it's unclear.
D2.0 mixin and template-heavy code - building a Silverlight clone
I've made a mock version of Silverlight in D2. It is meant to output html but since I don't know HTML yet, it's current output is not valid. HTML is not the reason I'm here though. The goal of my project was to create a framework that uses xaml and MVVM to create a site bound to a view model. It doesn't do too much and isn't dynamic as of yet, but right now I'm just at the first milestone.
Before I go any further with the project I'd like some feedback on what I have so far. Specifically my use of template mixins to achieve polymorphism and override base class methods even if they contain the exact same code (this problem is explained in code-comments). But at the same time this is my first forray into D and I'm sure there are other things I could use help with, so I'm open to any suggestions.
The code is on GitHub for anyone interested. I know it's not very useful but I'm having fun with it.
In my opinion, the code explains itself with comments, but I can add more if it's unclear.
- 9k
- 2
- 39
- 51