OpenQuestions

Portland Open Questions

In order to make Portland as useful as possible for ISVs and in order to get as widespread adoption by OSVs as possible there are a number of open questions that we would like to receive feedback on.

Command Line Tools vs Interface Library

For simple tasks a command line tool can be sufficient but for more complex tasks a library approach can be easier to work with and more efficient. As an ISV which solution would you prefer to use for which task?

Interface Library

The interface library will communicate through an IPC mechanism with desktop services. The question is whether the interface library should be considered a part of the operating system, and shipped by the OS vendor, or whether the interface consists of the services provided over the IPC mechanism, in which case the interface library can be included as part of applications. Both approaches have advantages and disadvantages.

Interface Library included in OS

http://www.svn.net/bastian/freedesktop/portland-1.png

In this case the OS provides a dynamic library that applications can link against.

Advantages

Disadvantages

Interface Library included with Application

http://www.svn.net/bastian/freedesktop/portland-2.png

In this case a static library is provided that applications can include to interface with the IPC services.

Advantages

Disadvantages

http://www.svn.net/bastian/freedesktop/portland-3.png

http://www.svn.net/bastian/freedesktop/portland-4.png

IPC Mechanism

For IPC either DBUS or a custom protocol can be used.

Advantages of DBUS

Disadvantages of DBUS