Namespaces & widgets.

Namespaces & widgets.


Hi there,
I just want to share a crazy idea, what about if we implement
namespaces to create UI widgets?, for instance:
...
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:jqueryui="http://
jqueryui.com/jqueryui">
...
<script type="text/javascript" src="js/jquery-
ui-1.7.1.custom.min.js"></script>
...
<div jqueryui:widget = "accordion" jqueryui:someproperty =
"somevalue">
...
</div>
It doesnt give us a huge improvement, but I think it make easier for
developers to create and maintain the code. But in the other hand, we
are mixing theming and coding in some way.
Well, this is my idea, I want to know what the community think before
start coding.
Thanks!