Wysmedia.com

Icon

~ We make IT easy for you ~

which one you prefer ?

I just having thought of current JavaFx that using syntax that looks like Groovy DSL. I think it is fun to have a syntax like that, instead of using XML. I hate XML you know ….

Which one you like ?

<html>
    <body>
        <table>
            <tr>
                <td> something here </td>
                <td> something here too </td>
                <td> something here as well</td>
            </tr>
             <tr>
                <td> another line here </td>
                <td> another line here too </td>
                <td> another line here as well</td>
            </tr>
        </table>
        <a href="http://wysmedia.comyr.com"> wysmedia</a>
    </body>
</html>

or

html{
    body{
        table{
            tr{
                td{"something here"}
                td{"something here too"}
                td{"something here as well"}
            }
            tr{
                td{"another line "}
                td{"another line too"}
                td{"another line as well"}
            }
        }
        p{
            h2{"a paragraph"}
            a{
                href:"http://wysmedia.comyr.com"
                title:"link to wysmedia"
                "wysmedia.com"
            }
        }
    }
}

which one you like the most ?