1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    32
    Vote Rating
    0
    flyingmachete is on a distinguished road

      0  

    Default Public Tube: - London Undeground

    Public Tube: - London Undeground


    Hi All,

    This is my first Sencha Touch web app, Public Tube: -

    photo.png

    http://bit.ly/ed03G8


    A simple web app which displays the London Underground live tube status, predicted weekend status and a tubemap.

    I've only been learning Sencha Touch for about a week, so apologies for any sloppy javascript in there (Just using a crappy URL refresh for testing, as I need to learn how to reload the JSONP scripts in a component, which is in a TabPanel )

    Hope you like it,
    Attached Images
    Last edited by flyingmachete; 26 Jan 2011 at 5:57 PM. Reason: update

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Hi flyingmachete, this is a simple good start .
    Keep it up and your application will grow always better
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  3. #3
    Ext User
    Join Date
    Dec 2007
    Posts
    18
    Vote Rating
    0
    rproudman is on a distinguished road

      0  

    Default


    Looks great.

    Now if the tube posted data to show the trains on the map ... that'd be sweet.

  4. #4
    Sencha User
    Join Date
    Sep 2010
    Posts
    32
    Vote Rating
    0
    flyingmachete is on a distinguished road

      0  

    Default


    Thanks for all the comments!

    @rproudman
    That is a very neat idea, make a svg of the tube map or an imagemap maybe? One to think about anyway

    Right now, parsing the train departure boards, station and line feed data from TFL (which btw are a complete mess) and then add them to the web app

  5. #5
    Sencha User
    Join Date
    Sep 2010
    Posts
    32
    Vote Rating
    0
    flyingmachete is on a distinguished road

      0  

    Default


    Hi All,

    Just updated the web app: -

    http://bit.ly/ed03G8

    Layout changes and introduced live departure boards (basic but functional at the moment).
    Next step will be to give detailed departure for specific station on a tube line, which will require some thought about how to implement it.


    Cheers and hope you like it
    Last edited by flyingmachete; 27 Jan 2011 at 4:01 AM. Reason: typos

  6. #6
    Ext User
    Join Date
    Dec 2007
    Posts
    18
    Vote Rating
    0
    rproudman is on a distinguished road

      0  

    Default


    Looks great. I'm not in London right now but have lived / consulted there in the past - and this will eventually be a great app to have as there's nothing worse the running to the station to find out a line's backed up - or broken.

  7. #7
    Sencha User
    Join Date
    Sep 2010
    Posts
    32
    Vote Rating
    0
    flyingmachete is on a distinguished road

      0  

    Default Updates

    Updates


    Hi All,

    I've just updated - the user can now search for train information at a specific station.

    Version 1.95 - Detailed Train prediction

    http://bit.ly/ed03G8


    Version 1.75 - Summary Train prediction

    http://bit.ly/gYLSFZ


    Will better implement the form validation, try to add zooming on the tubemap and then will call it a day on this web app!

    Enjoy!

  8. #8
    Ext User
    Join Date
    Jan 2011
    Posts
    6
    Vote Rating
    0
    cydia is on a distinguished road

      0  

    Default


    fantastic job :-)

    how do you retrieve the data?

    cydia

  9. #9
    Sencha User
    Join Date
    Sep 2010
    Posts
    32
    Vote Rating
    0
    flyingmachete is on a distinguished road

      0  

    Default


    Follow the link to the site below: -

    http://www.tfl.gov.uk/businessandpar...ion/16492.aspx

    Select the feed data that you want and fill out the form, TFL will review your application and respond within 48 hours.

    N.B. The feed data is sent back in XML, so you might want to convert to JSON (what I do is use cURL to get the feed data, then simpleXML and then json encode it, all via php

    Hope that helps?

  10. #10
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    bluefox617 is on a distinguished road

      0  

    Default nice work!

    nice work!


    nice work!

    Could we have your scripts for study, please?!

Similar Threads

  1. Replies: 10
    Last Post: 20 Jan 2012, 10:10 AM
  2. running Sencha Touch Web Application as local app on jailborken iPhone
    By openthesky7 in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 26 Feb 2011, 1:13 AM
  3. Looking for a Sencha Touch Developer to create an awesome web app!
    By WeFeast in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 7 Nov 2010, 12:10 AM
  4. JsonStore public event load in Sencha Touch?
    By cabennett85 in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 5 Aug 2010, 4:53 PM
  5. Turning Sencha Touch-based app into a true native iPhone app?
    By inapp in forum Sencha Touch 1.x: Discussion
    Replies: 7
    Last Post: 21 Jul 2010, 5:59 PM

Thread Participants: 4