There’s something that keeps bothering me and I definitely have to do something about it. The thing is that I always wanted to be able to have some kind of tool that compiles XML to Java so I won’t have to write that crappy Java code anymore. I always wanted to do something like:
<method name="doSomething" static="true" return-type="void">
<var name="var1" type="Integer">
<if test="$var1==4">
<then>
<var name="service" type="IMyService" factory="MyServiceFactory"/>
<call method="someServiceMethod" on-object="service" params="p1, p2, p3"/>
</then>
</if>
</method>
Of course, this whole thing will be extended in order to support any programming language and also to support scripting like Python and such. I just don’t understand how come no one saw the potential of this.
Another cool ideea is a platform for developing user interfaces. I mean, UI designers will just have to learn XML because in two years all UI will be developed using XML statements like this:
<groupbox title="some title">
<label text="$getTextFromDb"/>
<button caption="OK" on-button-click="#doSomthingElse()"/>
</groupbox>
This is really cool and maybe I can also offer support for JavaScript or VBScript so it’s almost like developing webapps, except that you can also build desktop applications
. This of course will compete with HTML but I’m sure that it will kick ass because people are tired of HTML and XML is so much cooler. For the complete retards that just can’t live without HTML there will be support to use XSL that will be run half on the server and half on the client. After all, who the hell needs these standards that already have millions protocols, frameworks and tools to support them? Reinventing the wheel will always provide us with a better wheel, isn’t it?
One other great thing that we could do for the community is to replace the current linux shells with an XML equivalent. I am sure that people are really tired of bash and such tools so I think we really need to get some XML in there. I’m thinking about something like a shell that only accepts XML commands:
<command text="startx">
<params>
<param index="0" value="..."/>
<param index="1" value="..."/>
..
</params>
</content>
On the other hand, is never too late to consider an application server. Maybe something combined with all the ideas above. I mean, I’m sure that EVERYONE will love to have a platform where EVERYTHING can be done with XML. This means that ALL files are XML. No property files, no jar files, no image files (we’ll keep those in HEX format in the XML
), no CSS files. Basically nothing that cannot be parsed with an XML parser! No one will ever have to go through the pain of writing code anymore, except for XML code, and I think that is so cool that I’m getting a hardon.
Maybe if I get my friends together and analyze this we can create some sort of platform for PC, mobile, etc, that is completely portable. Something like Java but with an accent on XML. This means that no code will have to be developed, only pure XML. We will use XSLT to compile from XML to binary code, of course, so that we won’t have to write any code ourselves while we develop this.
Yes, I believe I’m gonna start implementing some of this stuff. People just have to understand: XML is better and is the only solution no matter what you want to do, and I also believe we are really far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far, far away from getting the best out of XML.
Aaah, I almost forgot: Fuck you, Marcus!
1 comment so far ↓
Good one.
)
))))
Next time we get together to be such smart-asses about fancy technologies, perhaps we should admit the ultimate truth and replace hibernate and spring with this God-given XML. I mean we can get really good performance out of it, and we might as well just make out code portable on any (i mean ANY) platform.
Leave a Comment