Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Components #38

Open
andrewmcgivery opened this issue Dec 2, 2014 · 3 comments
Open

Web Components #38

andrewmcgivery opened this issue Dec 2, 2014 · 3 comments

Comments

@andrewmcgivery
Copy link

Serious question. What exactly does this accomplish that the Web Components spec doesn't solve?

I think you're trying to solve a problem that has already been solved by a lot of very smart people.

I'm going to be very blunt, and I'm sorry if this hurts anyone's feelings, but you need to stop wasting your time. This problem has already been solved and this solution will never be adopted.

@m93a
Copy link
Contributor

m93a commented Dec 4, 2014

EDIT: Do not read this. It's off-topic.

Your opinion is right in many ways. But there's something about XML syntax that makes it horrible to use. Some of the current HTML's syntax extensions are very comfortable to use and quite simple to parse. HTML6 is imho a try to combine the pros of XML and HTML into a new unified syntax.

Yes, I'm quite sure no browser vendor is going to implement it but it could be still used in personal projects, where HTML is insufficient and time is surplus. One example that came to my mind is building a html-based operating system – it would combine the pros of HTML (everybody knows it) with the pros of XML (doubleplussuperextensibility). In such a long-term project, it would be good to have an existing standard to build upon.

Just my 2¢.

@ptica
Copy link

ptica commented Dec 8, 2014

there doesn't seem to be any xml syntax involved in web components, does it?
http://www.html5rocks.com/en/tutorials/webcomponents/customelements/

@m93a
Copy link
Contributor

m93a commented Dec 8, 2014

My bad. Seems like if I was replying to another issue :D

Web components are trying to achieve XML advantages without XML. That's neat and there are lots of cool features in their spec. But it's kinda not native. Why should I use JavaScript to define an element – this kills non-dynamic documents.

If you were writing an app (which is what are WC for), you'd use it anyway but I'm not sure if it's the best final solution possible.

On the other side, the current HTML6 concept doesn't offer any way to define custom elements at all, it just treats them like unknown elements. So yes, the current HTML6 spec is quite useless in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants