Some records for developing Clover desktop client using Node-webkit (i)

Source: Internet
Author: User

First of all, say clover.

This is an OA product, is our company to form our technology department since the most important job-the development of enterprise internal use management system. " Clover "This is the name of our boss, take apart to see is" C "+" Lover ". Lover "All know is what, and this" C ", is actually" code ", because our boss is a (fanatical) coding enthusiasts (Khan ...), proficient in many languages, so the vague to put their own interests into the project name, even our test server address, also changed to" joycode.cn "(The heat is visible ...).

The development of "Clover" is both front and back. PHP in the background, technical aspects will not say, mainly said that I am responsible for the front-end development. Here, we have 6 people in technical department, boss (Colombia), product, design, backstage (Uncle Nai), Front (me), test, one, are independently good children (male and female 1:1, write code are boys, do not write code are girls) ... The boss focuses on product and background development, the requirements for my front end is to use the Avalon Framework for the WebKit kernel (mainly chrome and client). These two are JS requirements, recently also mention the page part of the requirements, that is, to organize the writing of things, improve the speed of page production, Get a scss frame and break the heart of my place.

The appearance of the client, in fact, stems from the final (high) boss of the sentence: "Let me can see on the page, but also on the desktop there is an application can be opened to see." And then, (omitting a bunch of process in the middle), the boss chose Node-webkit this magical thing ( Compatible with both Windows and Mac systems) and let me break the heart of the ground.

Node-webkit

Look at the name to know, Nodejs+webkit kernel, the bottom is C + + implementation, the equivalent of a full-featured browser, but you can use JS control the entire browser properties, so set the properties, write page, you can use it as a desktop application needs.

First, the project address (National People's Congress): https://github.com/rogerwang/node-webkit/, download EXE can be used.

Then is my study reference information (oh! God, is Chinese): http://www.cnblogs.com/xuanhun/p/3653816.html, thank Daniel Xuan Soul!

Then is the official document: Https://github.com/rogerwang/node-webkit/wiki, although English, but wins in the comprehensive.

Finally, grunt Packaging tool: Http://groups.google.com/group/node-webkit (requires FQ), a command to generate two versions of Windows and Mac.

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.