Is it currently possible to write desktop applications using javascript, html, css?
Possible solutions:
Use Adobe AIR runtime and program in js. But no, if I'm using AIR, the AS3 suites it the most. So not a good option.
GWT: No because it uses Java and then convert it to js or what ever.
Pyjamas: Interesting. But I'm currently focusing on JavaScript. So I don't want to use python and cross-compile to js.
Run a local server and use the browser in full screen mode. Sort of okay, but still its the same browser thing. And difficult to distribute.
So what is the best option? I'm excited about node.js which is the main reason for looking into JavaScript. Otherwise I would have choose python.
Asked
Active
Viewed 4,832 times
4
-
2there's also Appcelarator Titanium (appcelertor.com). – Javier Jan 13 '11 at 12:15
-
@Javier Appcelerator Titanium seems to be the best choice. Wow! It seems to do html 5 stuffs + mac, windows, linux, iPhone, Android and most other devices. Great one. Btw you could post in as an answer instead of a comment. – Jan 13 '11 at 12:25
-
3My first thought on reading the question title: "Can" and "should" are two very different things. :-) – BlairHippo Jan 13 '11 at 14:34
-
@BlairHippo Oh! That makes my mind restless. So is there any reason I shouldn't? – Jan 14 '11 at 03:59
-
1Nah, no good reason. Just a knee-jerk reaction to some old prejudices about JavaScript. Based on the answers here, it looks like there are some interesting options if you want to take it beyond the web-client-side scripting tasks it was originally designed for. – BlairHippo Jan 14 '11 at 15:27
-
@BlairHippo Yes. I'm currently looking into appcelerator titanium. It really rivals Adobe AIR. I like the openness of javascript. – Jan 17 '11 at 03:47
3 Answers
7
HTML 5 gives you everything that you need to build an application that runs in the browser but without access to any live network resources. That's effectively a desktop application, and it it all JavaScript.

Adam Crossland
- 9,688
- 2
- 35
- 46
-
Interesting. So I don't have to use appcelerator then? Just code in straight html5, js and css3. Nice. – Jan 14 '11 at 03:54
1
Yes
I can and have used Appcelerator for doing both cross platform applications built in JavaScript / HTML and mobile applications built in JavaScript.
The documentation may be a bit weak in some areas, but it's a solid platform for developing.

Josh K
- 23,019
- 10
- 65
- 100
0
Maybe Mozilla Prism is what you are looking for?
Prism is an application that lets users split web applications out of their browser and run them directly on their desktop.

Matthieu
- 4,559
- 2
- 35
- 37

user281377
- 28,352
- 5
- 75
- 130
-
1Be careful with it. I jumped on this wagon two years ago, when the final release was supposedly a couple of months away. It's still in beta, and not much is going on in the project. – Mchl Jan 13 '11 at 13:33