On 21 Jan 10:19, Pablo Angulo wrote:
> El 21/01/15 a las 00:12, Cédric Krier escribió:
> >> What the people in Innoviù did is embed a webpage, with javascript, css,
> >> etc. I don't know if this is a common way to write modules, but it seems
> >> pretty flexible,
> > This is something that will never be in standard Tryton because it is
> > far away from any logical and simple design.
> > As I already said very similar design can be achieved with GTK widgets
> > with probably a much better feeling and less resource consuming as it
> > will be native widget.
> 
> Too bad, because with a little refactoring it could be a simple way to
> write a module for both the GTK client and a web frontend such as sao,
> instead of maintaining two code bases trying to achieve a similar user
> experience with different toolkits.

You have to use the technology of the platform otherwise you are just
spending resources on the host (memory, cpu) and human (developper).

> I just did a web search for "gtk html5 convert" and found about the gtk
> HTML5 "Broadway" backend, so maybe that's another way. Mmh, I've seen in
> this forum you knew about broadway back in 2011, but you opted for
> bootstrap for the new web client. What is the way you suggest to write a
> new "client module" like this kanban module, so that it works for both
> the web and the gtk clients?

You have to write one in GTK and one in HTML5/JS.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Reply via email to