Skip to content

Conversation

@medmen
Copy link

@medmen medmen commented Sep 26, 2019

I know OLAB 3 is considered "dead" but it is still the best patient virtual patient simulation i could find.
Unfortunately modern environments do no longer ship with php5, so I decided upon a request of my friend Wolf Hautz (University of Bern, Switzerland) to port it to PHP7.
It turned out one of the biggest projects i ever did, but now it seems to work quite well in most parts.
Core changes include a switch from Kohana Framework to its successor Koseven and several changes to support mysql strict mode.

I hope this PR will help to ease the waiting period until OLAB 4 is ready.
Expect some rough edges and unresolved bugs though...

read cookie_salt from config.json (for Koseven)
use composer-script to copy modules from koseven to olab after install/update
use composer-script to copy modules from koseven to olab after install/update
it would be easier to move to koseven module but this messes up leap-orm :(
…g. parent_id gets assigned 0 but should be empty.

Not yet sure how to fix
SELECT list is not in GROUP BY clause and contains nonaggregated column
SELECT list is not in GROUP BY clause and contains nonaggregated column
TABLE `user_sessions` Field `notCumulative` needs a default value
@topps
Copy link
Member

topps commented Sep 27, 2019

Wow, thank you for all that work. Much appreciated. I would just like to check quickly with my senior analyst here if merging your code creates any other problems. (Personally, I am not expert enough to judge this. Sorry). I should get a quick response.
On a related note, we are almost ready to make OLab4 available on a limited release. The least I can do, after all your hard work, is to offer you an early look at our work and an opportunity to comment (or contribute if you feel so inclined).

@topps
Copy link
Member

topps commented Sep 27, 2019 via email

@topps
Copy link
Member

topps commented Sep 27, 2019

Thank you also for your comment about OLab3 being the best VP platform you could find. Yes, you are right - we have not continued development or fixes, mostly because the Kohana framework is dead. Your approach is much appreciated.
With OLab4, we have adopted an ORM approach, where we will be much less closely tied to the underlying framework. Also we have instituted support where we will be less dependent on PHP versions etc. So this kind of thing should not be an issue in future with OLab4, even a few years from now (or at least, so we hope!).
Other improvements in OLab4:

  1. Better rendering of CSS style sheets (OLab3 had an odd, non-standard, way of doing this)
  2. Scoped Objects -- this means that an author should be able to reuse many more things like Questions, Files, Counters etc, across multiple maps. This should accelerate authoring times
  3. Single page architecture -- each Node should be more flexible, with intra-Node responsiveness, and less chattiness with the server backend.
  4. Script Objects - a way of safely embedding certain Javascript code within Scoped Objects.
  5. Improved xAPI reporting
  6. Improved user management, roles, ACLS etc

All in all, a strong architecture. We apologize it has taken so long to get to this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants