...
首页> 外文期刊>MSDN Magazine >Azure Mobile Services: A Great Back End for AngularJS
【24h】

Azure Mobile Services: A Great Back End for AngularJS

机译:Azure移动服务:AngularJS的绝佳后端

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

AngularJS is a great framework for building JavaScript applications for both Web and mobile. It's very powerful, but it does come with a bit of a learning curve. To get started, I read blogs and books and watched video courses, which are great for learning client-side features, such as forms, routing and validation. Unfortunately, the client-side topics always seem to overshadow back-end concerns. Most learning resources barely touch on these at all. One course used the Angular $httpBackend service almost exclusively. $httpBackend is a great way to build fakes for testing, but it isn't meant for persisting data for a production application. Another resource used an open source product called deployd, which provides a quick and easy way to get a REST/API back-end server up and running. Deployd is free to download and can run on a development machine or server. It's great for modeling and testing REST APIs. The problem once again is what to do in production. In a production environment, I have to expose a REST/JSON server to the Internet for the AngularJS application to use, but I don't want to be in the business of hosting and managing servers on the Internet. I need to be able to spin up new applications fast and scale up quickly as needed. I need integrated security without a lot of complexity. I need to be able to set up REST/JSON APIs to store the application data. And, I need all of these issues to be easy to learn and integrate with my application. Luckily, in my research I found that Microsoft has already solved these problems. In this article I'll show you how to integrate the Azure Mobile Services back end with an AngularJS front end.
机译:AngularJS是一个伟大的框架,可为Web和移动构建JavaScript应用程序。它非常强大,但是确实有一些学习曲线。首先,我阅读了博客和书籍,并观看了视频课程,这些课程对于学习客户端功能(例如表单,路由和验证)非常有用。不幸的是,客户端主题似乎总是使后端问题蒙上阴影。大多数学习资源几乎都没有涉及到这些。一门课程几乎专门使用了Angular $ httpBackend服务。 $ httpBackend是构建用于测试的伪造品的好方法,但这并不意味着为生产应用程序保留数据。另一个资源使用的是称为deployd的开源产品,该产品提供了一种快速简便的方法来启动和运行REST / API后端服务器。 Deployed可以免费下载,并且可以在开发计算机或服务器上运行。非常适合建模和测试REST API。问题再次出在生产中该做什么。在生产环境中,我必须向Internet公开REST / JSON服务器以供AngularJS应用程序使用,但我不想从事在Internet上托管和管理服务器的事务。我需要能够快速启动新应用程序并根据需要快速扩展。我需要没有很多复杂性的集成安全性。我需要能够设置REST / JSON API来存储应用程序数据。而且,我需要所有这些问题以便易于学习并与我的应用程序集成。幸运的是,在我的研究中,我发现Microsoft已经解决了这些问题。在本文中,我将向您展示如何将Azure移动服务后端与AngularJS前端集成。

著录项

  • 来源
    《MSDN Magazine》 |2015年第8期|44464850-51|共5页
  • 作者

    Jonathan C. Miller;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号