Kilg.us – Fantasy Stat Tracker …Tracker

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

Posts Tagged ‘security’

2010 Updates

Saturday, March 6th, 2010

I’m in the process of implementing a series of updates to Kilg.us for the 2010 season. The biggest noticeable difference will be an entire new look and feel. The new layout will allow for 1, 2, and 3-column pages that should let Kilg.us more efficiently use space.

Other changes in progress include:

  • Integrated log-in/sign-up function
  • User-defined backgrounds
  • More flexibility in the “invite friends” functionality
  • Updated log-in flow
  • Drag-and-drop bench
  • Integration with Zend framework

Among the other items I’m planning to get to before opening day:

  • Add OPS to statistics available for tracking
  • Implement Lucene search for “Find Friends”
  • SSL for log-in flow

If you have other suggestions, please add a comment or drop me a long at admin@kilg.us

I’ll go into more detail about the updated features over the coming weeks. In the mean time, I’m just trying to get things done before the season kicks-off!

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” Kilg.us 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.

2009 is around the corner

Wednesday, January 21st, 2009

With 2009 Spring Training fast approaching, I’ve begun work to improve the Fantasy Baseball Stattracker for the new season. As you’ve probably already noticed, the Stattracker has a name: Kilg.us! There is a brief overview of where the name came from on the site. I’ll likely move that over to the blog eventually.

Besides the name change and subsequent move to Kilg.us, there are a number of back-end upgrades already in place.

  1. The database has been upgraded to a newer version that allows for stronger password encryption.
  2. A new login script has been added that takes advantage of the stronger password encryption so as soon as you log in, your old account will be upgraded with the new encryption.
  3. This blog is now running the latest WorkPress – 2.7. Between the upgrade and the server change there were a few hurdles to overcome, but I think everything is up and running.

Among the front-end changes I anticipate before the 2009 season starts are improvements to the account sign-up process, SSL implementation of the sign-up and log-on processes, and an iPhone-optimized web application. I’d like to build a real iPhone app for Kilg.us, but with no budget I probably won’t try to tackle the $99 iPhone developer fee.

If there are other improvements that would make the site better for you and your friends, please post a comment and I’ll see what I can do.

Here’s to an exciting 2009!

Lots of changes today

Wednesday, May 14th, 2008

There were a number of nice additions to the Fantasy Stat Tracker today. Among them:

  • Change team name – edit the name of a team you have created
  • Delete team – remove a team from your account
  • Linked player names – player names now link to the player’s MLB.com profile page
  • Google Analytics – added GA webstats to the site
  • View Team link – added a link to the “account nav” to link to your team’s stats page (or render a drop-down list if you have multiple teams)

I also moved the “home page” link from the footer up to the “blog nav”. So we now have links to the blog home page and the Fantasy Stat Tracker home page in the top left corner of the page. The addition of the “view team” link and the relocation of the home link already seem to make it a lot easier to navigate the tool. As I mentioned the other day, though, I’ll be continuing to look at the navigation architecture for the site.

Along with the additions mentioned above, I performed a number of minor code enhancements. I worked on better escaping of SQL strings to be sent to the DB and some advancements in auto-redirecting users about the site based on whether or not the user account has a team associated with it (or multiple teams). There is also a check in place now to prevent people from accessing teams’ stats for other peoples’ teams. Previously you could edit the Location bar to change the TeamID that was being passed and see other peoples’ teams. You wouldn’t have been able to make any changes, but you could view the team nonetheless. Now you can’t.

Most noticeably, I re-organized the home page and brought a log-on form directly onto the page. The Fantasy Stat Tracker home page content was re-written slightly to better explain the free nature of this project. Some advertising verbiage was also added to encourage people to sign-up for an account.