I was just wondering if there are any major advantages or disadvantages to using either XAML/C# or HTML5/JavaScript for Metro Apps.
closed as not constructive by maple_shaft♦ Dec 5 '12 at 18:30
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
As a little background, I built the American Airlines Windows 8 app in html5. I have to say it was a fantastic. First, drop all your ideas of HTML5 as it relates to mobile apps. In Windows 8, javaScript is a first class native language. You have access to all the hardware features that a XAML app would. There are also fantastic templates built into Visual Studio 2012 for WinJs applications. WinJs is not just some half thought webview implementation. Microsoft is finally showing JS the respect it deserves. I would suggest getting up to speed with the latest and greatest in IE10. Honestly that is the core framework for all of the WinJs stuff. It is powerful and fast! Here's an example of what you can do with it: http://www.cuttherope.ie/. Also, here's a great place to get started with WinJs: http://msdn.microsoft.com/en-us/library/windows/apps/br211385.aspx The future looks bright for JS as a native language for Windows. |
|||||||||||||||||
|
|
Metro Apps built using the HTML5/JS APIs will probably be classified as "simpler", compared to their C#/XAML counterparts. While the former will certainly be capable of creating functional, well designed apps, there will undoubtedly be a limit to the capabilities of an app built in HTML5. On the flip side, while C# might be more capable, it's also more complicated. An HTML5 app will be very easy to design and maintain, comparatively. At least, that's my best estimated guess. I don't have experience developing Win8 apps (yet). |
|||||
|
|
Both. Because both are being adopted by developers (though not at the same time, what I mean is while some devs are using XAML/C#, some others are using HTML/JS). For those coming from a Web app dev background, it's easier to transition to HTML/JS. And for those aleady familiar with XAML through WPF and Silverlight, it would make sense to carry over the skills to XAML+C#. And as far as results are concerned, both technologies are showing good results. So my guess is both would be equally good in the years to come. |
|||
|
|
|
Both are going to run on WinRT (aka trimmed down version of Windows 8 which is used on MS Surface device). It will totally depend on developers preference . Thus, developers with HTML5/JS experience will be equally powered to develop for Window 8. |
|||||
|
|
Not a MS programmer - From a programmers standpoint, it would be worth investing your time and effort in a platform agnostic, open standard like JS + HTML 5. The knowledge you gain can be re-used elsewhere. Win 8 supports JS natively, so there wouldn't be much you cannot accomplish using it. |
|||
|
|
|
Yes, in most cases, JavaScript is a native language. Depending on where it's running, its compiled (JIT Style) into machine code. For example, if you're running the Chrome browser, the V8 engine does just that which is mentioned above. It's my understanding that IE 10 is doing the same, as with the other prevalent browsers which support the ECMAScript 262 standard. Entou, in most cases JavaScript is no longer an interpreted language. It's a full-fledged, Object-Oriented, Prototypal-based, client/ server-side, ubiquitous programming language. |
||||
|
|