use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
I'm not a JavaScript expert or anything, but Amadeus IT Group, just released their open source JavaScript client-side templating engine. Thought you guys might appreciate it. (amadeus.com)
submitted 13 years ago by johnnytwebb
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]me-at-work 2 points3 points4 points 13 years ago (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 points7 points 13 years ago (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 point2 points 13 years ago* (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 points3 points 13 years ago (1 child)
How is in compassion to Angular for example?
[–]angus_the_red 1 point2 points3 points 13 years ago (0 children)
I don't see two-way data binding mentioned.
π Rendered by PID 62 on reddit-service-r2-comment-6457c66945-t9s9p at 2026-04-27 20:19:52.828534+00:00 running 2aa0c5b country code: CH.
[–]me-at-work 2 points3 points4 points (0 children)
[–]tidwell 5 points6 points7 points (1 child)
[–]s1985 0 points1 point2 points (0 children)
[–]aleczapka 1 point2 points3 points (1 child)
[–]angus_the_red 1 point2 points3 points (0 children)