开发者

JavaScript library/framework for Titanium Mobile

开发者 https://www.devze.com 2023-02-22 07:57 出处:网络
I\'ve just took my first steps in mobile development with Titanium Mobile. Coming from PHP and JavaScript programming for the web, I\'m really missing two things:

I've just took my first steps in mobile development with Titanium Mobile. Coming from PHP and JavaScript programming for the web, I'm really missing two things:

  1. A JavaScript library
  2. A MVC or similar "framework" to effectively separate logic and design

1. I've been googl开发者_如何学编程ing around and cannot seem to find a good answer. I tried taking the parts from MooTools that I wanted, but that didn't really work because, and this is where almost all JS libraries fail, even the core parts require window/navigator/dom, etc. I guess this could be done manually, but that doesn't sound like a future-proof way to go.

Does someone know a good library that bundles some of the most-used functions or, even better, know how to get MooTools core to work in Titanium?

2. Something that simplifies writing nice, structured code for Titanium Mobile. I could do this manually and I've read this question, but I'm looking for something/someone that already found the best way to do this :) and maybe even wrote a bit of code which could be re-used.

Thanks for your suggestions.


Check out Tweetanium, an example project that demonstrates best practices in Titanium including how to stucture your code.

Also be sure to check out this blog post concerning Tweetanium. The author dissects the code and points out some of the advantages of the approach used.

Here is Appcelerator's original blog post on Tweetanium.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号