Skip to content

RfTouch sees light

RfTouch is a framework for Sencha Touch 2. As it is right now the project is at it’s very beginning. Currently it offers a ReloadStore, which is a simple addition to the default store, so it can handle reloads. In it self it’s nothing special, just a simplification of a common usage when using ST 2 as part of a native app.


To try it out go to https://github.com/rohdef/rftouch and download the RfTouch folder. Put the folder in your project and adding RfTouch to the loader:


Then you can create your own store, almost like you’d normally create a store, except that you extend RfTouch.data.ReloadStore.



From here on you should just listen to the bailout event, which specifies that the store didn’t get any successful response from the proxy and use the resetReload method if you want to reset the retry count (note that to start with the retry count is 0, so load will also work on the first load, but will not if the bailout handler allows retrying).


Upcomming: RfMap – an Ext.Map that handles connectivity.


Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Warning: Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE' (this will throw an Error in a future version of PHP) in /usr/home/rohdef/www/rohdef.dk/serendipity_config.inc.php on line 179