Livetanium
We're proud to announce our latest experiment - Livetanium - realtime prototyping for Titanium Mobile.
Made out of titanium, nodejs and unicorns, our Livetanium library lets you code Titanium Mobile apps and see changes in realtime. It uses a nodejs server to pipe filechanges to the app, and these changes are applied in realtime. It's iPhone only at the moment, but works in both the simulator and on the actual device. You can see a quick walkthrough here or check out the source.
Please try it out and let us know what you think!
17 comments
@Fredrik You were asking if Livetanium lets you create an app and install it on your client's device to let them see code changes in realtime. At this time, the answer is unfortunately no.
You could of course run the nodejs server on an online server to let it serve any device in the world. But since the Resources directory of the device is non-writable and we can't easily redirect Ti.include, Ti.open and the lot to our downloaded files, I can't see how to achieve this at the moment.
However, I'll get in touch with the Appcelerator guys to see if we can figure out a way of allowing such over-the-air live updates - that would be incredibly awesome!
Good job on Livetanium btw.. :)
Off topic, your blog is awesome! I learned a lot from it, especially how powerful YQL is :)
Sorry, I thought I hade replied there, but must have missed it. At this moment, you have to use the K variable since it's doing some magic behind the scenes, like parsing JSS files and applying styles and caching elements. If you have some legacy code, but would still want to test livetanium, you could probably overwrite the Ti.UI.create* functions with the K.create* equivalents - not the cleanest thing to do, but it shouldn't break anything since we're returning basic Ti.UI-elements, albeit augmented with new functions and run through our element factories. Did that make any sense?
Also, huge thanks :) Your encouragement is critical for us to keep the steam up!
K.watch("127.0.0.1", 8128, win);
My goal is to be able update every view under the app.js parent window. So, in your example changing encodeImage/demo.js should also be reloaded, but it is not. It would also be nice to be able make changes to app.js on the fly as well. Is it possible?
Also, what is the use of function forceLoad(){Ti.UI.createActivityIndicator();....
Regards,
Oleg
Didi you guys stopped development on this ? I've just forked it on GitHub but the project didn't get any code check-in since December...
Also, Is it working for iPad ? Did you guys predicted Titanium 1.6 ?
I'm really excited with this... Livetanium + Textmate really makes my day nicer !
Anyway, congratulations for this great software!
Keep up the amazing work!
