Different project structures for Titanium apps

You must Login before you can answer or comment on any questions.

Hi, What are the different project framwork patterns that can be used to make apps using Titanium. Actually I nned to make a new app. But I am confused to chose a pattern. I know abot MVC structure. But is there any other options considering the performance and memory leaks. Plz suggest... :)

— asked 12 months ago by Raj Mahato
0 Comments

1 Answer

Accepted Answer

Hi Raju

Ill answer here as well..

At the moment there is mainly the MVC pattern being thrown around. This can be followed up by Appc releasing the Alloy MVC framework for Titanium. Its available on github Here ...

I have also released an initial project structure TiCustomMenu here ... which again uses a more loose MVC pattern.

But you can apply quite a few patterns as you require and a good resource is JavaScript Patterns Book

Following best practices, good coding standards for both JavaScript and Titanium will minimise any extra memory usage.

But it does depend on the Application you are writing, the platform you are targeting and your preferred method of coding.

Hope this helps

T...

Your Answer

Think you can help? Login to answer this question!