That is the question.
I've been working quite lot with the Webkit implementation and all the stuffs about Python + Javascript integration and my thoughts today are... all that crap sucks!
Please, keep calm and let me explain myself better.
What we've been doing with Python and Webkit it's kind of innovator, there are no much background about it. The closest projects that did something similar were Gwibber and Hotot. Gwibber dropped Webkit in favor of Gtk3 + Vala (arguing performance issues) and Hotot is an entire web application (everything is done with Javascript) and that lets the Python integration in a really low (and easy) level, just needing a PyGtk/PyQt/Chrome/Whatever container and that's it.
I said months ago that we want to follow that path, my idea is that Turpial 3 be a web application (entirely in JS) inside a HTML container. That will let us port Turpial to almost any platform/device but it will take too long, first we should port libturpial to JS and then port all the UI stuff to JS + HTML5. Is a titanic work and I think that our community deserves a new release.
So, I tried to make an hybrid application, Python + HTML + JS (Turpial 2.0), in order to offer a close view of what we can offer with the power of HTML but as I said before, this is a new approach (at least the way we are doing it) and there are lots of unknown/undocumented issues and limitations. Right now this 'experiment' is facing big obstacles and one of them is the Python + Javascript integration. Currently I couldn't reach a high modularity or stability on this integration, this is causing that for any change (even a little one) we need to redesign or rethink the whole app structure. That's annoying and frustrating.
The best solution: develop a framework that let us build *anything* on top of this integration (Python + Javascript). But same reason that above, this requires lots of time and research and it was on my plans but far in the future, maybe for Turpial maybe not. We still should handle the fact that we have no guarantees that it will works.
So, I've decided make the last turn on this ship and back to one of my original ideas (back to 2009 ~ 2010), develop almost everything with native toolkits but the widgets to render tweets/columns. This is the way to build a more robust application and keep the good parts of Webkit for displaying tweets (the bigest lack of Gtk, for example). I've analyzed a lot before taking this decision and I'm pretty sure that is the best for the project right now, development will be smooth and we'll have a new release sooner.
I'll be doing this changes from now and I'll try to do it as fast as I can.
Suggestions and collaboration welcome. Thanks for your support and understanding.
Best Regards and long live to Turpial :)
--
“Yo construyo Soberanía, uso Software Libre”
Wil A. Alvarez
Linux Counter #415026
Debian Counter #259