The Open Web: KDE frees the web from the browser
In recent times, the KDE project has been at the forefront of integrating the web into the desktop. In mid-September, Sebastian Kügler announced Project Silk. Meanwhile, Frank Karlitschek has been working on the Social Desktop for some time now.
On October 29, NLUUG holds its Fall Conference with the theme "The Open Web", where both KDE developers will give a talk. Sebastian will talk about freeing the web from the browser, while Frank's talk will be about the Social Desktop integration of web communities into desktop applications. Your author asked them to give a preview of their talks in an email interview.
Free the web from the browser
Sebastian will talk about the differences between the web as
we use it now and what he calls "local clients": "My plan is to show
how we can make the web more accessible for a multitude of different
devices, and how we can tackle this.
" This is all part of his
Project
Silk, which has, as its ultimate goal, a close integration of the content
and services of the web into the KDE user experience.
To see why it makes sense to integrate web content into a desktop environment, we have to take a birds-eye view on the evolution of web browsers in the last couple of years. Then, we see that the web browser is now actually a very general platform: it evolved from a simple HTML viewer into a runtime environment for web applications that provide online services. What didn't change is one core assumption, according to Sebastian:
Indeed, if we look at our current use of the internet, it's much more varied than before: from mobile phones and internet tablets to netbooks, laptops, desktops, and media centers. Assumptions that were true when we accessed web services five years ago are simply not true anymore, Sebastian explains:
So in all those new use cases, the assumptions that websites make fall short. Reading small text is often impossible on large but low-resolution TV screens, a remote control or a touch screen behaves completely differently than a mouse or touch pad. Those capabilities of a device are best known to the client, so it's much easier to control these input mechanisms for web applications on the client. But there's more:
Of course using a native client to display online content provides a more coherent user experience when you're on the web from your desktop. Last but not least, Sebastian sees a security advantage: by separating content and client-side application logic from each other, it should be easier to build safer web applications.
Many things in the pipeline
Project Silk doesn't come out of the blue: KDE has already integrated many online sources into applications. For example, Sebastian has worked with Frank and others on components that integrate social networking into KDE's Plasma desktop shell. So we have already a lot of online content, such as email, contacts and social networks, integrated into desktop applications. But Sebastian admits that most of these efforts are rather cluttered and do little in the sense of sharing code, ideas, or infrastructure.
Most KDE applications are already fully network-transparent:
they use the KIO API that allows a user to access remote files using the
same methods as accessing local files. Moreover, in recent years some
interesting services have been built: with Akonadi KDE has central cached
storage for PIM data such as emails, contacts and calendaring. Nepomuk provides the basis to handle all
kinds of metadata on the KDE desktop. According to Sebastian, these
services are a powerful base to build applications that are "vastly
superior to JavaScript-driven browser applications.
"
One of the first components in project Silk that KDE developers have been working on is Selkie, which turns a web application into a first class citizen of the KDE desktop by providing better integration with the window manager, integration with desktop services such as the notification system. and custom, per-web-application actions:
More things in the pipeline include components to integrate online multimedia content into the KDE Media Center components. Sebastian also lists some lower-level activity going on, in the form of QJSon, a small library for the JSon protocol, classes to search and access content from MediaWikis such as Wikipedia, a thumbnailer for web pages, and so on. Because many applications that make KDE "silk" are integrated into the applications or Plasma, there is no central point with Project Silk code, but there is a git repository that collects the bits that aren't integrated yet.
The Social Desktop
Frank's talk at the NLUUG Fall Conference will be about the idea and the status of the Social Desktop in KDE, which he first proposed in his keynote speech at the 2008 Akademy in Belgium. The core idea of this project is to bring communication and collaboration in online communities to desktop applications, taking away the need to surf to forums and social networks in a browser. During his talk, Frank will give an overview of all the new features and possibilities from a developer and a user point of view. There is already work in-progress:
So the point of the Social Desktop is to connect people to each other
and bring them closer to the KDE desktop project and related topics. Frank
stresses that this is not only useful for developers, but also for regular
users: "For example, you can get in contact with other KDE users and
can see what your friends are doing. Or you can get help via the Knowledge
Base Integration without the need to open up a browser.
"
To be able to use social networks on the KDE desktop without tying the Social Desktop to one web platform like Facebook or Twitter, the developers worked on support for the open collaboration services (OCS) standard, which is an open standard published on freedesktop.org. According to Frank, several websites have already committed to supporting this specification so that users can choose from different data sources:
Just like Sebastian said, Frank explains that there's nothing wrong with the browser per se, but if you integrate web services directly in desktop applications you can get a richer experience:
Social Desktop Contest
This brings us to the winners of the Social Desktop Contest, which was started on 17 June 2009. The goal of the contest was to foster community development and innovations around the OCS API. The winners of the contest were recently announced. In the announcement, Frank wrote:
The winning submission of the contest is an ExtendedAboutDialog for KDE apps by Téo Mrnjavac. It gets information about the developers of a program — for example contact details, web addresses, and nationality — from opendesktop.org and shows it in the "About" window. This gives the application a human face and enables direct interaction with the development team. The extended about dialog can be used in any KDE application and already ships with Amarok 2.2.
The second place winner is the Knowledge base widget by Marco Martin. This is a plasmoid that lets users query the online opendesktop.org knowledge base without the need to visit a forum or subscribe to a mailing list. The widget will be part of KDE 4.4. The third place is for libopengdesktop by Guido Roberto. This is a simple Glib-based library that gives easy access to Open Collaboration Services providers. It will be useful to bring the Social Desktop to Gnome and XFCE platforms. The fourth place is for PyContent, a plasma widget written in Python to show the newest contents in specific categories from a content provider.
Open projects for an open web
Both projects, the Social Desktop and Project Silk, have a very open attitude. The idea, the server side and the API specifications of the Social Desktop are completely platform independent, Frank stresses:
At this moment, project Silk is still KDE-specific, but this has its reasons, Sebastian explains:
Contribute to an open web
Both projects are also open for contributions. KDE developers and users
can get involved easily in the social desktop project. There is a mailing
list, a wiki, the specification is available on freedesktop.org and of
course all the KDE code is available in the KDE svn. Frank adds that there
will be a developer meeting later this year specially for the Social
Desktop: "Everybody is welcome. So please send me an email if you want
to participate. It isn't important which desktop or technology you use. The
Social Desktop is a completely open project.
"
Project Silk is very much an umbrella for people that work on web
integration components, so it's not a closed group of people but, instead,
consists of a number
of people from all over KDE that have already been working on web integration
aspects. That's why it's easy to contribute, as Sebastian notes:
"Developers that find these ideas interesting should get in touch
with us on the #kde-silk IRC channel on the Freenode.net network, or via
the kde-silk@kde.org mailing list. We've spent some time documenting ideas about
Project Silk on Techbase, KDE's knowledge base wiki.
"
All in all, both projects are still in their infancy, which is an interesting opportunity for open source developers who want to do some innovative work. The submissions to the Social Desktop Contest and the Project Silk ideas on Techbase are good sources for inspiration.
| Index entries for this article | |
|---|---|
| GuestArticles | Vervloesem, Koen |
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
