Results 1 to 2 of 2

Thread: guideline: Writing a client for an existing win32 client server application

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    19

    Default guideline: Writing a client for an existing win32 client server application

    I am a client server developer focused on Delphi win32 developement.

    I'd like to ask here for the main points I need to undersand to accomplish my task that is "create a webclient with Sencha Touch for an existing app". I don't expect a full answer, what I am trying to get here is a guideline to find the solution at every question.

    The idea is "server backend is made in Delphi, so I reuse my existing code", SenchaTouch does the rest.

    Even if I am not an expert I can imagine that 4 things must be done:

    1) manage session and security (different users can login at the same time, how do I keep memory of the user in Sencha Touch)?

    2) manage login with https (how to do that)

    3) how to load session-wise data to senchatouch? Which is the best technique?

    4) How to write data from sencha touch to server?

    So what I hope you can tell me is how i can get a little more knowledge in the 4 fields listed above, considering I am a newbie and all I did in sencha touch is running and understanding some easy demos among the ones that ship with sencha touch.

    I hope you can help me with this first step so I can investigate further.

    (I can imagine many developers are in my same condition, so I hope this can be helpful to others too)

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,250

    Default

    As a preface to all these, NEVER TRUST THE CLIENT!

    1) You don't, this would all be managed on the server. Before you do any request, you'd recheck authentication to ensure the user is who they say they are.

    2) Ditto, you'd do an ajax request to the server, the server responds.

    3) Ajax request for simple data. For more complicated data, use stores.

    4) Use the writers in the data package.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Client Vs Server side paging
    By groth in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 5 Apr 2009, 10:03 PM
  2. Moving a string from client to server
    By Chamster in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 18 May 2008, 3:32 PM
  3. Client Server communication
    By MichaelH in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 26 Mar 2007, 3:19 AM

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
  •