4 ms·
Having worked extensively on a project that used something similar (we switched from Titanium Desktop to Mozilla's Chromeless project over the course of the dev
by dylanpyle 15y ago
Having worked extensively on a project that used something similar (we switched from Titanium Desktop to Mozilla's Chromeless project over the course of the dev cycle) as an underlying technology, I see a few things this needs to address. There IS a valuable niche here - Chromeless and Titanium are the only real competitors - and neither are solving it particularly well (though both slightly nicer than Appify as it currently stands).
First: Lower-level APIs. That means I need Javascript hooks into file access, menu bar content, cross-domain requests, camera and microphone, etc etc etc. Without this, no meaningful apps can be created.
Second: Config. Let me specify the startup window parameters (perhaps using a config JSON file included with the app source). Height, width, and position at least. Maybe support for multiple windows?
Third: Support. This one is where Titanium and Chromeless both fall flat on their face. Titanium Desktop is dead; the company has shifted 100% of efforts into an equivalent platform for mobile devices. Things are broken and aren't getting fixed, which makes it unfeasible to use for long-term development. The same applies to Chromeless; I've submitted dealbreaking bugs to the github - things simply Don't Work - and receieved no developer response whatsoever. Again, it seems as if the dev team has lost interest.
I really hope that you're planning on pursuing this as more than a one-off github project, because you have the opportunity to dominate an area of the "app development for web developers" market that NOBODY is currently solving. Best of luck.
*
EDIT: And for all of those who (largely correctly) will claim "desktop is dead, stop pretending it's the web" - you're right. The thing is, the project I was working on found ourselves in an interesting position, and we certainly weren't the only ones. We wanted to build a web app, and knew that the web was the future of our product. However, there was functionality we needed (filesystem access, non-flash microphone access, etc etc) that simply doesn't exist (yet!) on the web. Specifications and standards have been proposed and are being implemented, but we unfortunately can't assume that every potential user has a Chrome nightly build. Distributing an app running in an invisible web environment allowed us to develop the code we would be able to use long-term, while giving us a predictable, highly up-to-date, and extensible (via native hooks thru javascript) access to the local machine.
Also: cocui looks awesome, and worth checking out. My team has since decided to accept our limitations and move to strictly web, but if I was considering a similar project again I would definitely consider it.
- kristiandupont 15y agoI feel that with the popularity of Dropbox and the likes, native apps have the potential to get a small revival. Utilizing DropBox means that the data is "in the cloud" more or less like a web app. From there, it's possible that native performance and access to hardware etc. is a win even if there are other advantages to web apps.
- saurik 15y agoOne of the things that I've done for iOS developers is provide something called "WebCycript": a reasonably seamless way for you to just <script language="text/cycript"> in an HTML document being rendered (in this case, on the lock screen, to allow for easy-to-make lock screen widgets), and then have access to Objective-C APIs (even using Objective-C syntax; cycript.org for some example code; and I now wish I had finished putting up the new fancier website I was working on a few weeks ago ;P). If I supported something like this on desktop systems (along with the other arguably-simpler things, such as the embeddable browser), would that be valuable help for this problem space?
- piranha 15y agoCycript definitely looks very interesting. :) I could just put nice JS api on top of ObjC calls, which makes it just perfect for writing apps. :)
- randall 15y agoI'm currently in this position, but it's more due to an industry (TV) than anything else. If anyone knows how to do a kiosk mode across two monitors so one webpage can control two monitors, I'd love for you to get in touch. :)
- taskstrike 15y agoI am currently using titanium, can you tell me why you chose chromeless?
- dylanpyle 15y agoWe moved away from Titanium when we were pretty explicitly told "development on Titanium Desktop has ceased" - documentation we needed was outddated, and the company is focusing efforts on mobile. Chromeless was new and exciting and seemed like development was going quickly, but has since trailed off as well.