pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Clark <matt@ymogen.net>
To: Bruno Wolff III <bruno@wolff.to>
Cc: Pierre-Frédéric Caillaud <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Restricting Postgres
Date: Thu, 04 Nov 2004 23:22:22 +0000
Message-ID: <418AB9AE.1010009@ymogen.net> (raw)
In-Reply-To: <20041104231429.GA15541@wolff.to>
References: <003301c4c29a$f052d910$8300a8c0@solent>
	<opsgyi89iccq72hf@musicbox>
	<418A98C0.9010107@ymogen.net>
	<opsgyneoj4cq72hf@musicbox>
	<418AAF12.8030307@ymogen.net>
	<20041104231429.GA15541@wolff.to>


>Javascript is too powerful to turn for any random web page. It is only
>essential for web pages because people write their web pages to only
>work with javascript.
>  
>
Hmm... I respectfully disagree.  It is so powerful that it is impossible 
to ignore when implementing a sophisticated app.  And it is not 
dangerous to the user so long as they have a popup blocker.  
Commercially, I can ignore the people who turn it off, and I can gain a 
huge benefit from knowing that 95% of people have it turned on, because 
it gives my users a hugely better experience than the equivalent XHTML 
only page (which I deliver, and which works, but which is a fairly 
depressing experience compared to the JS enabled version).

It is _amazing_ how much crud you can take out of a page if you let JS 
do the dynamic stuff (with CSS still in full control of the styling).  
Nice, clean, semantically sensible XHTML, that can be transformed for 
multiple devices - it's great.

An example:

<a class="preview_link">/previews/foo.wmv</a>

But we want it to appear in a popup when viewed in certain devices....  
Easy - Attach an 'onclick' event handler (or just set the target 
attribute) when the device has a suitable screen & media player, but 
leave the markup clean for the rest of the world.







view thread (34+ messages)  latest in thread

Message-ID: <418AB9AE.1010009@ymogen.net>
Permalink:  ../418AB9AE.1010009@ymogen.net/
Also on:    postgresql.org/message-id/418AB9AE.1010009@ymogen.net

 · 

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-performance@postgresql.org
  Cc: matt@ymogen.net, bruno@wolff.to, lists@boutiquenumerique.com
  Subject: Re: Restricting Postgres
  In-Reply-To: <418AB9AE.1010009@ymogen.net>

* 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