Jump to content

ZigZig

uniGUI Subscriber
  • Posts

    352
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by ZigZig

  1. Hello Farshad, Everything works fine, the setup for team management is a real advantage! I'm honored to know that I have the largest team Anyway, we are a non-profit association working for 25 years on a school ERP in Belgium (from early Turbo Pascal versions to newly mobile versions). Our ERP is used by 1300 schools in Belgium (from kids to universities); we are now working on the next major version, which will not be a desktop binary anymore but a full rich web application. So UniGUI is the key of this project. We now have achieved a stable alpha version of our future web ERP and are very confident in the fact that our technical choices are the best for our goals : - Database OO on SQL Server - Pure MVC driven code in Delphi XE3, based on uniGUI architecture (basically, Model = ServerModule ; Views=uniForms ; Controller = LiveBindings) - Deployment on Azure (DB, IIS) When this project will achieve (I hope in 2015-2016), you'll be invited in Belgium of course!
  2. Hi Farshad, I just ordered 11 licences for my Belgian company (payment by wire transfer, I guess that it'll take a few days). I hope that I am the first historical customer of uniGUI Anyway, congratulations!
  3. Congratulations Farshad! Many thanks for all your work. Hope it'll be a huge success... Best regards!
  4. Please see answer #20: http://forums.unigui.com/index.php?/topic/4400-about-commercial-licesnsing/?p=21655 :
  5. Thanks a lot. Could you please give some details about volume licences (10 developers)?
  6. Thanks a lot Farshad, it seems to be very good and competitive. One question: will it be possible to get source code?
  7. Just read "Guide to deployment" (pinned topic in this section).
  8. Hi Farshad, Yes I know that VCL mode has gone long time ago... , and my goal is not to use VCL. I would like just to switch between StandAlone Server and ISAPI Module if it's possible? I have a prototype running locally, when I run it, it is automatically deployed, I would like to deploy it manually (on a remote server). Do I have to mention the type 'ISAPI Module' during the creation of the project? Thanks
  9. Hi, I'm trying to set to FALSE the property "StandAloneServer" of UniServer Module. it automatically switches to TRUE. Any idea? Thanks Details: UniGui v0.95.0.1046
  10. Hi, Thanks for sharing. Very helpful. Regards.
  11. Hi, It works. Thank you. Best regards.
  12. Hello everybody, I'm doing some testing with Selenium WebDriver. Unigui / ExtJS generate html names automatically for id(s): button, input etc.. eg O38_id or id="tab-1048-btnInnerEl" unselectable="on">. I would like to give a name to these ids (eg MyButton1 instead of O38_id). Is there any way to do this. Thank you.
  13. Hi Abaksoft : - ServerModule IS the server side, shared with all sessions. - MainModule is different for each session (each session has its own MainModule). Thus,you can put a Connection (ie TADOConnection) on the ServerModule if you want: it will be shared with all users. In case of TADOConnection, ADO engine will create automaticaly a connection pool (if your SQL Server supports this feature). You can also put your Connection on the MainModule: in this case, each session will create a new connection. Both will work fine, it dépends on your architecture. For queries and tables, it is recommended to use the MainModule only, especially if you put your cursor on client side.
  14. Also check that you have exactly the same version on your server as into Delphi.
  15. Thank you Farshad! So, apart from my personal convenience, there is no difference?
  16. Hi everybody, When using AddJS() to execute some JavaScript on client side, it seems that we can concatenate SomeComponent.JsName to a JS function: MyComponent.JsName+'.someFunction()', or directly use its Delphi name : 'MainForm.MyComponent.someFunction()' : UniSession.AddJS(SomeComponent.JSName+'.someFunction();'); UniSession.AddJS('MainForm.SomeComponent.someFunction();'); Ex : UniSession.AddJS(UniStringGrid1.JSName+'.store.suspendEvents();'); UniSession.AddJS('MainForm.UniStringGrid1.store.suspendEvents();'); Both seem to work perfectly. Is it right? What is the difference? Is there a best practice? Thanks a lot!
  17. Hello, Could someone explain me the difference between UniSession.JSCode() and UniSession.AddJS() ? Thanks !
  18. Hi Bresler, Sorry for this late answer: I have currently a lot of work, I will take a look at your code this week-end.
  19. Hi Bresler, I asked the same question to Jim Tierney, the creator of LiveBindings at Embarcadero. Here is his answer : Hi Renaud, In general, you will need to find the code that is used to implement LiveBindings (LB) support for VCL TStringGrid and implement similar code for your component. 1. Column manager (adds columns, defines expressions) Copy VCL.Bind.Grid.pas to a new unit and modify to work with your grid. 2. Editor (adds rows) Copy Vcl.Bind.Editors.TBindListStringGridEditor to another unit and modify to work with your grid. 3. Observers (process user input) Look in Vcl.Grids to see where observers are called for TStringGrid. Implement similar code in your grid. Implementation of 1, 2 and TYourGrid.CanObserve should be enough for LB to populate your grid. You will need complete observer implementation to support editing and navigation. Note that there is code in LB to try to tell the difference between a TStringGrid with one row and a TStringGrid that is empty. TStringGrid does not make a clear distinction. You may not need this code if your grid makes a clear distinction between empty vs. only one row. Let me know if you have any questions about the code to implement LB for TStringGrid. Jim Unfortunately, I didn't achieve to make a "TUniObservableStringGrid" despite his explanations. Maybe you'll be luckier than me... BTW: if you create an observable TUniStringGrid with success, please share your code Good luck.
  20. Hi Bresler, Actually, my previous post was the example You just have to create a new component (as usual in Delphi) and put my code in the unit of your component. Then you can use this component with LiveBindings as any VCL or FM component.
  21. Try contabo.com : cheap and strong virtual machines.
  22. So many times discussed here: http://forums.unigui.com/index.php?/topic/2139-problem-with-sendstream-with-extensions-not-usual/?hl=mimetable.addmimetype&do=findComment&comment=9499 http://forums.unigui.com/index.php?/topic/3822-file-extensions-registered-with-a-media-type-of-applicationoctet-stream-are-ignored-when-trying-to-send-a-matching-stream-to-the-client/?hl=mimetable.addmimetype http://forums.unigui.com/index.php?/topic/2632-can-not-open-file/?hl=mimetable.addmimetype&do=findComment&comment=12077 http://forums.unigui.com/index.php?/topic/1869-unisessionsendfile-does-not-work-properly/?hl=mimetable.addmimetype&do=findComment&comment=8009 http://forums.unigui.com/index.php?/topic/1511-download-file-issues/?hl=mimetable.addmimetype&do=findComment&comment=5828 http://forums.unigui.com/index.php?/topic/863-files-downoad-trouble/?hl=mimetable.addmimetype&do=findComment&comment=2257 Anyway: procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin MimeTable.AddMimeType('xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); end; This one also works but is not standard: procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin MimeTable.AddMimeType('xls', 'Excel'); end; Good luck!
×
×
  • Create New...