|
|
|
|
|
by edtechdev
5039 days ago
|
|
There's no link to examples or a direct link to the relevant documentation. You have to figure out the difference between 'constant' and 'preserve'. And one of their principles states: "One Language. Write both the client and the server parts of your interface in JavaScript." Yet you still have to learn a separate template language, deal with the DOM, browser inconsistencies, etc. To be fair, if you did do everything in javascript including the user interface, it ends up looking like java (see dojo, google closure, dart, qooxdoo). Javascript isn't well suited for a user interface or template language, but there are dozens of alternatives, some of which are more friendly to declarative UIs: https://github.com/jashkenas/coffee-script/wiki/List-of-lang... |
|
Or iOS, see Blossom: https://github.com/fohr/blossom
Frankly, not having to write HTML/CSS and still getting Core Animation-style hardware-accelerated transitions and a normal Core Graphics-style `render()` function is really, really nice.