Skip to main content
Code Review

Return to Question

deleted 21 characters in body; edited tags; edited title
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

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.

deleted 14 characters in body; edited tags; edited title
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

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.

added 223 characters in body
Source Link

Update : The code is on github for anyone interested. I know it's not very useful but I'm having fun with it. link


Update : The code is on github for anyone interested. I know it's not very useful but I'm having fun with it. link


Notice removed Draw attention by Community Bot
Bounty Ended with no winning answer by Community Bot
Notice added Draw attention by Jean-Bernard Pellerin
Bounty Started worth 50 reputation by Jean-Bernard Pellerin
Removed request to add tags. D tag has already been added, D2 tag seems unnecessary as D2 is the standard D these days and the others are too specific to be useful.
Source Link
sepp2k
  • 9k
  • 2
  • 39
  • 51
Loading
Tweeted twitter.com/#!/StackCodeReview/status/154524275372597248
edited tags
Link
Jeff Mercado
  • 5.4k
  • 29
  • 33
Loading
Source Link
Loading
default

AltStyle によって変換されたページ (->オリジナル) /