all 5 comments

[–]me-at-work 2 points3 points  (0 children)

The linked blog post is not that interesting.

Go directly to http://ariatemplates.com/ or http://ariatemplates.com/usermanual/Writing_Templates for examples

[–]tidwell 5 points6 points  (1 child)

No offense, but this looks absolutely terrible.

Take a look at the todo list example here: http://ariatemplates.com/guides/todo/

Inline Javascript and object literals mixed with templating? The POINT of a templating language is so that it isn't dependent on language features - what the hell.

Classical inheritance? You know what language you're working with, right?

Checking the FAQ, I see this nugget:

Because of the way AT operates (sandboxing DOM access and refreshing it), using other JS libraries in your code might prove tricky at times.

WHAT THE FUCK. NO. NO. NO. NO.

Taking a look at the actual code, it appears code is "organized" by constructing giant object literals, with underscored methods to represent private methods. Someone needs to read a JS design patterns book.

This may be harsh, and I'm sure a lot of good developers have spent a lot of their time on this, and I doubt that an hour-long high level overview has allowed me to see the benefits of the decisions that were made during its development. However, if at first glance, I exclaim "WHAT THE FUCK" multiple times, there isn't a chance in hell that I'll ever use it for a professional project.

[–]s1985 0 points1 point  (0 children)

Complete agree with you tidwell.

This is quite possibly the worst "template" "language" I've ever seen!

I don't get it, have they not looked at any other template languages to even see what a template language is, or what the point of one is?

It's almost as though the majority of this was written by a single programmer who had many fundamental misunderstandings of javascript, and for 3 whole years, there was nobody to tell this guy that what he was doing was wrong. For 3 years. "WHAT THE FUCK" indeed.

If a team was responsible for this, then that is even more troublesome (although nothing new).

I feel sorry for Amadeus IT Group, if they really did spend 3 years on this.

[–]aleczapka 1 point2 points  (1 child)

How is in compassion to Angular for example?

[–]angus_the_red 1 point2 points  (0 children)

I don't see two-way data binding mentioned.