Hi,
I'm starting a rather complex web application using Sencha Touch and having a hard time understanding how namespaces work across multiple class files. Let me start by briefly outlining the application tree :
I purposely left out the lib and resources folders as they aren't relevant to the current problem. Now inside my app.js there is a simple launch function which instantiates the Viewport. Inside the Viewport I can use the app.views namespace freely, I can add classes to that namespace etc. I can also use the app.views namespace anywhere in my other files inside the "medecins" folder. All this is good and working great.
Now my problem is that I want classes inside the "medecins" folder to be under the app.views.medecins namespace (not simply app.views). How do I do that ? And how do I reference them in other files ? Is there something like a "use" statement ? I tried all kinds of things but just came to the conclusion that I'm lacking some knowledge regarding namespaces in Sencha Touch.
Any help would be appreciated. Thanks
