Jump to content

ZigZig

uniGUI Subscriber
  • Posts

    352
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by ZigZig

  1. Some draft articles are online:

     

    - best practice

    - differences between MainModule, DataModule, ServerModule

    - how to improve loading time

    - how to create LiveBindable component

    - AddJS vs. JSCode vs. SendResponse

    - what avoid to do (draft)

     

    Please feel free to comment, correct and add articles: http://unigui.wikispaces.com !

    (and please don't hesitate to correct my horrible English).

  2. Hi, I created a Wiki at https://unigui.wikispaces.com/ (Wikispaces seems to be a good wiki hosting solution), and set access to public (no need to create an account, just like Wikipedia... but it is not recommanded to be anonymous when editing a wikipage).

    I put some ideas of topics, I'll try to post some articles this week-end.

    Please feel free to create/edit everything you want!

    • Upvote 2
  3. You must have D2007 with all updates applied.

     

    The build number for Delphi 2007 Update 3 is 11.0.2804.9245 (http://delphi.wikia.com/wiki/Delphi_2007_for_Win32), your version is Delphi 2007 (11.0.2627.5503: first release without any update).

     

    You can get Delphi 2007 R3 here: http://cc.embarcadero.com/item/25001: Update 3 for Delphi 2007 for Win32 (original release, not for R2), all languages.

     

     

    PS: Google is your friend ;)

    • Upvote 1
  4. Abaksoft,

    Let's do it!

     

    Too late for me today but I'll begin this (un)official Wiki tomorrow, unless Farshad says that he disagrees.

     

    PS : your French is better than my English!

  5. I have several uniGUI projects running in production for 2 years, all of them are hosted on Contabo VPS.

    My impressions :

     

    Pros :

    • Price : Contabo is the cheapest VPS provider I ever found.
    • Support : not extremely fast, but you always get an answer in the day.
    • Stability : 0 problem since 2013.

    Cons :

    • Performance: Contabo VPS is clearly not the fastest offer (vCPU are not so fast).  I recommand VPS XL only (smaller VPS is too slow for uniGUI)
    • Control panel/Monitoring/Add-ons : you just get low cost control (it is impossible to resize a machine, the monitoring is not very efficient, the asynchronous FTP cache is very disturbing...)

     

    But for that price, you won't find better !

     

    My three cents...

    • Upvote 3
  6. Hi Abaksoft (and everybody),

     

    Maybe we could create and fill a wiki site about uniGUI best practices (something like http://unigui.wikispaces.com, which I created for example) - if Farshad agrees ? So we could already share "our" best practices, tips & tricks in a structured way,and let the uniGUI community, Farshad and FMSoft team add, fill and/or correct  articles.

    I already did this for my company (a french-spoken Wiki into our Intranet) and it allowed employees to easily understand and practice uniGUI.  I can eventually translate and share our articles.

    • Upvote 4
  7. Maybe something like that?

    Declare a pointer to a record which contains all the fields you need.
     

    type
    PMyRecord = ^TMyRecord;
    TMyRecord = record
    MyStringField: String;
    MyIntegerField: Integer;
    MyDateTimeField: TDateTime;
    MyTGUIDField: TGUID;
    //...
    end;

    Assign an instance of this pointer to each node of your tree.
     

    var MyRecordPointer:PMyRecord;
    MyNode:TUniTreeNode;
    begin
    //In a loop...
    MyNode:=MyUniTreeView.Items.Add(nil, 'myNodeCaption');
    New(MyRecordPointer);
    MyRecordPointer^.MyStringField:='uniGui';
    MyRecordPointer^.MyIntegerField:=99;
    MyRecordPointer^.MyDateTimeField:=now;
    MyRecordPointer^.MyTGUIDField:=TGUID.Empty;
    MyNode.Data:=MyRecordPointer;
    //Loop...
    end;

    Get the values of the record linked to a node whenever you want.
     

    ShowMessage(PMyRecord(MyUniTreeView.Selected.Data)^.MyStringField);
    DecodeDate(PMyRecord(MyUniTreeView.Items[0].Data)^.MyDateTimeField, MyYear, MyMonth, MyDay);
    //...
    • Upvote 1
  8. Hi Farshad,

     

    Same as rsanford for me: I can easily use an Azure VM, no problem.

    But I would like to deploy my ISAPI dll directly to an "Azure Web Role", using Visual Studio package (or something like that).

     

    I didn't find usable explanations on how to do that from Delphi world...

     

    Thanks a lot.

×
×
  • Create New...