News for hackers. Stuff that matters.
Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by dylanpyle on Monday December 05, 2011 @02:59PM (#3316201)
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.

Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by saurik on Monday December 05, 2011 @05:37PM (#3316859)
One 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?
Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by piranha on Tuesday December 06, 2011 @03:11AM (#3318503)
Cycript definitely looks very interesting. :) I could just put nice JS api on top of ObjC calls, which makes it just perfect for writing apps. :)
Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by kristiandupont on Monday December 05, 2011 @05:14PM (#3316760)
I 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.
Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by randall on Monday December 05, 2011 @06:28PM (#3317024)
I'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. :)

Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by taskstrike on Monday December 05, 2011 @07:07PM (#3317145)
I am currently using titanium, can you tell me why you chose chromeless?
Re:Appify-UI - Create the simplest possible Mac OS X apps, u... by dylanpyle on Tuesday December 06, 2011 @12:26PM (#3320007)
We 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.