本文介绍了是Angularjs客户方或Serverside集团或Both的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果服务器端:我们如何能连接到数据库

If server side: how can we connect to the database?

我是用它在客户端,但它也可以使用服务器端?

I was using it in client side, but can it also be used server side?

如果它不能用于服务器端,我应该使用PHP或的NodeJS(我需要设计一个网站,有一个巨大的数据带宽)?

If it cannot be used server side should I use php or nodejs (I need to design a website which has a huge data bandwidth)?

推荐答案

这是纯粹的客户端。

如果服务器端如何才能连接到数据库。

您既可以使用一个客户端数据库,或者你使用适当的协议(通常这会通过Ajax进行访问的Web服务)从服务器中的数据。

You either use a client side database or you get the data from the server using an appropriate protocol (typically this would be a web service accessed via Ajax).

如果不是在服务器端哪一个更好PHP或..的NodeJS(我需要设计一个网站,使用大量数据和带宽..)使用

更好没有大量的度量的要求是非常主观。

"Better" without lots of measurable requirements is highly subjective.

这篇关于是Angularjs客户方或Serverside集团或Both的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 14:25
查看更多