Question

I am starting to code an app in titanium. First I thought, when I saw some alloy xml tags, that it would be dead easy to write a small app.

but now, I am really stuck not knowing how to start at all. I have two killing questions in my head

Can I write an app ONLY using Alloy XML Framework or do i need to createSomeTag() always?

and

Why is there Alloy XML's there if there is possibility to create elements without xml - and vice versa.

I am totally new in this development philosophy

Was it helpful?

Solution

Can I write an app ONLY using Alloy XML Framework or do I need to createSomeTag() always?

Answer : Yes, you can write an app ONLY using Alloy Framework.

Check this link : Alloy Framework documentation

What do you mean by "do I need to createSomeTag() always" ?

Why is there Alloy XML's there if there is possibility to create elements without xml - and vice versa.

Answer : Alloy utilizes the model-view-controller (MVC) paradigm, which separates the application into three different components:

  • Models provide the business logic, containing the rules, data and state of the application.
  • Views provide the GUI components to the user, either presenting data or allowing the user to interact with the model data.
  • Controllers provide the glue between the model and view components in the form of application logic.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top