Forum Replies Created
-
AuthorPosts
-
emilevanpassel
ParticipantHi,
Thanks for the reply, and sorry for the late reaction. Maybe I should give the jSuneido client option a try. Although I always try to stay away from Java. Not a fan… Is there any difference in the cSuneido and jSuneido performance? I remember that the jSuneido version can run with multple processors, and has better memory handling. Does it also have a larger database limit?
To all people on the Suneido forum: BEST WISHES FOR 2014 !!! ๐
emilevanpassel
ParticipantHi,
Sorry for my very late reply, and thanks for the advice. There was very little logging I could use, but I found out that the HTTP server was crashing because of some characters in a URL request. These characters were not properly escaped. When the HTTP server exits, Suneido also exits. Proper escaping of characters in the URL request solved the problem. Probably I should find out how to make HTTPServer prevent from crashing, but I guess the HTTPServer in Suneido was never meant to be used as a production machine anyway.
emilevanpassel
ParticipantSorry for the bit late reaction. I have checked out RAP in the meantime, but I think it is too heavy. I worked with wxPython before, that seemed ok to me. So for a platform independent client solution, wxWidget bindings are still a good option. You can send me the information if you want. Or do you have any other suggestions for a client?
emilevanpassel
ParticipantI have been experimenting now for some time with HTML/JavaScript and Ajax style communications with the Suneido server. It has been interesting, but mostly frustrating. Working in multiple languages, multiple IDE’s, dealing with one-page web application issues, very complex. From a user perspective I think the one-page web application is very limited. Dealing with a small space leads to a lot of compromises, leading away from the traditional application behavior that users are used to. Not a good direction I think.
Next thing to explore? I think I will give wxWidgets a shot. I used it with Python before (wxPython), and it seems a good platform independent GUI environment.
emilevanpassel
ParticipantAt the moment I am using FireFox as a client, and it works OK. Also I enjoy the develoment tools that come with FireFox. Downside is the use of JavaScript, I would prefer Suneido as language in that case. Another downside is that my application uses a FTP Client, and the code in Suneido was very usefull. But doing a up-/download from JavaScript is something I am still puzzling on. There are tools that can have a GUI based client inside FireFox, but I need something that can be code controlled. Still puzzling… ๐
emilevanpassel
ParticipantI checked HttpMap and noticed the GetCodeRes function. It searches the RES for files. I used that one, and it works nicely. Now I can fetch the HTML, CSS and JS files without having to use local copies of the files. I tested it using FireFox and it works fine. IE is easy, getting it to work under FireFox is something else ๐
I have one more question about using a browser for an application: actually I was using the BrowserControl, because I wanted to use some functions from within Suneido. But it seems to me that the browser uses IE6 (as ActiveX component), and I had some difficult times with CSS and IE6. So I tried FireFox and that works fine. The question now is: can I also use FireFox from within BrowserControl? I understand it should be possible to use ATLAX with other ActiveX components, but I’m not sure this works well for FireFox.
emilevanpassel
ParticipantI tried the AJAX solution. It is interesting to see what I can do with that. I was wondering how many users can actually be “connected” like this. But this question is more interesting for the other discussion, the one about replacing the cSuneido client with some other type of interface. Having to use HTML, CSS and Javascript on top of Suneido is a bit much, but the flexible number of “connected” users may be an advantage.
emilevanpassel
ParticipantI am using the suneido://eval? protocol, but I can’t get it to assign the result to a variable. The only reference in the documentation I see is an example which shows:
function openHelp()
{
document.location="suneido:/eval?OpenBook('HelpBook', 'PageName')";
}This works for calling functions that do not return any result. But when it returns a result, I can’t assign it to a variable. I tried:
var x=suneido:/eval?TestingJS();
but it fails, and when I use:
var x="suneido:/eval?TestingJS();"
it only assigns the string, and no call is made. I’m new to most of Javascript, so I probably got the syntax wrong.
emilevanpassel
ParticipantI read somewhere that it is approx. 2-3 times faster. Of course for small files it is not an issue, in most cases you would not notice the difference. I just wondered if it would take the load of the application. I noticed for larger files that Suneido says “not responding”, until the sending has finished. Maybe if I could do it in a seperate thread, that it would solve the issue of Suneido not responding.
Thanks…emilevanpassel
ParticipantI have changed my file transfer in my application, from using my own implementation to using the FtpClient. It works fine, much easier to use. Bu I have a question about that: when I was searching on the internet about FTP and related issues, I noticed a concept called Zero Copy, where static content is directly moved from for example file handle to socket, and is not routed via the application. Is this also possibel in Suneido?
emilevanpassel
ParticipantOk, that is clear. Besides RDP, is VPN an option?
emilevanpassel
ParticipantHi Andrew,
Thanks for your information. It makes a lot of things clear. One final thing (I think I can understand it now): if the code is running on the Client and I make a socket connection to a second Suneido Server running elsewhere, the socket connects directly between the Client and that second Server? I suppose it does. The second Suneido server is used to store data, files, etc.
The part about using it over the Internet is interesting, because I was wondering how it would perform. What is the best set-up for use over the Internet?
Thanks,
Emileemilevanpassel
ParticipantI’m sorry, I made a mistake. I was working client-server, and when changing code, sometimes the server needs to be restarted to make the changes active (I assume that the code was server sided). After restarting it worked fine. The situation is now:
table1:
key(id, changedDate)
key(id)table2:
index(pid) in table1(id)The index of table2 refers to the id of table1. This works fine, but only after adding key(id) on table1. I also do not understand why that works, but it does.
emilevanpassel
ParticipantInstead of adding/removing from a Vert Control, you could try to use a Flip Control if you want to switch between two objects. Not sure if that is smart to do, memory wise. Of course this is only interesting if you want to switch between showing Browse #1 and Browse #2. If you also want to be able to hide both, or show both, a Vert Control is a good solution.
emilevanpassel
ParticipantThanks for the tip. I will take a look at it. For the time being I have used a HorzControl and Html_ahref_Control for a list of attachments and changed LBUTTONUP(). This way I can just get the attachment data from the email at the moment the user needs it. Works fine and no delays with large collections of attachments. Only downside is the use of the HorzControl with the links in it. If the list of attachments is large, it is difficult to display it, because of the space limits. That is actually why I wanted to use the BrowserControl, because then I can just put all attachment links in 1 or more lines on the screen. I am trying to do something like that with HorzControl, making it “wrap around”, but have not idea yet how to do that. Is there a control that can do something like that?
-
AuthorPosts