X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 1997FDC00D4 for ; Thu, 29 Nov 2012 17:29:06 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo13so20280513vcb.13 for ; Thu, 29 Nov 2012 09:29:05 -0800 (PST) Received: by 10.52.93.146 with SMTP id cu18mr23051272vdb.37.1354210145821; Thu, 29 Nov 2012 09:29:05 -0800 (PST) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id bm2sm867623vdc.6.2012.11.29.09.29.03 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 09:29:04 -0800 (PST) Received: by mail-vc0-f182.google.com with SMTP id fo13so20280438vcb.13 for ; Thu, 29 Nov 2012 09:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Onwb226Puxs7GsqBw3E1mNEypaSfO05oHePlP3utv1A=; b=vpwWYoTuaM/3lFaKn5IUdZpYZzYRQYFjcIiBufyomIdkgao6m0Cu29SrFpS8QplwXn L9I7n9pVI5WIObBjUupyK40aJiMNp9BOlpps9rOYw3HMcrYBnwVogEblksAnqBGMLA/h emWE4hxhLYldTIdc3dMyV+Wlg4HcmywmCahD1dQyI7JGGDIQ2vEl+MUHcxkc6DAa5RRj DLaDk+mBaLw2fnhluqpfOvbMP/rD9nxLtUEMRt4CWvZrl6ndfv6oK8HmhOcqKt43gWy0 63Plel9e451yi8EY4OySse+LUqRfS5Ez3qCifID+RV9DH0ZRiUHfgp9ML2SBHr2uCUDN yKpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=Onwb226Puxs7GsqBw3E1mNEypaSfO05oHePlP3utv1A=; b=FyNURwH41iJS1RwFLpOMRRXp6yl8E8YwHMvqnkQKqv214Yba3alLUAtjUbPJiWFRX9 5WPcrMDI/vON4NlACsP/2XkmgBfNh4Xiddm0RcGPqDsEVRReodP78TpuyMUGevznD4UF lHeUEP6lp10pD9RYf91f4GMP2rvnWJ9Y8Urg3KZynzygDYwBbiycln/n55GambPQ+1U0 eJW1XCj2UJ67dDjZVCGgFKDDNLe1onWaaPP+Jhjslc57Uj/jWO0pKVw7SeDG7hHbTCXb RlOzz7HV43W4ZaFIY83rCBevJmpZHrN8nWWvnqpO5ndt2tLdnGBV4wM069TuUIJSgJPJ KfEA== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.220.149.142 with SMTP id t14mr32614538vcv.46.1354210142926; Thu, 29 Nov 2012 09:29:02 -0800 (PST) Received: by 10.220.142.75 with HTTP; Thu, 29 Nov 2012 09:29:02 -0800 (PST) X-Originating-IP: [62.195.204.70] In-Reply-To: <50B78EF5.6040006@arcor.de> References: <20121129152317.69585a4f@ncopa-desktop.alpinelinux.org> <50B78EF5.6040006@arcor.de> Date: Thu, 29 Nov 2012 18:29:02 +0100 Message-ID: Subject: Re: [acf] Re: [alpine-devel] Ideas for a new config framework, ACF2 From: Jerry Jacobs To: Der Tiger Cc: Natanael Copa , Alpine ACF , Alpine Developers Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQndOjiQfC3GlLG5muj68q4wpJw+W9CrGQf4CNIc8kQggcOxU9tuue6F9hYWaN8swytV/zyL As a theme suggestion if people didn't already know the sleek and nice organised Twitter Bootstrap which saves the clutter from re-inventing the wheel again: http://twitter.github.com/bootstrap/ On 29 November 2012 17:36, Der Tiger wrote: > Hi Natanael, > Hi Kaarle, > > Thanks for the comprehensive project plan! I fully agree, the current > ACF is good work, but needs overhauling, due to the problems stated in > the proposal. At this stage, I am just not sure if using JavaScript and > introducing client-side GUIs would be wise choices. > > - ACF is a configuration framework. IMHO, the configuration of most > Alpine systems is usually done by a single admin or at least a small > number of admins, who usually won't do administration work on a single > machine, simultaneously. Therefore, there is no significant server > performance benefit to be expected from outsourcing HTML page formatting > to the client side. ACF is not a "common user" interface. > > - Using JavaScript would introduce another programming language required > besides shell scripting and LUA to write ACF applications and modules. > Not every programmer interested in Alpine Linux is capable or willing to > handle an extensive number of programming languages in order to write > packages for Alpine Linux. The higher the required number of languages, > the fewer the number of people able and willing to contribute. > > - JavaScript is considered by all internet security majors to be a > potential security risk. This is not only due to security bugs in > various browsers (e.g. Chrome), but also due to the complexity of > JavaScript interaction with servers. Most companies filter JavaScript in > their local nets and allow it only on secure channels between clients > and the internet in order to make some websites work, where there is no > alternative method available than a client script (e.g. large volume > data browsing). Using JavaScript for configuration of a local > environment does compromise this security strategy. > > - JavaScript adds complexity to the HTML page transmitted and displayed. > It is likely, there are devices like PDAs or mobile phones, that won't > be able to handle certain JavaScript initiated reformatting of web pages > correctly. Admins do frequently use PDAs to reconfigure their servers > and routers or to look up some configuration on these devices. Also > there is the issue of DHTML incompatibilities between browsers. > > - KISS [1], as you certainly know. The more components are required for > the ACF to work, the higher the risk the next update will render the > system inoperable. And there are already JSON, LUA, minihttpd and > various other components involved. > > I, admittedly, do have strong reservations regarding both, Java and > JavaScript. A co-worker once eloquently put it to: "Java and JavaScript > in 99% of all cases are used by programmers to work around problems, > they either don't understand or don't care to solve properly." I've > largely experienced this to be true. > > Personally, I'd prefer a slim, slick and lean HTML-only configuration > GUI with pages generated by the host rather than the client. But than > again, I'm just an old f@rt, who has no appreciation for "modern", > blinking, multi-layered and high colour pop-up interfaces, that are as > slow as a snail and close to indistinguishable from any given first > person shooter action game. > > Kind Regards, Tiger > > [1] KISS = Keep it simple, stupid! > > Am 2012-11-29 15:23, schrieb Natanael Copa: >> Hi, >> >> Me and Kaarle have been playing with the idea "what if we started with >> ACF from scratch today, how would it be?". >> >> We collected some ideas and have now come up with a fairly detailed >> plan for an ACF2. >> >> Some of the goals: >> * better security design >> * remove unnecessary complexity from modules >> * organize the libs better >> * fix concurrency - no race conditions >> * improve CLI interface >> * modernize web GUI (write the gui in javascript) >> >> For web frontend we have been talking of using existing frameworks like >> Backbone.js and RequireJS. For backend we have been talking about using >> things like augeas and using Lua tables to create data models. >> >> Kaarle has written are more detailed plan: http://www.datakunkku.fi/acf/ >> >> This will require some massive work but I think we can do it. Hopefully >> it will be simpler to write models once the basic framework is in place. >> >> What do you think? >> >> -nc >> >> >> --- >> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org >> Help: alpine-devel+help@lists.alpinelinux.org >> --- >> >> > > > > --- > Unsubscribe: acf+unsubscribe@lists.alpinelinux.org > Help: acf+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---