Jump to content

zilav

uniGUI Subscriber
  • Posts

    573
  • Joined

  • Last visited

  • Days Won

    44

Posts posted by zilav

  1. - How many clients are using (total and concurrent)

    - Uptime (does it need constant restarts?)

    - What kind of project

    - Isapi, Standalone or service

    - what database are you using and component for connection (ado, dbexpress)

    - dunno, up to 100 concurrent. I think it can easily handle 1000 or even more, because I don't see any kind of stress on server at all.

    - unless your app leaks memory no restarts are needed

    - usual business CRUD apps

    - isapi on windows server 2003. Frankly speaking, standalone is purely for development, when deploying isapi is THE only real option. You want that security and management ISS provides, and allows combining unigui with other isapi modules (Delphi's WebBroker), html, php, node.js, etc.

    - MSSQL 2008, built-in ADO

    • Upvote 1
  2. they are as important fields so you should not exit them without introducing one correct value, so it refocus itself again.

    That is a very very very BAD behaviour and should be avoided at all costs when designing any UI, especially in web. Have you ever seen such forms on any of major sites? Google? Microsoft? Facebook? Yahoo?... Anywhere? I guess not because it is a blocking design, and you should never block a user inside a field/form/any UI element.

    If you want a server-side validation, do it when user clicks Submit/Save/OK button.

    If you want a sequential validation then disable/hide some input elements until the correct value is given.

  3. Just add a call to ShowControls inside DoValidUser if user is valid, why are they separate?

    And why do you want to show a mask ONLY when user is valid? Just show it before ajaxRequest() and hide inside server event UniSession.AddJS('blablabla.hideMask();')

     

    What you want in your example is possible, but you'll need to craft url and make an ajax call manually which is not good, because Farshad can change url for events in future versions of framework.

  4. Thanks, I see it is simple to generate a XHR call and pass my parameters, but how can I return a plain stream of data from this event?

    Assuming that I caught this event, generated some json from DB, so what do I do to return that json as a plain string back to browser? I know I can AddJS() some code, but this will be eval()'d in javascript which is not good. And also I want to send back not only json, but sometimes a binary data, so eval() will just fail.

    Does UniGUI have a similar function like AddString() or AddStream()?

×
×
  • Create New...