These are chat archives for DarthFubuMVC/fubumvc

27th
Jul 2015
Jeremy D. Miller
@jeremydmiller
Jul 27 2015 15:26
@gbrunton wrote:
"

Not interested in it if it is complete framework that basically replaces MVC.
Is interested in it if it is more of a library built on top of or works side by side with MVC.

Would love to see

  • behavior chains (russian doll modelled)
  • one model in / one model out controllers
  • routes derived off of input models
  • automatic content negotiation (view discovery)
  • view editors and displays and the ability to apply html conventions
  • localization support (much like fubu did)
  • validation somewhat similar to what was attempted in fubuvalidation
"
Ok, so:
Suhas Chatekar
@schatekar
Jul 27 2015 15:29
@jeremydmiller tagging things as "up for grabs" is a good idea
Jeremy D. Miller
@jeremydmiller
Jul 27 2015 15:30
Right now, my thinking is that Jasper has to be in charge of routing, diagnostics, modularity, IoC integration, and the assembly of OWIN middleware/the BehaviorGraph to effectively do what we want to accomplish. I think we should commit to being able to use most of the MVC6 functionality within a Jasper application, and we’ll definitely support the usage of external OWIN middleware. So in a way, you could absolutely use Jasper all by itself as a whole other FX but still take advantage of MVC6 things. Jasper as an addon to MVC6 probably doesn’t work.
  • behavior chains / Russian doll model — definitely, but this time “behavior” will be the OWIN signature func
  • one model in / one model out controllers — agreed, but I think we need to support other patterns this time too
  • routes derived off of input models — I’d prefer to keep what fubumvc already does
  • automatic content negotiation (view discovery) — ditto above
And that takes us to where Jasper differs. My thought has been to optimize Jasper’s core for JSON o’er HTTP to support SPA’s first. I’ve pulled the html convention support and some other service side rendering things out of FubuMVC3, but those largely live on in HtmlTags themselves w/ @jbogard really taking over that work. What we could do is to put everything that FubuMVC does today for server side rendered apps into the remaining FubuMVC.Razor package in Jasper. So all of this:
  • view editors and displays and the ability to apply html conventions
  • localization support (much like fubu did)
  • validation somewhat similar to what was attempted in fubuvalidation
Maybe goes into some kind of Jasper.Razor package.
Couple caveats to that though:
  • The FubuMVC.Validation and some of FubuValidation code is a mess. #sadtrombone
Jeremy D. Miller
@jeremydmiller
Jul 27 2015 15:35
  • I think I’d need someone else to fully champion that package because I’m not working on any projects that would use most of that functionality. Doesn’t mean that I wouldn’t help/advise/own, but I can’t take that solo.
Mike O'Brien
@mikeobrien
Jul 27 2015 18:34
And that takes us to where Jasper differs. My thought has been to optimize Jasper’s core for JSON o’er HTTP to support SPA’s first.
here here !