I guess the lesson is one of:
(1) don't make complicated XML-based APIs
(2) stick to standards (e.g., using HTML now instead of XUL)
(3) if your system isn't getting traction, retry in 10 years?I guess the lesson is one of:
(1) don't make complicated XML-based APIs
(2) stick to standards (e.g., using HTML now instead of XUL)
(3) if your system isn't getting traction, retry in 10 years?https://developer.mozilla.org/en-US/docs/XULRunner
The XML-based XUL isn't terrible, either, considering the respectable set of widgets and the ability to control all the styles with CSS. The nasty part, in my experience, was trying to get through the messy FFI that was XPCOM.
XUL had/has a proper GUI toolkit with proper bindings to an event framework for user interaction. It was similar to HTML/CSS/JS but much, much better. The problem was people wanted "real" apps without having to do real work, and we're stuck with HTML which is a document language and will never be what we really want.
Oh, and it wasn't that complicated, it was rather easy.
No standards. For example - Drag and Drop. There is no standard system for Drag and Drop between components in the browser because it doesn't know about these controls, it only knows div div div div div. So, in general - it's just harder to write good code that targets HTML components because there are no standards for complex components.
(Some more patterns with no standards for complex components: Data Binding, Encapsulation (grouping one or more component into a parent component and walking parent/child components), Inheritance.)
And then, there's performance. Native trumps HTML here, no contest.
"(2) stick to standards (e.g., using HTML now instead of XUL)"
and
"(3) if your system isn't getting traction, retry in 10 years?"
It sounds like you are claiming Mozilla is promoting the use of XUL as a mark-up language for web apps, which is completely, unequivocally, 100% false. Hopefully this is not what you intended, because it would be an unfortunate case of FUD-spreading.
(3) was talking about making apps with mozilla. Not specifically xul.