How to migrate from wuy
(wuy is the ancestor of guy)
- Replace all
wuykeyword in your py files, byguy - Replace all
wuyin html/js files, byguy(for core methods) orself(for those which you have declared in your class) ... see (client side) - Replace
wuy.Window/wuy.Serverbyguy.Guy .get() & .set()configs are replaced byself.cfg(py side) andguy.cfg(js side)- Rename your
webfolder tostaticfolder, if needed. - At launch, get the instance, and apply one of theses methods:
- instance.run() : for classical "app mode"
- instance.serve() : for classical "server mode"
From wuy:
AppWindow()
to guy:
app=AppWindow()
app.run()
Info
Here is my biggest wuy's app migration to guy
Info
if socket close : client will reconnect ! (it will not close the app, like wuy did)