Cloud JavaScript roaming Guide (video)

Source: Internet
Author: User

On September 14, July 30, a "cloud-based JavaScript roaming Guide" was introduced at the JavaScript event w3ctech in Guangzhou, essentially a Node. js getting started lecture. It is hoped that through this lecture, front-end engineers familiar with JavaScript will try to use Node. js to develop some applications and explore the possibility of Node. js for Web development.

In this lecture, we mainly used two small demos to explain some basic concepts of Node. js and demonstrate how to deploy your applications on the cloud. You need to use Node. js. At least you need to know the concept of CommonJS Moduleshttp: // wiki.commonjs.org/wiki/Modules. Then you can use the functions implemented by another js file in one js file. This is implemented through the require and exports interfaces. Next, you should also know the concept of CommonJS Packages http://wiki.commonjs.org/wiki/Packages), so that you can reuse the Packages written by others, do not need to develop everything from scratch. Like the popular scripting languages such as Python and Ruby, Node. js also has a wide range of packages. Basically, the basic functions you want can be implemented using packages prepared by others.

With a good product idea, you can build your own applications in the form of building blocks. Because the basic functions are well packaged, you can focus on the application business logic and quickly develop the product. In my lecture, I explained two small applications I wrote for myself, one for storing my catchen. all biz links are redirected to catchen. the other is used to resolve the short address to the original address. I will explain the technical details of these two applications in future articles. Here we will skip this part.

After the product is ready, the last step is deployment. In the past, we had to purchase or lease servers and at least lease virtual hosts. We had to handle OS-level tasks by ourselves. To run Node. js on a bare OS, install and configure a bunch of things. Fortunately, with a cloud solution like Heroku, we can write a Node regardless of what runs on the OS. the js package can be pushed to the target Git library. You do not need to manage all dependencies and configurations on your own.

All of the above lectures can be found on my Githubhttp: // github. catchen. me/), including the slide http://github.catchen.me/nodejs-introduction-slides? Full # Cover) and biz-to-mehttps: // github.com/CatChen/biz-to-me) and traceurl http://traceurl.herokuapp.com. The following is a video of the lecture: Youku

Original article: http://www.cnblogs.com/cathsfz/archive/2011/08/09/2131615.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.