Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing Windows apps with JavaScript

I'm currently in the need of developing a Windows application. I want to keep things simple (in the spirit of uTorrent) and I would like the result program to be a single .exe file containing all that it needs.

The program is simple. It just needs some UI. It needs to run for a long period of time (lay there as a tray icon). It needs to do some routine tasks like simple I/O. It also needs to access the internet, specifically some web server.

Apart from these small requirements I would like to write all of it in JavaScript, as I feel more comfortable with it than any other language.

I know there's things like Windows Script Host that let you run JavaScript programs and interact with some Win32 API, but will I be able to do everything I need with Windows Script Host? Can I pack all of the Windows Script Host in a single .exe?

If not, what alternatives do I have for JavaScript?

like image 318
Luca Matteis Avatar asked Aug 31 '10 14:08

Luca Matteis


People also ask

Can I make a Windows app with JavaScript?

Introduction. Not long ago it was impossible to build a desktop app with JavaScript. Happily, these times are gone, and now JS developers can use their knowledge and web development expertise to create desktop applications with a native feel. As usual, it's easier said than done.

Can we develop application using JavaScript?

JavaScript frameworks are well-suited to mobile app development, as they can be used across a number of platforms, including iOS, Android, and Windows.

Can I make an app with only JavaScript?

There exists a special framework called NativeScript, which was created specifically to enable building native apps for iOS and Android, always based on JavaScript. Moreover, developers can easily integrate it with the programming language TypeScript or the famous JavaScript framework, Angular. js.

Can you build web apps with JavaScript?

JavaScript is a client-side programming language which helps web developer to do Web Application Development and make dynamic and interactive web pages by implementing custom client-side scripts.


1 Answers

Internet Explorer introduced the concept of Hypertext Applications in IE 5. It never made a big breakthrough, so resources and documentation are scarce.

Mozilla-backed competitor Prism seems to be alive and well, though, and is definitely worth a look.

Prism is an application that lets users split web applications out of their browser and run them directly on their desktop

like image 161
Pekka Avatar answered Oct 21 '22 10:10

Pekka