Oh okay ... that makes sense .... I was planning to look at guest.l as a sample to get started with app but I guess I will stick to the sample here - https://picolisp.com/wiki/?mindbgui I'll have to lear Pilog also before that I think :)
My goal is to build a todo app - perhaps try write a GUI for https://picolisp.com/wiki/?taskDB Regards, Kashyap On Fri, Aug 30, 2019 at 7:23 AM Alexander Burger <a...@software-lab.de> wrote: > On Fri, Aug 30, 2019 at 06:31:27AM -0700, C K Kashyap wrote: > > Could you also comment on the problem with step 8 please - I believe, its > > independent of the setup issue. > > > > 8. I open another browser tab and hit localhost:3000 and find that the > > record that I had entered does not show up - I believe it should have > > showed up. > > Hmm, OK, did not check this one. > > In fact, the whole issue with the global *Gbk is broken :( > > As we saw, it is created on top level in the program file, i.e. in the > parent > process. So child processes do inherit it, but changes are not > synchronized to > the parent, only to other siblings (as the reference of 'tell' states, > "Send ... > to all family members (i.e. all children of the current process, and all > other > children of the parent process"). So when a new session starts, it still > inherits the *old* state. > > In general it is not recommended to keep DB objects in globals, as they > cannot > be garbage collected. > > ☺/ A!ex > > > > > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >