From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Have you all gone crazy? Was: On being web-friendly and why info must die Date: Sat, 20 Dec 2014 15:35:37 +0100 Message-ID: References: <87388bnzha.fsf@newcastle.ac.uk> <87k31mdbhe.fsf@uwakimon.sk.tsukuba.ac.jp> <87tx0qiv45.fsf@fencepost.gnu.org> <87h9wqd3i5.fsf@uwakimon.sk.tsukuba.ac.jp> <87fvcacs7k.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1419086195 21500 80.91.229.3 (20 Dec 2014 14:36:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2014 14:36:35 +0000 (UTC) Cc: Phillip Lord , "Allen S. Rout" , David Kastrup , Emacs-Devel devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 20 15:36:26 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y2L8r-0000pm-TK for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2014 15:36:26 +0100 Original-Received: from localhost ([::1]:34557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2L8r-0003bY-3T for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2014 09:36:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2L8n-0003bR-9A for emacs-devel@gnu.org; Sat, 20 Dec 2014 09:36:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2L8m-00084y-DN for emacs-devel@gnu.org; Sat, 20 Dec 2014 09:36:21 -0500 Original-Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:64813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2L8k-00084b-Ly; Sat, 20 Dec 2014 09:36:18 -0500 Original-Received: by mail-wg0-f45.google.com with SMTP id b13so3502512wgh.4; Sat, 20 Dec 2014 06:36:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=bj6XoKavvZgRr9BXsL8UT++UvjfYAUo416tgoMXzyWM=; b=p2feX5weKjE0nVDzwN8WIkbtFDrzm9w3ejtlXYtKCOPUowtQV2fFDbtfM7NqzzM44p gDJ2GdSo0SZfh5ShMypnVksyWUNZxtzig+OLMfvv01Vlr69MabI0qlWRlIm33DVaM5ks 8MiBBuWHdvbWL/Zk5nkuhhx1tpl7dv0S5yoa8Hs2DGM1H1uBWtpeRsFrh1XLMeyEo+F2 prmJP536ql4g+ft3BBc0yR3OVzA1SRMH9O7dgk1Bgs81ApeU7aMtnu13sdBnIXGcjpKp 3orHrRcBFDor4pk3aK3tOVZWCcrVIciDILn/P5eUs9H8oUDOXvPhTuSRtRqIVISFw2VA t7Ag== X-Received: by 10.180.20.106 with SMTP id m10mr15268823wie.1.1419086177783; Sat, 20 Dec 2014 06:36:17 -0800 (PST) Original-Received: by 10.194.93.228 with HTTP; Sat, 20 Dec 2014 06:35:37 -0800 (PST) In-Reply-To: <87fvcacs7k.fsf@uwakimon.sk.tsukuba.ac.jp> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180377 Archived-At: On Sat, Dec 20, 2014 at 3:26 PM, Stephen J. Turnbull wrote: > Lennart Borgman writes: > > > With HTML5 you can use "ajax" which can make it very fast to fetch > > small nodes. You simply just update that information on the web > > page (instead of fetching the whole web page). > > Sure. However, doing AJAX well requires fairly sophisticated scripts, > of the size that are typically compressed into an unreadable mishmash > for web transport. Do you have a GPL-compatible package in mind? I think with HTML5 you do not need any package any longer. You just write it in HTML5/EcmaScript. (I do these things very often now.) > If you want to maintain multiple back > ends, that could get rather messy if you need to keep it AJAX- > compatible. You can handle that very easily. Just write the normal HTML code and then add EcmaScript events to the clickable links. If EcmaScript is not turned on or not available then the normal HTML rules applies and works. Otherwise the click event takes over and replaces the appropriate part of the web page. Of course you have to double the web page a bit. You have to write the whole web page somewhere and the replaceable content somewhere else. And you have to have code to bind these things together, but it does not look like a very big job to me. > I think all of these are likely to be resistance points without a > proof of concept implementation. Someone please give me a pointer to the code that writes the HTML pages now. I have forgotten.