javascript AngularJS 与 AppML

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30973302/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 13:02:09  来源:igfitidea点击:

AngularJS vs. AppML

javascriptangularjs

提问by khan xada

I am new to AngularJS and AppML. I want to know which one is better and what is the difference between them because it seems the same to me as I have seen at W3Schools.

我是 AngularJS 和 AppML 的新手。我想知道哪个更好,它们之间有什么区别,因为在我看来,这和我在 W3Schools 看到的一样。

回答by Monish Chhadwa

  1. AngularJs is a framework that binds your HTML(views) to JavaScript objects(models). It is a MVC framework, therefore, allows you to create properly architected and maintainable web applications. It reduces server load(PHP).
  2. Companies like Google, Flipkart etc. are using it extensively.
  3. Such frameworks(Backbone js, angularJs) allow to create Single Page Applications, thus making you websites more dynamic and quick. AngularJs is backed by Google!!
  4. It tends to push the templating to the browser in order to free the server, which now only fetches data. As a result, client-side developers have greater control over the templates. It proves useful when you want to update one section of the website without refreshing the whole page. It is a great solution with which the code can be easily reused and maintained. Read on for more: https://www.angularjs.org/
  1. AngularJs 是一个将 HTML(视图)绑定到 JavaScript 对象(模型)的框架。因此,它是一个 MVC 框架,允许您创建结构合理且可维护的 Web 应用程序。它减少了服务器负载(PHP)。
  2. 谷歌、Flipkart 等公司正在广泛使用它。
  3. 此类框架(Backbone js、angularJs)允许创建单页应用程序,从而使您的网站更加动态和快速。AngularJs 得到了谷歌的支持!!
  4. 它倾向于将模板推送到浏览器以释放服务器,后者现在只获取数据。因此,客户端开发人员可以更好地控制模板。当您想在不刷新整个页面的情况下更新网站的一部分时,它被证明很有用。这是一个很好的解决方案,可以轻松地重用和维护代码。继续阅读:https: //www.angularjs.org/

AppML-Application Modelling Language

AppML - 应用程序建模语言

  1. Earlier known as Application Markup Language, was similar to HTML/XML, but was abandoned by its creators in 2007(Source: https://fr.wikipedia.org/wiki/Appml) It is now developed and maintained by w3schools.com

  2. It is not so famous though and not much information is available on the Internet. Don't know of any sites which even use it!

  1. 早先被称为应用标记语言,类似于 HTML/XML,但在 2007 年被其创建者抛弃(来源:https: //fr.wikipedia.org/wiki/Appml) 现在由 w3schools.com 开发和维护

  2. 虽然它不是那么有名,而且互联网上的信息也不多。不知道有哪些网站甚至使用它!

回答by EJoshuaS - Reinstate Monica

As far as I can tell, AppML is one step above abandonware. Its original developers basically gave it up, and W3Schools took it over in February 2015.

据我所知,AppML 比废弃软件高出一步。它的原始开发人员基本放弃了它,W3Schools 在 2015 年 2 月接手了它。

At this point (2/23/2017), searching for "AppML tutorial" in Google gives 43,000 results, but searching for "AngularJS tutorial" gives 848,000 results. This should give you some idea of the availability of support and documentation you can expect. AppML doesn't even have an English-language Wikipedia entry.

此时(2017 年 2 月 23 日),在 Google 中搜索“AppML 教程”给出了 43,000 个结果,但搜索“AngularJS 教程”给出了 848,000 个结果。这应该让您了解可以期待的支持和文档的可用性。AppML 甚至没有英文维基百科条目。

W3School's historypage claims that it's used in "over 1000" web applications. (I haven't been able to find statistics on how many people are using AngularJS yet, but I assume that it's a lothigher than that).

W3School 的历史页面声称它被用于“超过 1000”个 Web 应用程序。(我一直没能找到很多人们如何使用AngularJS尚未统计,但我认为这是一个很大高于)。

To get back to the original question: in my opinion, AppML has "death spiral" written all over it. I'd recommend sticking with AngularJS.

回到最初的问题:在我看来,AppML 写满了“死亡螺旋”。我建议坚持使用 AngularJS。

回答by AVi

AppML is basicly the template engine part of AngularJS. Angular offers a lot more structures around it. If what you need is a template engine AppML should be just fine.

AppML 基本上是 AngularJS 的模板引擎部分。Angular 提供了更多围绕它的结构。如果您需要的是模板引擎 AppML 应该没问题。