English 中文(简体)
Node.js & mongo schema, 考察一些内装材料,或许是辅导[闭门]
原标题:node.js & mongo schema, looking for some intro material, maybe tutorials [closed]

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
    }]
}
最佳回答

如果这是你首次建立诺德.js / mongodb服务器,我高度建议你看express.js

总的来说,我找到最好的学习方式之一是研究Gite Hub的样本项目。 仅研究一个样本项目,即:here,该项目似乎利用了大多数最佳做法,应当给你一个关于如何启动的良好想法。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签