Jump to content

magosk

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by magosk

  1. Hi! I evaluated uniGUI a while ago, and although the time when we decide to start using it is still a while ahead, I have one question I need an answer for now. Is SSL support available in the standalone web server? I saw this was up for discussion the last time I was active in the forums, and I think it then was planned for an upcoming release. So if it's not yet released, when will it be (approximately)? Note that running under IIS (or Apache) is not a good option in our case. Regards Magnus Oskarsson
  2. Thanks for your reply (I missed it at first, hence my slow reply)! We host a service for clients in various countries, so we need to adjust language on a per session basis, so unless you can override locale for the session we still need the text to be adjustable. We have a (base) language converter component who does the job of translating selected component properties from a language file, for which we would write a "uni"-specific descendant. But it would need a string property it could recognize and change. The selected row still flickers each timer strike even if it is some other row that changes, perhaps due to some "data change" event from the data source. It would be nice if it could be avoided.
  3. magosk

    Play wave files

    Thank you, much appreciated, especially the part on how to trigger the client-side playing code from the server side. I tested the demo in an environment with all the latest browsers installed plus QuickTime, and I got the following results: No. (Format) IE9 Chrome FF Safari ------------ --- ------ -- ------ 1 (Wave)____ N__ Y_____ Y_ Y 2 (Ogg)_____ N__ Y_____ Y_ N 3 (Mp3)_____ N__ Y_____ N_ Y (with glitch) As much as I regret to say it, supporting IE (with backwards compability) is a must for us (I also tested on a machine without QuickTime installed so that it uses Windows Media Player but that didn't work either). What kind of code would work on IE (and on the others with a possible requirement of QuickTime or similar)? As mentioned, wave is the important format in our case.
  4. magosk

    SSL options

    There is a good (not too long) explanation of how OctaGate works together with standalone web applications written in IntraWeb here. Is there something similar to URLBase for the uniGUI ServerModule? If not, that would be another feature request from us. There is a free trial for OctaGate, and if your interested in having your product working with Octagate, I'm sure the Octagate guys would be happy to assist.
  5. magosk

    Play wave files

    Thanks, I tried to put your code, including the function declaration, into the ClientEvents.ExtEvents property editor for OnClick, and now the web page does not hang, but I still cannot get any sound played when i click the button. I am probably missing something (yes, I did change the filename to Test.wav...) about how to do it in uniGUI, so a working demo would be great. Also, as mentioned, in the real world case I need to produce the wave file on the server first, so how would I trigger the client-side audio plaing code from the server-side OnClick event handler once I have the wave file in the correct place?
  6. magosk

    Play wave files

    I could add that with IntraWeb the guy who made our playback function used a TIWText control and put the following code in it when we clicked a "play" button: <EMBED src="Files/Test.wav" hidden="true" loop="false" autostart="true" width="0" height="0"> and made the control visible. In an "AfterRender" event we made the IWText control invisible again so the wave file would not play again the next time the page was updated in some way. I tried putting the same code in a TuniHTMLFrame and the file plays once as soon as I enter the page. But I don't know how to trigger it on a button click instead (so I can play it multiple times from the button if desired, but if I do something else on the form it should not play the file). Any assistance on this would be much appreciated.
  7. magosk

    Play wave files

    Thanks, but due to my limited experience with uniGUI (and JavaScript for that matter...) I have trouble getting this working. According to the post, I tried putting the code <script> var audio2 = document.createElement('audio'); audio2.setAttribute('src', 'files/Test.wav'); audio2.play(); </script> in ClientEvents.ExtEvents.OnClick of a TuniButton but then the main form will not even load in web mode. I also tried with a TuniHTMLFrame but with no success. A simple demo for playing an audio file would be much appreciated (not solving this issue would be a complete showstopper for us)! Note: in our real world case, we would need to first copy the file (or in some cases generate a new wave file using Text-to-speech) into the "session temporary file directory" (what is the uniGUI correct terminology for that?) on the server side as a response to the button click, and after this has completed play it on the client side, so if this aspect was part of the demo or example it would be great.
  8. magosk

    SSL options

    Do you have any time frame for when SSL for standalone will be available (I saw a previous post where you predicted 0.86 or 0.87, but I guess it got postponed)? Although there are workarounds, this would still be a very important option in some installations for us.
  9. The DB grid is a key component for us, and what I have seen so far with TuniDBGrid looks very good, e.g. the built in paging feature in web mode. A. Can you modify the page control texts ('Page', 'of') in some easy way (we have our web application available in several langauges)? If not, that would be a feature request from us. Note that you might need some more space in the page control (either auto-adjusting, or allowing say 7-8 characters for the "Page" translation and 3-4 characters for "of" to cover the commonly used languages) B. For column sizing, we see three main approaches (that would suit our application): Using resizable columns and remembering the user choices. No automatic adjusting to screen size, horisontal scrollbar shown when needed. This looks possible with uniGUI (although I guess you would have to implement the "remembering" yourself...). Having some columns of fixed size, and the rest automatically adjusting (proportionally) to the available size. No horizontal scrollbar (except perhaps if not event the fixed fields fit). Having the grid autosize the columns to fit the longest visible text (possibly still with some fixed-size columns), and having a horisontal scrollbar only if not possible to fit within the available grid size. Are the last two options available in TuniDBGrid somehow? I saw a post mentioning that there was a logged issue #555 for autosizing. What's the status for this? (Is your issue tracker publically available somewhere btw?) C. We have a special case where the user can follow real-time status updates in some database tables. With a TuniDBGrid with dgRowSelect as an enabled option I wrote the following test code: procedure TMainForm.UniTimer1Timer(Sender: TObject); var OldID: Integer; begin OldID := ClientDataSet1ID.Value; ClientDataSet1.DisableControls; ClientDataSet1.Locate('ID', Random(3) + 1, []); ClientDataSet1.Edit; ClientDataSet1Name.AsString := ClientDataSet1Name.AsString + '*'; ClientDataSet1.Post; ClientDataSet1.Locate('ID', OldID, []); ClientDataSet1.EnableControls; end; (in the real world case it would probably be a table refresh instead). This updates very smoothly in the VCL case, and the cell contents do so in the web case as well, but the row selection "flickers" each time the timer is updated. Is this possible to avoid?
  10. I personally think the default look of a "Windows application" in the browser with maximize/minimize/restore/move/close functionality is cool, but if you want a more traditional web page look, is that possible with uniGUI? (e.g. like always running the "window" maximized, and without seeing the maximize/minimize/restore/close buttons) If so, how do you do it?
  11. magosk

    Play wave files

    We need to be able to play .wav files in our web application, preferably without requiring any special plug-in, at least not for Windows / IE which is used by the majority of our customers (e.g. today in our IntraWeb-powered application it works without any plug-in if you have Windows Media Player, although for other browsers e.g. QuickTime is required). What are the options for uniGUI? And how does the code look like for playing a file in response to e.g. a button click?
  12. magosk

    SSL options

    What options for using SSL are there (in general) with uniGUI? Some specific questions: 1. Is it available for the standalone server / service yet (I saw some earlier posts on this)? 2. I assume you can use IIS for it as well? 3. We are currently using a product called Octagate Switch for handling several web applications and web services on a server using the same (standard) port and a single SSL certificate. E.g. our primary web app is reached directly through an URL like www.example.com, a second at www.example.com/App2, a web service at www.example.com/Service1 and so on, and Octagate redirects the traffic to the ports used internally on the server. Has anyone had experience with this product or something similar with uniGUI? A note: we might get around this issue and skip a tool like Octagate completely by instead using a newer multi-domain certificate and instead have a firewall redirect traffic on different IP addresses internally to this server and the ports in question, but the question is still of interest.
  13. Hi! We are currently developing our web applications in Delphi 2010 / IntraWeb 10 and are not happy with all aspects of these tools. We are in the process of evaluating the newest IntraWeb release as well as looking at the consequences of moving to another platform for web development. I have looked at uniGUI in this context, and I must say it looks very promising indeed! I have a few questions, I will divide them into separate posts as to make searching by topic easier. First some questions regarding Ext JS: 1. That uniGUI's web frontend is built upon a widely used library is good from our point of view. If I understand correctly, another external library central to uniGUI is extpascal. If you follow the link from uniGUI's home page to extpascal, it looks like this project is not very active. Does this limit uniGUI's ability to be developed in the future with regards to new features in Ext JS? (If I understand correctly, the current version of uniGUI uses ExtJS 3.4, whereas the latest ExtJS release is version 4) 2. The following is not necessarily a requirement for us, but still interesting to know about: can external code written for Ext JS (e.g. new visual components not in the core library) easily be integrated into a uniGUI application? And the other way around: can (parts of) a uniGUI application be exported in some way for use with Ext JS more directly? 3. We still have some customers using IE 6 and 7, and the Ext JS page states that it has support for these browsers. I tested with your demos, and it appears that most of it works although a bit slower than with newer browsers. But I saw a few issues: a. The splitter and trackbar controls does not appear to work in IE 6/7. b. The canvas control does not appear to be supported in IE 6/7. c. Menu items not properly shown in maximized window mode (IE7 only). d. Some empty edit boxes cannot be entered (e.g. on the KeyEvents page in the Mega Demo) with IE 6/7. e. Icon image transparency does not work in IE6. Comments on this? Regards Magnus Oskarsson
×
×
  • Create New...