I hate HTML

I don't use Silverlight at all, but aren't silverlight made content bigger in file size? That would translate to longer page load times, which in my opinion is plain bad even if you have a fast connection. Furthermore, I stand to be corrected, you need to download libraries in order to view Silverlight content, the same as needing to download Adobe flash in order to see flash content. Windows OS would probably have the required files baked into the install disc, but other other OS?
 
I don't use Silverlight at all, but aren't silverlight made content bigger in file size? That would translate to longer page load times, which in my opinion is plain bad even if you have a fast connection. Furthermore, I stand to be corrected, you need to download libraries in order to view Silverlight content, the same as needing to download Adobe flash in order to see flash content. Windows OS would probably have the required files baked into the install disc, but other other OS?

you are correct, but this is not what we are talking about. We are merely talking about the languages used to create the content.
Noone is saying that its a good idea to make a site in Silverlight - that's not what its made for. SL is for LOB apps.
 
you are correct, but this is not what we are talking about. We are merely talking about the languages used to create the content.
Noone is saying that its a good idea to make a site in Silverlight - that's not what its made for. SL is for LOB apps.

Maybe I missed the thread drifting in-between the pages, however with regards to the opening post:

Now today I started making a little site to allow people to RSVP to my wedding - and I am SHOCKED at how ****ty HTML is.

Ok, so before I get hated, I know it's powerful and all that, but have you guys used XAML? I am talking only about the layout engine, not the technology.

And it's just simple stuff, like creating a stack of items, or having a block and centering it. The fact that there are 362million google results for "center a div" is telling (and yes, very unreliable as a metric).

In XAML, to align any UIElement in it's parent container you simply set: "VerticalAlignment=Center/Top/Bottom" and "HorizontalAlignment=Center,Left,Right". And to stack a bunch of elements up you just enclose them in: "<StackPanel>" and you can set it to horizontal or vertical.

Added to that the binding capabilities which put HTML 5 to shame - I just don't get why HTML is such a horrible language.

unless you are going to make a website with tables in html, making a modern site with the modern technologies will require at bare minimum html and css. Therefore in order to use Silverlight as a content layout scheme in replacement to html (put what content) and css (put content where and how) for website creation (unless you're arguing as to why html and css doesn't have a WYSIWYG that you can easily click and drop content, which dreamweaver and a whole stack of free html editors covers and therefore makes this a rather moot point of contention.), one would need to take into account everything that comes with the technology in question. An example being creating websites based purely on flash would immediately remove all iOS users as the mobile Safari browser doesn't support flash (probably Silverlight too, haven't tried this). Therefore as I said earlier, using Silverlight as method of creating websites will be rather cumbersome for the user as browsers don't have 100% native support for Silverlight. I reference the following quote as to why I say this about Silverlight.

Thanks for the answer! The fact that we need to discuss how to do simple things like this reliably proves my point.
I guess I'm just wondering why you need to know 3 different languages to make one layout? Arguably anything you can make in html/css/js can also be make on plain XAML. I would be interested for someone to point out something that can't.

It would be nice for developers to be able to develop with tools and languages that have a flatter learning curve and require less "hand coding", but the current form of Silverlight and its presence on the major browsers and OS will just irritate users.


The only other issue that I am able to see is with reference to the underlined bolded section in the quote. If you're asking as to why there is no point and click in replacement for typing out code, there are plenty of html and css WYSIWYG editors as I mentioned earlier.

Unless I have completely misunderstood the topic of discussion that is hand, then do excuse me. System.exit();
 
Last edited:
No, I never made any reference to tools either. Once again, only the actual language. It doesn't make a difference whether you are hand coding it or dragging and dropping - the code is going to be the same (well, maybe more/less verbose).

If you did want to put the discussion in a proper context I guess this question would sum it up:
"In a world where browsers has decided to support web pages in two formats (XAML and HTML), why would you choose HTML(and CSS) over XAML when in every way that I know, XAML is easier, makes more sense and just as powerful. This would NOT mean the browsers running Silverlight, merely allowing web page parsing in multiple languages."

And although that would never happen in a real world, if you look at Windows 8 development, you can make apps in XAML/C# and HTML/CSS/JS.

So I guess the question should have been:
"If you are a desktop developer and looking at W8, why would you choose HTML/CSS/JS over XAML/C#? "
 
The first programming I ever learnt was using HTML, back when JavaScript was used for making things flicker and making millions of ad pop-ups. I was 15-16 back then (22 now).

With some experience now, I would contend that HTML is better than XAML, maybe not for someone who knows the one better than the other. If Tony Stark had to build a website from just code when he was stuck in that cave, he wouldn't have built one with XAML as he would have needed .NET, whereas HTML would have done the job.

Yes maybe it's easier for you to make things vertical and what-not, but also look at it from an accessibility point. HTML alone is messy (but still very capable) unless you mix it up with CSS, and now with CSS3 and the HTML5 specs, it's even more useful.

From what I know, XAML was meant to be used with the .NET family, whereas HTML is more versatile, only needing a browser (even good ol' IE 5.5 - 8). Furthermore I think the OP is comparing apples with bananas because HTML and XML (not XAML) are meant to be data delivery specs [XAML being layout only I presume], hence we still need CSS for layouts and making pretty Barbie websites.

XML is very powerful, Microsoft put in an A to make it XAML :) in order to use it for initialising structure values ... In order for it to do that, Microsoft invested time and money in preseting values such as vertical alignments and the sort.
So I find it unfair that one compares XAML with HTML (which you have to 'preset' on the fly using CSS). It's like comparing a kid on a crutch with a kid on a wheelchair, one will be faster than the other because they are not starting from the same position.

So with that said, I think OP should have complained about CSS as he/she is not familiar with it. Some of us find it easy and efficient to use HTML
 
So I guess the question should have been:
"If you are a desktop developer and looking at W8, why would you choose HTML/CSS/JS over XAML/C#? "

As usual, I am late to the thread, but anyway. IMHO I think MS offer HTML/CSS/JS development as a way to get more apps built for their platform. There are definitely more skills out there to create good looking websites and, by extension, html metro apps. I'm thinking of all the media agencies that build websites and not dev shops. And html metro apps will be fine as long as there is decent system integration and they run fast.

For me, my choice between XAML+C# or HTML/CSS/JS will depend on the project. I'm always going to lean towards the solution that offers the best performance, but sometimes there are good reasons to use something else.
 
I have returned to HTML from not coding in it for 10 years. Wow, its a different world, there was little or no CSS that I knew of back then!
 
Silverlight? Seriously?

HTML5 is far from being finished and the language is becoming more dependant on CSS.

Open standards FTW!


Just for in case people didn't see the news, sometimes Microsoft is a little too subtle.

http://www.zdnet.com/blog/microsoft...-output-support-to-its-lightswitch-tool/12900
June 11, 2012, 7:42am PDT

Microsoft is enabling its LightSwitch tool to render HTML5, company officials announced during the Day 1 keynote at its TechEd North America conference.

So yea, Lightswitch up to now was pure Silverlight , so Microsoft is getting there ;).
 
HTML is da most simplest programming language on earth unlike java,c++ etc, I realy recoment HTML

Professional Troll.

Anyways, I see where OP is coming from, I actually became well acquainted with XAML way before HTML. But I have to say, Visual Studio + Blend makes it all the more easier, those two IDEs are brilliant for rapid development. he's assessment is largely fair in my expirience. But as a purist I tend to go with MVC, like or any paradigms which separate content from presentation and from function.
 
Top
Sign up to the MyBroadband newsletter
X