noob试图建立“网络服务” [英] noob trying to set up "web service"

查看:93
本文介绍了noob试图建立“网络服务”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

这是我到目前为止所拥有的......



...安装并运行应用程序发明者android模拟器的桌面,

...具有写入和管理权限的外部服务器,

...一个网络域名,

... filezilla连接和写入到服务器。



我希望建立一个类似于无处不在的

股票报价应用程序的网络服务,其中android加载一个股票代码

到某个服务器并从服务器返回当前股票价值。



如你所见,我还没有在服务器上获得了一个数据库,

这是我认为需要指导的地方。



假设下一步是要安装

mySQL还是sqLite来在服务器上安装数据库?



用于读取,编写,编辑,维护的sql,

或服务器数据库上的其他内容?



现在我假设它是为了写一个数据库,和

所以我想知道我是否应该安装sqLite或MySQL。

解决方案

下一步真的取决于你想要什么实现;而且你没有告诉我们太多。如果你需要一个数据库......好吧,你需要它。您对SQL的用途的假设有点天真,但您可以阅读它:

http: //en.wikipedia.org/wiki/SQL [ ^ ],

http://en.wikipedia.org/wiki/Relational_database_management_system [ ^ ],

http://en.wikipedia.org/wiki/Relational_model [ ^ ]。



对于MySQL或SQLite,你基本上是正确的,使用他们在Web开发中非常典型。同样,这一切都取决于你想要达到的目标。您可以查看以下列表:

http://en.wikipedia.org/wiki/List_of_relational_database_management_systems [ ^ ],

http://en.wikipedia.org/wiki/List_of_object_database_management_systems [ ^ ]。



-SA

Hi.
Here's what I have so far...

...a desktop with app inventor android emulator installed and working,
...an external server with writing and admin privilege,
...a web domain name,
...filezilla to connect to and write to the server.

I wish to set up a web service similar to the ubiquitous
"stock quote" app, where the android loads a stock symbol
to some server and is returned a current stock value from the server.

As you can see, I haven't gotten a database on the server yet,
which is where I think I need guidance.

Is it logical to assume that next step is to to install either
mySQL or sqLite to install a database on the server?

Is sql for reading, writing, editing, maintaining,
or whatever on the server database?

For now I am presuming it's for writing a database, and
so I was wondering if I should install sqLite or MySQL.

解决方案

Next step really depends on what you want to achieve; and you did not tell us much about it. If you need a database… well, you need it. You assumptions on what SQL is for are a bit naive, but you can just read about it:
http://en.wikipedia.org/wiki/SQL[^],
http://en.wikipedia.org/wiki/Relational_database_management_system[^],
http://en.wikipedia.org/wiki/Relational_model[^].

As to MySQL or SQLite, you are basically right, using them in Web development is very typical. Again, it all depends on what you want to achieve. You can review these lists:
http://en.wikipedia.org/wiki/List_of_relational_database_management_systems[^],
http://en.wikipedia.org/wiki/List_of_object_database_management_systems[^].

—SA


这篇关于noob试图建立“网络服务”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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