Unanswered: Can you help outline a general MVC approach to a simple app?
Unanswered: Can you help outline a general MVC approach to a simple app?
I'm new to Sencha, but I thought I'd learn it by creating the following simple "tips and tricks" app. Here's a description of what I'm looking to accomplish:
The app is basically a collection of 100 or so short tips or tricks, some of which include png files.
I would like the content to be available offline in a phonegap or webworks packaged hybrid native app.
The main view ought to allow users to navigate through the 100 or so short tips or tricks by category, tag, and new (as in not previously viewed).
The tip view involves "next or previous" navigation and a view of the content.
I'd need to be able to easily and efficiently update the existing short tips and tricks and add new ones.
Basically, what's preventing me from getting started with the learning process is the data storage. What's the easiest and best way to go about a project like this given that users will not be adding tips and tricks and all I'm really trying to create is a very simple navigable collection of content, which I can update via app stores in a Sencha hybrid app?
I haven't done this but think a local JSON store would work for the 100 tips data. You also say you want a way to update tips but for the app to also run offline. If you want to update tips by doing an app store update that makes it easier.
For you next/back a navigation view would be good. You might have to address performance problems as you keep pushing views onto it - maybe be keeping only XX previous views. A Carousel might be better if you can only keep 3 views at a time.