[haiku-commits] Re: r42377 - haiku/trunk/src/servers/app

On Tue, Jul 5, 2011 at 10:16 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
>
> While there is nothing wrong with code separation, the app_server directory 
> is an awful mess already,
> and it's too big a component to put each feature into its own source file -- 
> at least if we keep its
> current folder hierarchy.
> I would welcome any effort to make that cleaner.

Do you mean trying to further "componentize" the app_server code and
putting those components into their own directories? It is nice how
the drawing code is separated and it seems like other parts of the
app_server could benefit from that as well.

While I don't know the app_server code as well as you guys, a quick
look suggests some additional directories like the following (with or
without the pluralization in some cases):

bitmaps
client_server
cursors
decorators
desktop
fonts
screen
workspaces

While the separation might not be perfect without some refactoring,
moving the obvious sources files into the above directories then
changing the Jamfile is a quick fix to maybe make the app_server code
easier to manage.

-- 
Regards,
Ryan

Other related posts: