automatically saves modifications
Author: i2stiller@gmx.de (istiller)
"Uniface IDE automatically saves modifications", really? If I open a component, modify a lot of things and then find, this is totally crap, I have to undo till the begin? What, if the IDE or Windows&Co crashes. The modifications are already saved to the "production" database? There will be no temporary dataspace for this modifications? Word (as an expample) stores this information in "~document.docx" and ask you on leaving, if you want to store he modifications. UnifAce did the same thing (trust on rollback/commit of DBMS) We stilll need this feature!
2 Comments
Local Administrator
Agree with Ingo. Especially as we have no indicator when a save takes place, it creates uncertainty what happens in the back. On U9, the developer has the control what is saved or canceled (ok "compile" has an implicit store) So when a colleague walked by after some 2 hrs of modifying the code and told me that this will endanger the application, a simple QUIT is all it takes to clear the situation. In U9, I had an ADDITIONAL menu with some "timestamped export of current object" item. So if the test unveils some strange sideeffects, there was always a simple "import last green export". Walkback in U10 seems not that easy.
Author: ulrich-merkel (ulrichmerkel@web.de)
Local Administrator
I see your point and we are aware of it. So, why the ... did we do it like this? There are number of things going on here. The most important reasons for this implicit save is a technical one. All views/editors of the IDE communicate of the repository; there is no data kept in memory, because the amount of data that the IDE can show simultaneously can be huge. Think of a lot of open editors and they all show a lot of inherited properties. All this data should be loaded into memory, being maintained in memory, and being rolled out to all open views/editors from memory. Note that Uniface 9 does not suffer from this problem, because it only shows 1 editor at a time. So it is less of a problem to keep data in memory for a longer period of time. So, as a starting, we started of using this architecture. But, obviously I see your point of not having enough recovery points and these will be handled; its all part of the bigger plan:
So, we are not there yet. But we will get there. Gerton
Author: Gerton Leijdekker (gerton.leijdekker@uniface.com)