Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C1B159FBBA2 for ; Wed, 2 May 2007 11:20:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 45129-05 for ; Wed, 2 May 2007 11:20:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 2A4B19FBB88 for ; Wed, 2 May 2007 11:20:00 -0300 (ADT) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 8B2D6754AD; Wed, 2 May 2007 15:19:29 +0100 (BST) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 32CA82740E7; Wed, 2 May 2007 15:19:29 +0100 (BST) Message-ID: <46389DF1.9050102@archonet.com> Date: Wed, 02 May 2007 15:19:29 +0100 From: Richard Huxton User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Dmitry Turin , PostgreSQL SQL List Subject: Re: Fwd: Re[2]: We all are looped on Internet: request + transport = invariant References: <14110647859.20070413105812@narod.ru> <20070413150936.GA31517@phlogiston.dyndns.org> <1684192906.20070419090827@narod.ru> <20070419134808.GB14187@phlogiston.dyndns.org> <814860828.20070420120819@narod.ru> <4628A08F.9050804@archonet.com> <1177072978.760.40.camel@pampa> <7939450187.20070420185808@narod.ru> <1177095450.760.71.camel@pampa> <1312216062.20070423112045@narod.ru> <1177329421.737.39.camel@pampa> <3817356375.20070424150200@narod.ru> <462DFAD4.7030001@archonet.com> <3512994062.20070425113253@narod.ru> <462F1781.4070501@archonet.com> <4412563734.20070426112805@narod.ru> <46306668.10506@archonet.com> <13119753000.20070426132754@narod.ru> <46309E8E.4080704@archonet.com> <1531478984.20070427171624@narod.ru> <46320CAD.1020307@archonet.com> <15918642750.20070502170512@narod.ru> In-Reply-To: <15918642750.20070502170512@narod.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/5 X-Sequence-Number: 28286 Dmitry Turin wrote: > Good day, Richard. > > RH> With 7 flights it is easy to see if #2 matches #4. With 700 it is not so > RH> easy to see #2 matches #504. With a tree-structure it is impossible to > RH> sort leaf nodes without restructuring the tree. > > What is "#2 matches #4" ? Individual flights might occur in one or more options when building a flight-plan. > What sorting are you imply ? None. > To be in safe side: > TML allow table as particular case of tree > (when records of one table, i.e. nodes, have not sub-records, i.e. sub-nodes). > > RH> Never heard of eHTML, and I don't believe you can build a public-facing > RH> website with it unless it's at least as complicated as php. > > I try > http://lists.w3.org/Archives/Public/public-html/2007Apr/1384.html > http://lists.w3.org/Archives/Public/public-html/2007Apr/1380.html Nothing there to build a website with - by which I mean the logic required for an interactive website. >>> No. html-page send xml-data to TML-function "main". >>> Without any PHP. > RH> But it can't. It's HTML. You can't map arbitrary user-interface (e.g. > RH> perhaps I want users to click on a map of the world to pick cities) to a > RH> query language without some sort of glue language. > > You click on a map, and form send data to DBMS > (DBMS listen port#80 and accept HTTP). > What is impossible ? 1. HTML can't locate the nearest valid city based on where you clicked. HTML+Javascript could perhaps, but you didn't want people learning programming languages. 2. There isn't a database that listens on port 80 for HTTP 3. If there was, you'd still need it to translate a HTTP POST/GET into an internal query (in SQL or TML if there existed an implementation of TML). For non-trivial cases, that implies a programming language. 4. You'd still need logic to validate/transform input values and do the same for output values. For non-trivial cases that involves a programming language. >>> RH> 5. PHP formats results >>> TML extract xml to address of requester. > > RH> But no-one's going to want raw XML are they? They'll want properly > RH> formatted results > > I agree. > Results will formatted by CSS (or XSL). > > Even XSL is easier for scientists, than PHP-library. Why are scientists building a flight-planning website? -- Richard Huxton Archonet Ltd