News for hackers. Stuff that matters.
Re:Microsoft and Xamarin partner by AUmrysh on Wednesday November 13, 2013 @11:14AM (#6726135)
If they came up with a unified, cross platform, UI format, it would make it so much easier. As it is now, you have to write your own view for each platform, instead of being able to use generic objects (buttons, cells, text, images, etc.) which wrap the native ones.

If they did that, they would very likely, as you say, dominate mobile for a long time. Nothing is more frustrating than jumping between android XML, Java, and eclipse (or whatever) and XCode, OBJ-C, and the iOS UI, while trying to not go insane.

Re:Microsoft and Xamarin partner by cek on Wednesday November 13, 2013 @01:25PM (#6727215)
"Write Once Run Anywhere" is Anti-Customer. [1]

Because of continued platform fragmentation WORA has been, is, and always will be a pipe-dream. People have been attempting to create WORA technologies since the beginning of time and they have all failed.

The nice thing about Xamarin's model is your UI code uses native constructs, allowing for the best possible, most natural (to the user) experience. But you get to stick with one language (if you want) and your core code is very portable.

[1] http://ceklog.kindel.com/2013/02/21/james-gosling-screwed-us...

Re:Microsoft and Xamarin partner by saidajigumi on Wednesday November 13, 2013 @04:39PM (#6728755)
> People have been attempting to create WORA technologies since the beginning of time and they have all failed.

Nice straw-man. Unity 3D does WORA very, very well. It's been used successfully for cross-platform development by many shipped products. To my initial astonishment, all built on Mono/C#.

This doesn't absolve the developer from QA for the targeted platforms, and this is where fragmentation is the killer IMO. That said, Unity provides a huge amount of leverage and tooling in support of seamless cross-platform deployment.

Re:Microsoft and Xamarin partner by fidotron on Wednesday November 13, 2013 @05:09PM (#6728989)
It's not a straw man at all as products with Unity aren't making any effort to appear native to the platform they're running on.

Unity is also notoriously painful when it comes to 2D UI style work as well, which is why there's a tools ecosystem around it just to deal with that problem.

Re:Microsoft and Xamarin partner by Karunamon on Wednesday November 13, 2013 @06:40PM (#6729443)
Does the enduser care? When I boot into a Unity game, it has its own UI and menu system, usually full-screening above the OS.

Saying that the apps generated don't look "native" doesn't support the assertion that WORA is a "failure". Doubly so considering the ubiquity of Java.

Re:Microsoft and Xamarin partner by cmircea on Wednesday November 13, 2013 @07:35PM (#6729708)
We're not talking about games here, we're talking about regular apps, with a regular UI, which needs to be native.

Otherwise it sucks.

Re:Microsoft and Xamarin partner by nightski on Thursday November 14, 2013 @12:33AM (#6730760)
So the web sucks?
Re:Microsoft and Xamarin partner by cmircea on Thursday November 14, 2013 @01:41AM (#6730969)
Yes.

Well the web doesn't have a native UI. But iOS and Android DO have one.

Re:Microsoft and Xamarin partner by alandarev on Friday November 15, 2013 @07:46AM (#6739082)
Games are way different segment. In a game you would like to impress person with non standard interface. In fact a game running on standard UI looks cheap and is a signal of design failure / low budget.

While the applications are other way around. New customers do not want to spend more than a minute to get familized with the interface. Moreover, your custom UI interface will be competing with Apple/Google designer's budget.

Re:Microsoft and Xamarin partner by bluefinity on Wednesday November 13, 2013 @07:40PM (#6729727)
Unity now has support for proper 2D in the engine. See here: http://unity3d.com/unity/whats-new
Re:Microsoft and Xamarin partner by gdc on Wednesday November 13, 2013 @10:40PM (#6730384)
Yes... for the past...... 24 hours.
Re:Microsoft and Xamarin partner by forgottenpaswrd on Thursday November 14, 2013 @04:08AM (#6731377)
"Nice straw-man. Unity 3D does WORA very, very well. It's been used successfully for cross-platform development by many shipped products. To my initial astonishment, all built on Mono/C#."

Not true. Unity engine is made using c/c++. You control those components using Mono/c#, which is totally different.

If Unity was made in Mono, it would be 1 frame per second. We made lots of experiments using mono for doing 3d and animation in our company as it is fast to program with, but with all the market machine of MS, c# is not designed for some things, but some people just can't stop trying to use the only hammer they have.

Re:Microsoft and Xamarin partner by fidotron on Wednesday November 13, 2013 @01:47PM (#6727383)
On top of that the proportion of code/development time involved with the UI or OS integration on a mobile client tends to dwarf the rest of the project, meaning reusing the guts is nothing like as big a net gain as it would appear.
Re:Microsoft and Xamarin partner by w0rd-driven on Wednesday November 13, 2013 @11:43AM (#6726388)
I think XAML is that format, but it isn't without its pain points. You pretty much can't do animation without a tool like Blend unless you're a sadist.

It looks like Xamarin uses .AXML for Android (maybe a XAML flavor) but has to adhere to Interface Builder for iOS (http://docs.xamarin.com/guides/cross-platform/application_fu..., specifically the Visual Designer section). XAML likely won't gain any traction on those platforms though due to NiH on all sides. HTML/CSS is likely as close as we get for now but that isn't a "native view" in any of the platforms mentioned.

Re:Microsoft and Xamarin partner by skrebbel on Wednesday November 13, 2013 @02:28PM (#6727751)
.AXML has no relation to XAML at all. It's just plain Android layouts: when doing plain Java Android dev, they're just .xml files. I believe that Xamarin made up a new extension for them because it allows them to easily associate the file extension with a special editor in the IDE (Visual Studio and Xamarin Studio/MonoDevelop).

Xamarin's Android interface builder is actually remarkably decent.

Re:Microsoft and Xamarin partner by jpobst on Wednesday November 13, 2013 @04:04PM (#6728496)
Hah, that's exactly why I did it. :)

I couldn't easily associate .xml with the designer in VS since everyone uses .xml.

Re:Microsoft and Xamarin partner by thatthatis on Wednesday November 13, 2013 @11:21AM (#6726209)
I think the key to a unified cross platform ui format is going to be another layer of separation of concerns, similar to HTML/CSS.

I think this because I believe that platform-level ui look and feel differences are going to be with us for a long time.

I think you can standardize "what it does" and "how it does it", but you'll have to keep platform specific "how to invoke" and "how it looks" for a long time.

Maybe a MVCP paradigm is what we need, where the controller is split into common controller and platform controller

Re:Microsoft and Xamarin partner by zanny on Wednesday November 13, 2013 @01:49PM (#6727396)
> able to use generic objects (buttons, cells, text, images, etc.) which wrap the native ones.

You mean QML?