Re: [RFC] Rewriting sade(8)

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Thu, 08 Apr 2010 16:39:36 +0200
Quoting Dag-Erling Smørgrav <des_at_des.no> (from Thu, 08 Apr 2010  
16:15:27 +0200):

> Alexander Leidinger <Alexander_at_Leidinger.net> writes:
>> Dag-Erling Smørgrav <des_at_des.no> writes:
>> > There have been at least three or four attempts to do this in the
>> > past.  One of them was even fully funded by the FreeBSD Foundation.
>> > They all failed.
>> I was told a lot of people tried to make the WITH_CTF part working
>> without the need to use -DWITH_CTF each time at the command line and
>> failed. Nevertless I did it. So telling something is not possible
>> because other people tried and failed is ridiculous.
>
> It's not ridiculous, it's experience.  *Painful* experience over a
> period of nearly 15 years.
>
>> BTW: I do not think you talk about a partition editor, but about the
>> complete sysinstall.
>
> Yes and no.  I'm talking about making the user interface pluggable,
> i.e. run the same program (whether sysinstall or sade) with, say, an
> ncurses interface on the console and a gtk interface in X.

I did not suggest to run the same program and get different  
interfaces. My suggestion was to have a backend-lib and a frontend.  
The backend containing the "business-logic", and the frontend being  
the presentation layer. If you want a GTK GUI, write a new frontend.
In the case of sysinstall and sade, both use some kind of curses  
interface, my suggestion was to the lib as they are both 2 different  
kind of frontends (two different kinds of point of view regarding the  
required functionality).

I was misunderstanding your idea in the beginning, I was understanding  
the description of jhb better. It surely is an applicable idea (and an  
improvement to what we have currently), but it looks like it is  
limiting what we could do with sade (the frontend part, not the  
backend part) if it would be decoupled from sysinstall.

Bye,
Alexander.

-- 
BOFH excuse #144:

Too few computrons available

http://www.Leidinger.net    Alexander _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild _at_ FreeBSD.org  : PGP ID = 72077137
Received on Thu Apr 08 2010 - 12:39:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC