These are chat archives for AvaloniaUI/Avalonia

4th
May 2015
Steven Kirk
@grokys
May 04 2015 10:42
interesting video on the new binding system for universal apps: http://channel9.msdn.com/Events/Build/2015/3-635
Steven Kirk
@grokys
May 04 2015 11:12
got to say, xaml for universal apps is looking amazing so far!
binding for events!!!
compile-time checking of bindings!
Nelson Carrillo
@ncarrillo
May 04 2015 12:12
Yep x:Bind is impressive
Nelson Carrillo
@ncarrillo
May 04 2015 13:12
I'm also interested about the new compositor APIs and Win2D
Steven Kirk
@grokys
May 04 2015 13:14
not seen anything about those. is there a video?
Nelson Carrillo
@ncarrillo
May 04 2015 18:37
:o what is the Deck control
Steven Kirk
@grokys
May 04 2015 18:56
ha, that is what i've been working on
it's an ItemsControl that displays only the selected item, filling the control
like a deck of cards
the main reason i wanted it was to animate between the items
TabControl now uses it to display the content area, so the content can easily be animated
i'm using polymer for a project at work atm and there are some really cool things in there - this was inspired by one of them
Richard Simpson
@RichiCoder1
May 04 2015 19:54
@grokys completely unrelated to anything: How has polymer treated yah? We've been eyeing it for sometime, but the churn and the 0.x status has pushed us away.
Steven Kirk
@grokys
May 04 2015 19:55
well it's obviously pre-alpha and about to massively change for 0.8, but in general it's been excellent
a real step forward IMO
a bit weird that everything is in html, so there's no MVC as such in it
or MVVM - everything is in components
but once you get used to it, I don't think that is a problem
Nelson Carrillo
@ncarrillo
May 04 2015 20:20
I liked Polymer when I used it
was like ice water in hell after doing front end web work
I kinda don't like where its going where everything is a custom tag, they use it to encapsulate behavior
Steven Kirk
@grokys
May 04 2015 20:21
what you mean things like core-ajax?
Nelson Carrillo
@ncarrillo
May 04 2015 20:21
core-ajax for example,
yeah
lol exactly
but stuff like shadow dom, imports, and custom tags were such a godsend
I think I held off on it because Safari had (has?) an issue rendering Custom Elements in Yosemite
Steven Kirk
@grokys
May 04 2015 20:22
i don't know core-ajax being a component was really weird at first
reminded me of VB6!
Nelson Carrillo
@ncarrillo
May 04 2015 20:22
yeah, I don't really like cookie cutter style development where you drag and drop
Steven Kirk
@grokys
May 04 2015 20:22
but once you get used to it, i think it's a valid pattern
your controllers end up being parent components
Nelson Carrillo
@ncarrillo
May 04 2015 20:22
even with XAML, I write XAML using a split view and just having the design canvas be a visual preview
Steven Kirk
@grokys
May 04 2015 20:23
yeah, the xaml designer is still pretty crap
Nelson Carrillo
@ncarrillo
May 04 2015 20:23
Polymer + TypeScript has to be hotness
Steven Kirk
@grokys
May 04 2015 20:23
yeah, i'd be interested in that, if they could make it work somehow!
Steven Kirk
@grokys
May 04 2015 20:41
on a different note: i was always worried that using observables for binding might prove to be slow
i did a big refactor of binding stuff at the weekend and decided to compare the speed between WPF and Perspex bindings
first run: like 0.05s for WPF 20.0s for Perspex!!!
was really thinking "oh shit, i need to rethink everything"
but then profiled, and 99% of that time was logging to a logger that was turned off!
removed logging and things looked a lot better
currently about 20% slower for basic setting of properties
but about 150% faster when writing to a bound property!
Steven Kirk
@grokys
May 04 2015 20:59
@ncarrillo did you get to the bottom of why TestApplication-Mono seems to fail referencing RxUI and Splat even though it has the NuGet pkgs installed?
Steven Kirk
@grokys
May 04 2015 21:11
pages.gif
Woo! animations! ;)