From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: Package List on Web Site Date: Sun, 08 Feb 2015 09:58:51 -0500 Message-ID: <87y4o8h2l0.fsf@fsf.org> References: <20150208074424.GA5353@jocasta.intra> <87zj8oqxbz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKTK3-00010g-PQ for guix-devel@gnu.org; Sun, 08 Feb 2015 09:58:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKTK2-0001Tu-Qv for guix-devel@gnu.org; Sun, 08 Feb 2015 09:58:55 -0500 In-Reply-To: <87zj8oqxbz.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= , John Darrington Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > John Darrington skribis: > >> In particular, I have noticed that http://gnu.org/s/guix/package-list.ht= ml is now >> over 1.5 MB in size and is startign to take an unacceptably long time to= load (at >> least for me). > > I think it=E2=80=99s rendering that takes time, not transfer per se (unle= ss you > have a very slow connection.) > > I would like it to use David=E2=80=99s guix-web JS code to add the search= box > and multiple-page split. I suspect this would address the rendering > time and usability issues. But of course, that would need help from > someone knowledgeable... :-) We could make a specialized application that did this, since guix-web will soon enough be concerned with authentication and other things that aren't needed here. To do things the way guix-web does, it would require a Guile server component for the JSON API. > It would be ideal if this were done in a =E2=80=9Cprogressive enhancement= =E2=80=9D > fashion, such that it can still be viewed in emacs-w3m. Yes, agreed. This would be the hardest part, because guix-web is designed as a "single-page application", using JavaScript for all rendering. I would be inclined to write this package list browser in the same fashion, because it results in much more elegant code than the jQuery soup we would otherwise be in. What should the non-JS fallback viewer look like? Should we just display the full list as we do now? --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate