– Fantasy Stat Tracker …Tracker

A blog about the development of – The Fantasy Baseball Stat Tracker

Posts Tagged ‘iphone’

iPhone Optimized Mobile

Tuesday, June 16th, 2009

Finally, after months of development (also known as “inactivity”), now has a mobile-optimized verion:! Currently Mobile only allows for tracking of stats–no account or team management. With a very simple interface you can log-in, view your dashboard–complete with summary stats for all teams, and track the stats of all your fantasy teams and players.

I currently only have an iPhone, so that is what the site is optimized for. If you have a Pre, Blackberry, or Android phone I would appreciate any feedback and screenshots you can send me of how the site is rendering and performing.

The interface is still undergoing some tweaking, but it is very minor and should not impact the current functionality. After I get a feel for how the mobile version of is performing, I’ll start to plan out the addition of more functionality. I’m not sure if the mobile site will ever be feature-complete, but I expect it will be moving in that direction.

Luckily the object-oriented architecture of made the mobile site painless to implement. I would guess it’s been less than 8 hours in development and most of that time has gone into fine-tuning the interface. Hopefully future additional functionality will be as simple to add!

Two Days of Updates

Thursday, April 2nd, 2009

I quit working too late last night to post about the updates, so I’ll cover a couple days’ work now.

The biggest visible change was an update to the top site navigation. Previously, after logging-in, if you visited the home page or Tracker blog, there was no way to return to the system without logging-in again. Obviously, that was inconvenient. The home page and blog now both recognize an authenticated session and will display a new navigation link (that exists throughout the site now) to visit the Dashboard. This will get you back “into” without needing to log-in again.

The other big functional change is on the Add Player page. After receiving a report that adding a player was causing an alert in Firefox, I dug in to see what was happening. Unfortunately the alert was simply a slow script notice, not an actual error. What I ultimately determined was that the cumulative stat bubbles that I added the other day were causing an odd JQuery loop when the page is unloaded. Rather than trying to dig into JQuery to see what the problem was, I determined it could be alleviated by reducing the number of instances of the stat bubbles on the page. So the Add Player page now features pagination! Search results will be displayed 50 at a time with pagination links at the bottom of the page. This leads to quicker load times of the page, as well, so it seems like an improvement all-round.

Complicating the new Add Player pagination is the position filter. That filter literally filters down the players shown on the page, based on position.  All it really does is turn off the display of players that don’t match the filter. So, previously, changing the filter to a specific position would cause a display of all players at that position. Now, changing the filter will only show the players among the currently displayed 50 that match. This seems confusing to me, so I think I will need to re-write how it works.

On a non-visible vein, I’ve incorporated the functionality to allow Users to view other Users’ teams. This is a precursor to the social-stat-tracking concept I’ve been discussing. There is no interface to share your teams with other Users yet–the relationship has to be manually set in the database. There is a new relationship type, though. Originally a team only had one User related to it: the Owner who had total control to do anything with the team they wished. Now there is a Viewer User type. This User type can only view the team. They cannot change the team name, delete the team, add players, remove players, bench players, or change the team’s stats. I’m hoping to waste a good chunk of time this weekend working on social-stat-tracking. With a lot of luck, I’ll have something working by opening day.

On a reality-strikes front: the iPhone web app won’t be ready for opening day. Once life settles down a bit, I’ll try to get back to it later this Spring or Summer.

iPhone Progress

Tuesday, February 17th, 2009

Today has seen substantial progress on the iPhone web app version of It now allows Users to log-in, create teams, and access a Team page. As of right now, no information other than the team name is displayed on the Team page, but it’s progress. So far I’ve had to duplicate most of the log-in and user session authentication files, but both apps are sharing the same objects for teams and players.  It’s not where I would like to be, but it’s better than nothing.

I started work on an icon set for the button navigation of the mobile site. It is further evidence that I’m not a designer, but all things considered, I’m pretty pleased with them so far.

A few days ago I implemented the Dashboard discussed in the previous post. It still doesn’t do anything but provide access to all of a User’s team pages.

iPhone & Dashboard

Monday, February 9th, 2009

I didn’t get around to posting over the weekend but, nonetheless, a fair amount got done. My first project was developing an iPhone web app interface for After experimenting with a few pre-packaged libraries to handle iPhone display and behavior I ultimately decided to stay true to the environment and not hijack controls. As such, i’m building a completely custom interface. I hope it will be as easy to use as a native app and visually cohesive, but it’ll be all homegrown.

So far I have developed the page template and created a sitemap/flow for the app. I’m struggling with the question of how much functionality should be exposed through the mobile interface. My initial reaction was to pile everything in. The more I consider it, I think some functions–like changing passwords and emails–might not be relevant for a mobile app. I believe the core purpose of is to track a team’s fantasy stats. As such, the ability to create a team, add/remove/bench a player, and view stats will be the priorities.

The second activity of the weekend was starting work on a User Dashboard. Currently, upon logging in to you are presented with either your team’s stats (if you only have one team) or a drop-down list to select which team to view. The former is good; the later isn’t. The Dashboard will provide the same ability to click through to one of your teams’ stats but also provide some other summary information. I’m still in the process of determining what that other info is, but it will probably be some team stats and maybe some “outstanding performers”. Time will tell on that one.

At present, nothing I’ve described is hooked up in the site yet. I’ll post more details when any of it is.