Hey Im在开办阶段工作,I ve开始使用Node建立一个简单的数据库。 Js and Mongo (front end is HTML5/webGL). 基本上,我们赶走了一些投资者,但是在我们拉开触发点之前,我要向他们展示一些服务器的互动。 我确实是图形设计/业务方面,我的伙伴是技术方面,但由于我们只剩下月球时间有限,我需要回头。 最后24小时,我先看诺德。 联合材料和Mongo进行了几次辅导,我基本上需要将其召集起来,制定计划,并实际开始建立我的数据库(如果术语不准确,我就不这样做)。
I m looking for some resources/intro/tutorials/direction on this part and I was wondering if you guys have some suggestions, links, youtube, whatever. Any help is appreciated. Thanks.
这基本上是我努力做到的(或许可以帮助):
客户——>服务器
{
"request": "listProjectsQuery",
"uuid": "fdsldkjfaldjshf"
}
服务器——>用户
{
"request": "listProjectsResponse",
"projects": [
"projID001",
"projID001",
"projID001",
"projID001"
]
}
客户——>服务器
{
"request": "projectQuery",
"uuid": "123oiu4y1o23iuy4",
"projectID": "projID001"
}
服务器和带;-
{
"request": "projectData",
"uuid": "123oiu4y1o23iuy4",
"projectID": "projID001",
"name": "projName",
"bricks": [{
"xPos": 123,
"yPos": 123,
"width": 123,
"height": 123,
"brickName": "soundCloud",
"url": "http://www.purple.com",
"zPos":1
},
{
"xPos": 123,
"yPos": 123,
"width": 123,
"height": 123,
"brickName": "soundCloud",
"url": "http://www.purple.com",
"zPos":0
}]
}