| Author |
Message |
< Yaws mailing list ~ yaws 2.0 - XML config file format ? |
| Guest |
Posted: Sun Feb 25, 2007 7:44 am |
|
|
|
Guest
|
I'm extremely underwhelmed with Apache style configuration files that appear to be loosely based on XML but quite clearly are not valid XML.
|
|
|
| Back to top |
|
| Guest |
Posted: Sun Feb 25, 2007 1:31 pm |
|
|
|
Guest
|
|
| Back to top |
|
| DELETED |
Posted: Wed Apr 11, 2007 3:09 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 24, 2007 6:25 am |
|
|
|
Guest
|
Claes Wikstrom <klacke@tail-f.com> wrote:
> julian@precisium.com wrote:
>> I'm extremely underwhelmed with Apache style configuration files that
>> appear to be loosely based on XML but quite clearly are not valid XML.
>
> I completely agree, config file should be proper XML
I disagree, unless the config file is written by a tool. In the
Unix world most config files are edited with a text editor. XML
is messy.
Reading XML is OK when you want to debug some XML based protocol,
but for config files it's a bad choice.
ejabberd uses Erlang terms, which is also a bad choice, because
the target groups aren't Erlang programmers. For yaws this could
be OK. Or maybe something like the INI files from the Windows
world.
--
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 24, 2007 7:01 am |
|
|
|
Guest
|
Stefan Scholl wrote:
> Claes Wikstrom <klacke@tail-f.com> wrote:
>> julian@precisium.com wrote:
>>> I'm extremely underwhelmed with Apache style configuration files that
>>> appear to be loosely based on XML but quite clearly are not valid XML.
>> I completely agree, config file should be proper XML
>
> I disagree, unless the config file is written by a tool. In the
> Unix world most config files are edited with a text editor. XML
> is messy.
And I've changed my mind. Maybe the current '<' '>' syntax is
ugly, but making it proper XML doesn't make it less ugly.
Anyway, as I said, I've changed my mind.
There are no right answers here - just opinions.
/klacke
--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| joneksi |
Posted: Tue Apr 24, 2007 7:17 am |
|
|
|
User
Joined: 27 Feb 2005
Posts: 20
Location: Helsinki, Finland
|
How about a small config file validator/filter application, that can
read, write and convert different config formats. I would prefer to edit
unix style config file personally, but getting the config syntax correct
before really launching the application would be nice. If XML style
definitions are needed, the tool good spit it out. And vice versa.
AND it could also spit out a nice HTML sheet, defining the current
configuration, maybe even a form for those without a text editor ... or
a template for gnome config or ... whatever makes each distribution
happy.
Jouni
On Tue, 2007-04-24 at 09:01 +0200, Claes Wikstr |
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 24, 2007 11:47 am |
|
|
|
Guest
|
On 24-Apr-07, at 3:24 AM, Stefan Scholl wrote:
> Claes Wikstrom <klacke@tail-f.com> wrote:
>> julian@precisium.com wrote:
>>> I'm extremely underwhelmed with Apache style configuration files
>>> that
>>> appear to be loosely based on XML but quite clearly are not valid
>>> XML.
>>
>> I completely agree, config file should be proper XML
>
> I disagree, unless the config file is written by a tool. In the
> Unix world most config files are edited with a text editor. XML
> is messy.
>
> Reading XML is OK when you want to debug some XML based protocol,
> but for config files it's a bad choice.
Agree, if said files are to be written by humans.
>
>
> ejabberd uses Erlang terms, which is also a bad choice, because
> the target groups aren't Erlang programmers. For yaws this could
> be OK. Or maybe something like the INI files from the Windows
> world.
Apache's syntax is already far more expressive than INI.
--Toby
>
>
> --
> Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Apr 26, 2007 6:56 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Thu Apr 26, 2007 8:57 am |
|
|
|
Guest
|
That's a pretty bad idea. Writing a YAML parser is non-trivial, and
the syntax isn't really good enough to bother with all of that hassle.
It really only has measurable traction in the Ruby and Perl
communities.
Really, how many Yaws users do all of their configuration in text
files anyway? I would imagine most people using Yaws are probably
doing it with an embedded style of application.
On 4/25/07, Ben Hood <0x6e6562@gmail.com> wrote:
> What about YAML?
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|