pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Dmitry Turin <sql4-en@narod.ru>
To: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: Fwd: Re[2]: We all are looped on Internet: request + transport = invariant
Date: Wed, 02 May 2007 15:19:29 +0100
Message-ID: <46389DF1.9050102@archonet.com> (raw)
In-Reply-To: <15918642750.20070502170512@narod.ru>
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>

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



view thread (16+ messages)

Message-ID: <46389DF1.9050102@archonet.com>
Permalink:  ../46389DF1.9050102@archonet.com/
Also on:    postgresql.org/message-id/46389DF1.9050102@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, sql4-en@narod.ru
  Subject: Re: Fwd: Re[2]: We all are looped on Internet: request + transport = invariant
  In-Reply-To: <46389DF1.9050102@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox