Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Lenovo Developer CommunityWindows Ecosystem Developers
All Forum Topics
Options

3 Posts

03-03-2014

United States

2 Signins

11 Page Views

  • Posts: 3
  • Registered: ‎03-03-2014
  • Location: United States
  • Views: 11
  • Message 1 of 9

WinJS or XAML/C#?

2014-03-03, 22:11 PM

Are folks using WinJS or XAML/C# for their Windows 8 applications?

Reply
Options

68 Posts

04-12-2010

United States

184 Signins

712 Page Views

  • Posts: 68
  • Registered: ‎04-12-2010
  • Location: United States
  • Views: 712
  • Message 2 of 9

Re: WinJS or XAML/C#?

2014-03-04, 16:12 PM

I'm using XAML/C#(/VB.NET) for my programming. Mostly because that's what I'm familiar with. I don't know JS so it would be hard to go that route.

Reply
Options

8095 Posts

11-19-2007

United States of America

10101 Signins

400183 Page Views

  • Posts: 8095
  • Registered: ‎11-19-2007
  • Location: United States of America
  • Views: 400183
  • Message 3 of 9

Re: WinJS or XAML/C#?

2014-03-04, 19:47 PM

Scott,

 

Welcome to the forum!    Very glad to have you here in the Win 8 developer section!

 

Interesting question that you have posed to the developer community.  Not knowing anything about the topic, I did a quick search and came up with this article that seems to illustrate the divide rather well.  Interesting!

 

Where do you see the inherent advatages of each?  In your opinion,  Is this more a case of choosing the best tool for the job at hand, or go with what you know?

 

Mark

 

 

Reply
Options

3 Posts

03-03-2014

United States

2 Signins

11 Page Views

  • Posts: 3
  • Registered: ‎03-03-2014
  • Location: United States
  • Views: 11
  • Message 4 of 9

Re: WinJS or XAML/C#?

2014-03-04, 19:49 PM

Well, I think that article has a "linkbat" title that is overly inflamatory. I think the more measured analysis is that C# is very mature and WinJS is brand new. Folks are using what they know. 

 

My metaquestion is more about if folks are coming to Windows 8 development with existing JavaScript skills but choosing to use C# instead.

Reply
Options

3 Posts

03-05-2014

Seattle, WA

3 Signins

15 Page Views

  • Posts: 3
  • Registered: ‎03-05-2014
  • Location: Seattle, WA
  • Views: 15
  • Message 5 of 9

Re: WinJS or XAML/C#?

2014-03-05, 2:41 AM

Hey Mark. That's actually a rather misleading article for multiple reasons. It actually gets the technology behind several of the apps wrong, and looks at a non-representative subset of apps.

 

I use JS/HTML/CSS for my apps (such as Tweetium and Newseen) and make use of the WinJS library as well.

 

I wrote a blog post a month or so ago about the different platform options for Win8. Might be of interest to anyone participating in this discussion:

http://brandonlive.com/2014/01/22/building-great-winapps-platforms-a-plenty/

 

Brandon

Reply
Options

1145 Posts

08-30-2012

United States of America

795 Signins

28316 Page Views

  • Posts: 1145
  • Registered: ‎08-30-2012
  • Location: United States of America
  • Views: 28316
  • Message 6 of 9

Re: WinJS or XAML/C#?

2014-03-05, 4:00 AM

Well gee, one of the guys who developed WinJS says I should throw out a decade of .NET experience and use HTML/JS...

 

I think I've heard this one from Microsoft before:

 

Mid-1990s:  Don't use C/C++ and  native Win APIs anymore, switch to C++/MFC.

2002:  Now that MFC has matured, abandon C++ and switch to C#/.NET and Windows Forms.

2008:  Ditch Windows Forms--XAML and WPF or Silverlight is where it's at.

2012:  Now that .NET, WPF, and Silverlight have matured, throw it all away, develop "Modern" apps with HTML/JS, or C++ with a totally new set of APIs, or if you really insist on it, you can still use C#/.NET with XAML but we've crippled it for your convenience.

 

Reply
Options

3 Posts

03-05-2014

Seattle, WA

3 Signins

15 Page Views

  • Posts: 3
  • Registered: ‎03-05-2014
  • Location: Seattle, WA
  • Views: 15
  • Message 7 of 9

Re: WinJS or XAML/C#?

2014-03-05, 17:00 PM

mcl630 - To whom are you addressing that reply?

 

I'm pretty sure Scott had nothing to do with WinJS, and I don't think anyone is telling you to use it. He's just asking what folks are using. I gave my answer (and my blog post about my thoughts on the options - which also doesn't tell you what to use, and I most certainly didn't develop WinJS either!).

Reply
Options

1145 Posts

08-30-2012

United States of America

795 Signins

28316 Page Views

  • Posts: 1145
  • Registered: ‎08-30-2012
  • Location: United States of America
  • Views: 28316
  • Message 8 of 9

Re: WinJS or XAML/C#?

2014-03-06, 6:25 AM

I was addressing you BrandonLive... I apologize, from reading your blog, I was under impression you had worked on WinJS  during your time at Microsoft.

 

Your blog posts are heavily slanted in favor of WinJS, implying that that is the way to go.

 

Reply
Options

3 Posts

03-05-2014

Seattle, WA

3 Signins

15 Page Views

  • Posts: 3
  • Registered: ‎03-05-2014
  • Location: Seattle, WA
  • Views: 15
  • Message 9 of 9

Re: WinJS or XAML/C#?

2014-03-06, 18:21 PM

No I never worked on WinJS. I contributed to the design of WinRT (particularly the app model, activation/contracts and such) and certain shell APIs, but nothing in JS or WinJS.

 

The blog post I linked to tried to help readers figure out which option is best for them. It explains how I came to choose JS (+WinJS) for my apps, but I don't think it's "slanted" at all. I was trying to clarify some oft-misunderstood aspects about the JS platform on Windows, so maybe that's why you felt that way. But I went through the D3D and XAML options and called out their advantages and why you might prefer one or the other. And near the end I said:


Most apps (which aren’t 3D games) are going to use either C#+XAML or HTML+JS. Which one you choose will probably depend a lot on your background and personal preferences. Both platforms can be used to create great, fast, beautiful, reliable, maintainable apps. Both can let you be extremely productive as a developer. Both look to have bright futures.

 

I stand by those statements :-)

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms

Most Liked Authors

(Last 7 days)

View All