JavaScript Library / Infrastructure for Titanium Mobile

I just took the first steps in developing mobile applications using Titanium Mobile. Based on PHP and JavaScript programming for the web, I really miss two things:

  • Javascript library
  • MVC or similar โ€œstructureโ€ to effectively separate logic and design

1. I searched google and cannot find a good answer. I tried to take the parts from MooTools that I wanted, but it didnโ€™t actually work, because here, almost all JS libraries fail, even the main parts require a window / navigator / dom, etc. I assume that this can be done manually, but this is not like the future path.

Does anyone know a good library that combines some of the most commonly used functions or, better yet, knows how to get the MooTools core working in Titanium?

2. Something that makes it easy to create nice, structured code for Titanium Mobile. I could do it manually, and I read this question , but I'm looking for something / someone who has already found a better way to do this :) and maybe even wrote some code that could be reused.

Thanks for your suggestions.

+4
source share
1 answer

Check out Tweetanium , an example project demonstrating best practices in Titan, including how to structure your code.

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

Here is the original post in Appcelerator in Tweetanium.

+5
source

Source: https://habr.com/ru/post/1346723/


All Articles