View Full Version : Philly Tech Week mobile site from Jarv.us

25 Apr 2011, 3:41 PM
- Week-long events schedule filterable by day of the week
- Bookmarked events on main screen saved via localStorage
- News feed (RSS proxied through a PHP script that makes summary and full article JSON requests available)
- Twitter feed

You can use the app here:

Unminified sources here:

We were able to improve Android scroll & animation performance greatly over our last Sencha Touch app by abandoning TabPanel for the main viewport, and instead just using a card layout with a docked TabBar that creates and destroys the current card on-the-fly. I'm wondering if there's any option to do this built into TabPanel already that I missed? Maybe it would be better to use a TabPanel and just destroy each card's children instead?

If you have any code / usability critiques, please share!

26 Apr 2011, 6:06 AM
nice work ;)

20 May 2011, 1:59 AM
Is there an easy way to get the source? Or is that not permitted?

20 May 2011, 2:39 AM
I have been looking at the non-minified code. I'm really interested in how to get the twitter feed search the tweets for one specific user only. I'm trying to put the from_user in the right place, but it keeps on breaking the app. Some help would be really great!

20 May 2011, 5:53 PM
nourapps - you could just plug the user search into the query parameter using Twitter's from: operator

In my code, you'd need to set searchQuery: 'from:wearejarvus' in the TwitterFeed class.

So you are generating an API call like: http://search.twitter.com/search.json?q=from%3Awearejarvus

21 May 2011, 3:08 AM
Thanks allot!
It seems to work with most accounts, but not with some accounts (i've tested with accounts based in the netherlands).

For example when I use the operator on this page:

The twitter website shows the results as you would expect. Also the json seems to contain the same data, but the app doesn't seem to load them somehow..

26 Jun 2011, 7:35 PM
The issues you've encountered are likely just a result of Twitter throttling how far back their API searches. They seem to have been doing this a lot lately...probably in response to their servers handling load poorly...

8 Sep 2011, 11:25 PM
How many controllers Sencha touch app needs?
Thank you.