Results 1 to 5 of 5

Thread: Client-Side Validation?

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,949

    Client-Side Validation?

    Will the web client have client-side validation, or will everything have to go back to the server?

    tia,

    Hank

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,771
    Validation can be as simple as a an expression but it can also be an app specific function which requires it to do a round trip to the server to execute Recital/VFP code. JavaScript being the "language" of the browser, it is recommended that if you are building "web targeted" Apps you should code all your client-side logic in that as this is executed in the context of the browser. Lianja Web Client maintains cursor context so it knows the contents of the "Active Record" and you have access to all of the fields in form sections and grids.

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,771
    The "Mobile Client" on the other hand will have the full Recital/VFP scripting engine embedded in it so this is all done locally.

  4. #4
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,949
    Well, someday we'll have a HTML5 Sandbox and the JIT can live in there just like mobile. Until then, there's BlueStacks (once Lianja has the Android client): my guess is that for cloud apps, it will be cheaper to use BlueStacks than to keep the app pushing stuff back and forth, not to mention have 2 codebases.

  5. #5
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,268
    We have the vfp scripting engine that could be in the browser native but it will definitely not be in v1. It is a JavaScript implementation of vfp. For future consideration.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us