哪里可以了解服务器环境中的javascript + async? [英] where to learn about javascript + async in a server environment?

查看:73
本文介绍了哪里可以了解服务器环境中的javascript + async?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是编写一个将在parse.com云上运行的脚本( https://parse.com/docs/ cloud_code_guide [ ^ ])并根据需要更新解析数据库基于第三方来源(另一个需要监控的网站)。 parse.com支持的唯一语言是javascript - 我不熟悉的东西。更复杂的是,许多调用本质上是异步的。



有谁知道我可以从哪里学到关于服务器环境的异步javascript的好材料?



我发现的所有教程中的一个问题是,他们认为我在网络浏览器中工作。这本身不是问题;问题是他们都认为我对HTML和CSS有很好的把握。我没有,也没有时间去学习与我的工作无关的东西。



例如,有一点,我遇到了全局变量和一个建议是用窗口来定义它们。像var window.x = 3之类的。但是在解析云中,窗口甚至不存在!



所以...请帮忙吗?



-chronodekar

I've been tasked to write a script which will run on the parse.com cloud ( https://parse.com/docs/cloud_code_guide[^] ) and update the parse-database as needed based on a 3rd party source (another website, that needs to be monitored). The only language supported on parse.com is javascript - something I'm not familiar with. To compound matters, a lot of the calls are asynchronous in nature.

Does anyone know any good material from where I can learn about asynchronous javascript for a server environment?

An issue I have with all the tutorials I've found, is that they assume that I'm working in a web-browser. That by itself is not an issue; the problem is that they all assume I have a good grasp of HTML and CSS. I don't and can't spare the time to study something irrelevant to my work.

For example, at one point, I was having issues with global variables and a suggestion was to define them all with "window". Like "var window.x = 3" or the like. But in the parse cloud, "window" doesn't even exist!

So ... help please?

-chronodekar

推荐答案

参考以下资源。



1. JavaScript指南 [ ^ ]

2. Parse入门 [ ^ ]

3. 使用Parse JavaScript SDK?小心! [ ^ ]

4. 具有离线支持的Parse.com JavaScript应用程序示例 [ ^ ]

5. Parse.com Javascript指南 [ ^ ]
Refer following resources.

1. JavaScript Guide[^]
2. Getting Started with Parse[^]
3. Using the Parse JavaScript SDK? Be Careful![^]
4. Example of a Parse.com JavaScript application with offline support[^]
5. Parse.com Javascript Guide[^]


这篇关于哪里可以了解服务器环境中的javascript + async?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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