Jump to content

estrify

uniGUI Subscriber
  • Posts

    454
  • Joined

  • Last visited

  • Days Won

    14

Posts posted by estrify

  1. Hi,

    Finally let us change the application so we are trying to upgrade it's UniGUI based-module from v0.89.957 to the lastest version v0.90.976.

    I do not know if what happens is a bug or is that we are missing something (sure is the latter).

    The steps we have taken are:

    • Remove UniGUI from IDE, uninstall UniGUI and remove UniGUI's directory
    • Install v0.90.976 and test the framework instalation by running some demo (everithing seems ok)
    • Open our application and modify its ExtRoot from ext-3.4.0\ to ext.4.1.1a\
    • Copy the directory ext.4.1.1a\  to the directory of the application

    Here, when running the application we obtain only the LoadingMessage and don't show the Login form.

    What we may be overlooking?

    TIA,
     

  2. Hi,
     

    We need some light with this problem: access violation exception accessing session variables within a thread.

     

    The problem is that UniMainModule is a function that returns TUniMainModule(UniApplication.UniMainModule) and we suppose that UniApplication is another function. Please, we need to know the necessary direct casting we have to do to access session's data avoiding the usage of such functions within the thread.

     

    We attach the progress bar example modified to conceptually do what we need. In progressbartest.pas, the line


     

    Index_Max:=UniMainModule.Index_Max


     

    produces the exception.
     

     

    Thanks in advance

    20130131_Access_Session_Data_Within_A_Thread.rar

  3. Did you have developed with unigui in large projects ?

    Only preliminary and basic load tests to see if UniGUI was usable or not, seeing if a few users are correctly distributed between the different front-ends and if the framework is reasonably stable (without those tests we had not started a serious application with UniGUI).

     

    Our architectures boys didn't find architectural differences with standard web architecture (controlling the load balancer you can "assure" the redirection of new users to the less loaded front-end), and the stability of UniGUI is really good.

     

    Regards,

  4. Do you think unigui can support large-scale application systems?

    Yes, like all web systems with, for example, a simple front-end/back-end configuration.

     

    Once you obtain a specific and optimal max concurrent user for a particular web server configuration, all you need to do is to put a N servers front-end with a load balancer in front of them. Of course, database must be separated and implemented in back-end.

     

    Regards,

  5. If it could help:

     

    We are running D2010 and finally UniGUI is correctly installed, BUT in the installation instructions provided, make sure you do the following:

     

    1. Remove packages using IDE options

    2. Uninstal UniGUI through Add/Remove programs

    3. Delete the old contents of the directory that contains the old version of framework

     

    Without point 3, we had some "strange" responses installing UniGUI. With point 3, the installation process goes smoothly.

     

    Now we have a lot of problems with new version, but that's another story.

     

    Regards,

  6. Thanks, but is possible to list files in a specific folder using mask like 'some*.txt', TFilelistbox doesn't work!

    Use FindFirst, FindNext and FindClose commands for this. Please take a look to the URL (there is a simple example of usage of these commands). To store filenames, use a simple TStringList.

    Regards,

  7. Hi,

     

    In our application, the login is a mandatory action so we do a simple thing:

     

    develop a login form, adding the following to be the first form displayed:

     

    initialization

    RegisterMainFormClass(TfrmLogin);

     

    and deleting similar lines in the MainForm

     

     

    If the login succeeds, simply initialize what you need and do:

     

    frmLogin.Hide;

    frmMain.Show;

     

    All session flags and shared information, we put them in MainModule.pas as public members of TUniMainModule, so they are available for all session forms through UniMainModule function (be sure that MainModule is present under "uses" clause of your forms).

     

     

    It is very simple, but it works for us...

     

    Regards,

  8. Yo pienso que todas las validaciones que se puedan hacer del lado del cliente (Cliente Side) sería muy bueno, pues ahorraría el viaje al servidor. Así que trataré de apoyar el POST.

     

    Dionel

    Sí, yo pienso lo mismo, pero hay veces que no se puede evitar. También pienso que cuanto más integrado esté en UniGUI, más fácil es mantenerlo después, por eso veía que no estaría de más integrar un método markInvalid directamente.

×
×
  • Create New...