您可以使用AngularJS与Parse.com? [英] Can you use AngularJS with Parse.com?

查看:153
本文介绍了您可以使用AngularJS与Parse.com?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的PhoneGap开发和放大器;我想挑一个框架来使用。我想使用AngularJS,因为我已经读到它的好东西,但我想它与Parse.com作为后端工作。我注意到一个Parse.com他们不指定任何兼容角,他们所有的文档和Javascript API需要骨干。

I am new to phonegap development & I am trying to pick a framework to use. I'd like to use AngularJS as I've read good things about it, but I'd like it to work with Parse.com as a backend. I noticed that one Parse.com they don't specify any compatibility with Angular, and all their documentation and Javascript API requires Backbone.

我知道AngularJS支持HTTP,这样我就可以使用REST API解析通信。但是,这最终将会成为一个烂摊子&安培;我要拯救自己的时间和放大器;压力,如果我使用骨干与Parse.com Javascript API第呢?

I know AngularJS supports http, so I can communicate with Parse using the REST API. But is this going to end up being a mess & will I save myself time & stress if I use Backbone with the Parse.com Javascript API instead?

推荐答案

我还没有工作的解析,但我相信,只要有一个REST API提供AngularJS可以Parse.com很好的集成。这些链接证实这一事实。

I have not worked on Parse, but I believe as long there is a REST API available AngularJS can very well integrate with Parse.com. These links substantiate that fact

<一个href=\"https://parse.com/questions/does-any-know-of-any-angularjs-sites-that-are-built-with-parse-that-are-open-source\">https://parse.com/questions/does-any-know-of-any-angularjs-sites-that-are-built-with-parse-that-are-open-source

<一个href=\"http://brandid.github.io/parse-angular-demo/#/\">http://brandid.github.io/parse-angular-demo/#/

说,AngularJS是一个陡峭的学习曲线一个非常有能力的框架。简单的东西很简单,但一个人需要把上下的人的头,并开始学习不是那么简单的东西,如指令一旦一个人开始构建任何像样的规模应用。你在学习AngularJS投资越多,更有价值就越大。

Said that, AngularJS is a very capable framework with a steep learning curve. The simple stuff is simple but one needs to put ones head down and start learning the not so simple stuff like directives once one starts building any decent size application. The more you invest in learning AngularJS the more rewarding it becomes.

它在视野和code而言非常清晰的分离。在code为进一步组织成模块,工厂,服务,控制器,指令,过滤器等。

It has a very clean separation in terms of view and code. The code is further organized into modules, factories, services, controllers, directive, filters etc.

但仍然没有阻止你创建与实施一个烂摊子:)如果你创建AngularJS内乱七八糟什么我已经意识到了时间,甚至影响是局部的,而不是影响整个应用程序,由于角度的模块化特性。

But still nothing stops you from creating a mess with the implementation :) What I have realized over the time is even if you create mess within AngularJS the effects are localized rather than affecting the complete application, due to the modular nature of Angular.

我建议你尝试创建或AngularJS看一些样品(如 TodoMVC

I suggest you try creating or looking at some samples with AngularJS (such as TodoMVC)

<一个href=\"http://www.bennadel.com/blog/2439-My-Experience-With-AngularJS-The-Super-heroic-JavaScript-MVW-Framework.htm\">This是我的感受学习贯彻AngularJS解决方案

This is how i felt learning and implementing AngularJS solutions

这篇关于您可以使用AngularJS与Parse.com?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆