[yast-devel] web interface
Hi yast developers, I've just taken the yast survey and I am happy I've seen a question about having a web interface. For me this is very important. Actually, what it will be great is to use the webmin interface. Which are you thoughts about that? Can I be involved? jordi PD: I have some yast development experience. -- Jordi Massaguer i Pla openTrends Solucions i Sistemes, S.L. Torre Llacuna C/Llacuna 166, 10º 1ª A 08018 Barcelona Phone: (+34) 93 320 84 14 Fax: (+34) 93 300 35 27 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Monday 08 October 2007 11:44:53 am Jordi Massaguer i Pla wrote:
Hi yast developers,
I've just taken the yast survey and I am happy I've seen a question about having a web interface. For me this is very important. Actually, what it will be great is to use the webmin interface.
Which are you thoughts about that?
Can I be involved?
Sure! There is a prototype Stano did some time ago: http://svn.opensuse.org/svn/yast/branches/research/web-wt/ it is based on libwt. You can find packages of libwt in home:dmacvicar repo in the build service. The part that needs more definition/hacks is threading, in YaST UIs are created in a separate thread, but libwt also abstract this part, so it seems the prototype does something wrong there. Feel free to hack on it, we will try to help you as much we can, and of course, that prototype is only a prototype, and in my personal opinion, the best approach. A radical different design can be also a solution. If you get any further with it, send patches, and at some point you would need a svn account Cheers Duncan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Any screenshot so I can convince either my boss or the client? jordi El lun, 08-10-2007 a las 12:06 +0200, Duncan Mac-Vicar P. escribió:
On Monday 08 October 2007 11:44:53 am Jordi Massaguer i Pla wrote:
Hi yast developers,
I've just taken the yast survey and I am happy I've seen a question about having a web interface. For me this is very important. Actually, what it will be great is to use the webmin interface.
Which are you thoughts about that?
Can I be involved?
Sure!
There is a prototype Stano did some time ago:
http://svn.opensuse.org/svn/yast/branches/research/web-wt/
it is based on libwt. You can find packages of libwt in home:dmacvicar repo in the build service.
The part that needs more definition/hacks is threading, in YaST UIs are created in a separate thread, but libwt also abstract this part, so it seems the prototype does something wrong there.
Feel free to hack on it, we will try to help you as much we can, and of course, that prototype is only a prototype, and in my personal opinion, the best approach. A radical different design can be also a solution.
If you get any further with it, send patches, and at some point you would need a svn account
Cheers Duncan
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
El lun, 08-10-2007 a las 15:29 +0200, Jordi Massaguer i Pla escribió:
Any screenshot so I can convince either my boss or the client?
jordi
I meant convince them that it is possible, there is a prototype and it is worth working on it. Actually what our client wants is support for webmin. However webmin has some issues with yast and I think the best approach is to build the web interface for yast, so when new modules come out, they can be used throught the web interface. Our client is very used to the web interface and prefers that than using the VNC conection. greetings jordi
El lun, 08-10-2007 a las 12:06 +0200, Duncan Mac-Vicar P. escribió:
On Monday 08 October 2007 11:44:53 am Jordi Massaguer i Pla wrote:
Hi yast developers,
I've just taken the yast survey and I am happy I've seen a question about having a web interface. For me this is very important. Actually, what it will be great is to use the webmin interface.
Which are you thoughts about that?
Can I be involved?
Sure!
There is a prototype Stano did some time ago:
http://svn.opensuse.org/svn/yast/branches/research/web-wt/
it is based on libwt. You can find packages of libwt in home:dmacvicar repo in the build service.
The part that needs more definition/hacks is threading, in YaST UIs are created in a separate thread, but libwt also abstract this part, so it seems the prototype does something wrong there.
Feel free to hack on it, we will try to help you as much we can, and of course, that prototype is only a prototype, and in my personal opinion, the best approach. A radical different design can be also a solution.
If you get any further with it, send patches, and at some point you would need a svn account
Cheers Duncan
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Dňa Monday 08 October 2007 12:06:38 Duncan Mac-Vicar P. ste napísal:
On Monday 08 October 2007 11:44:53 am Jordi Massaguer i Pla wrote:
Hi yast developers,
I've just taken the yast survey and I am happy I've seen a question about having a web interface. For me this is very important. Actually, what it will be great is to use the webmin interface.
Which are you thoughts about that?
Can I be involved?
Sure!
There is a prototype Stano did some time ago:
http://svn.opensuse.org/svn/yast/branches/research/web-wt/
it is based on libwt. You can find packages of libwt in home:dmacvicar repo in the build service.
The part that needs more definition/hacks is threading, in YaST UIs are created in a separate thread, but libwt also abstract this part, so it seems the prototype does something wrong there.
Yes, threading is tricky: YaST uses 2 threads internally: - one for the business logic (YCP, Perl, ...) - one for repaint of UI + UI functionality Wt uses a thread per Web-session. So what I've done is to: - keep the YaST threads - spawn another thread to handle creating of Web-session threads - always test with only a single session enabled ;-) Still, this is tricky, as the UI functionality needs to be done in the Web session thread due to Wt using boost using thread-local storage existing in the web session thread only. HTH. As to screenshots, there are none. And in fact, I focused on the functionality, no CSS at all. I was able to make some of the UI library examples to work. The next big challenge is to figure out how to handle layouting, as YaST UI library has its own logic and the library UI is not flexible enough (almost nothing is virtual in C++ sense) to hook into the algorithm. Stano
Feel free to hack on it, we will try to help you as much we can, and of course, that prototype is only a prototype, and in my personal opinion, the best approach. A radical different design can be also a solution.
If you get any further with it, send patches, and at some point you would need a svn account
Cheers Duncan
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (3)
-
Duncan Mac-Vicar P.
-
Jordi Massaguer i Pla
-
Stanislav Visnovsky