Results 1 to 2 of 2

Thread: General Advice

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,422
    Answers
    3901
    Vote Rating
    1271
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •