Hybrid View

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    ollie10123 is on a distinguished road

      0  

    Default Unanswered: General Advice

    Unanswered: General Advice


    Hi all,

    Hoping someone to help with some advice about a project i want to embark on.

    I want to create an app which can be packaged for the various app stores. The app will be real basic in stage 1 and pretty much provide information, images, links etc.

    I have a page on my websitesite which displays latest stories/articles. Being that the site is database driven (PHP/MySQL), i want to know what is the best way of retrieving this data to display on the app?

    I have read we cant connect to databases directly so am i best to use YQL or similar to fetch this data?

    Im pretty new to Sencha so curious on what the best way to do this?

    Ideally, i would like the News page on the app to display a list of stories (Say 10 at a time) which include a thumb, title and short description. When clicked it would then go to a full detail page.

    I can format my webpage to match what ever we need if necessary.

    I did send some time tinkering with YQL and have managed to parse the data from the page, but i have no idea about, paginating/loading, memory issues, etc..

    If anyone can help, it would be greatly appreciated.

    Thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You can use your own PHP on your remote server to retrieve data and return it as JSON to the app.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread