JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for NOF-DIGI Archives


NOF-DIGI Archives

NOF-DIGI Archives


NOF-DIGI@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

NOF-DIGI Home

NOF-DIGI Home

NOF-DIGI  April 2002

NOF-DIGI April 2002

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: DHTML & Javascript

From:

Peter Dowdell <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

Fri, 12 Apr 2002 12:34:44 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (157 lines)

On 11 Apr 2002 at 16:24, H.E.Ayestaran wrote:

> Hi,
>
> I've been following the debate about the use of DHTML, and I
> thought that there are a few points that ought to be clarified.
> The problem with JavaScript, or most client scripting languages
> for that matter, is not so much the language itself (which is
> usually standard, although different versions may include
> different functionality, such as the 'try' and 'catch' keywords
> which actually create problems for older browsers), but the way

Variations in the core language can be controlled by specifying the language attribute in the
SCRIPT tag.  This allows a very modular approach to be taken to supporting different versions of
the language so that various flavours can exist side-by-side.

> in which it interacts with the client browser. This is done via
> the Document Object Model (DOM) which acts as an interface
> between the scripting language and the browser. So far so good,
> except for the VERY PROBLEMATIC FACT that the DOM changes from
> browser to browser, and from version to version (IE5.0, IE5.5,
> IE6.0, Netscape, etc). This creates SERIOUS compatibility
> problems, but most importantly, serious future-proofing
> obstacles, which in my view are just too great for these types
> of projects.

As we have discussed previously in this thread, an excellent way to combat DOM changes is to
test for support for the particular part of the DOM that you wish to manipulate.  There are some
superb object-oriented approaches to creating neutral code to handle this kind of thing: if you are
technically inclined I would very much recommend you de-construct some of Thomas Brattli's
scripts at www.dhtmlcentral.com.

>
> As an alternative I would suggest the use of a very basic
> interface (pure HTML), AS WELL AS an extra interface that uses
> one of two approaches: either Java (for the computationally
> unchallenged :-) or Macromedia Flash (for an easy way to create
> fairly interactive and impressive pages). In fact, Flash allows
> a fair amount of more serious programming if necessary, but most
> tasks can be easily achieved. Both these approaches provide a
> large level of compatibility, and a fair level of future-proofing
> (Java would seem better at this, although Flash is now is widely
> accepted). Finally, I would have to say that from experience, Flash
> cuts down development time very significantly, and reduces a lot of
> the effort in making sure that it works across all browsers (the
> plug-in does this for you).

It is pretty apparent these days that the original write-once-run-anywhere dream of Java is not
going to be a reality.  There is now a fragmented code base for Java where support for code is
reliant on the version of the Java Virtual Machine installed on the client, where neutral support
across platform is not consistent and where backward compatibility of the JVM is not assured for
all parts of the language.

Java deployments on the web are also likely to encounter more browsers where Java is disabled
as a security measure then is the case for javascript, which means that unless the java applet is
being provided purely for decorative reasons and can be ignored, a completely separate set of
pages will likely have to be produced to allow access to non-java enabled browsers.  One
advantage of javascript is that the script can be used to enhance a page without blocking the
core content from non-javascript browsers.

With regard to Flash, your comments regarding development time and power are valid.  However,
for public access projects it is important to understand that the proprietary nature of the format
means that there is no guarantee of free access to the format into the future  Further issues
include: that there are no possibilities for parsing the file structure to draw out information for
indexing purposes within the flash file, that there is little scope for repurposing the content within
the file (basically a binary compilation), it is not possible to create external links to some point
within the structure of the file.  And further more, the development of the plug-in is prone to
version problems too, and the nature of the .fla -> .swf process of creating a flash file means that
the loss of the source (.fla) can make future updating a huge problem.  Unless care is taken to
store the fla file in a methodical manner alongside the web content, maintenance can become
impossible.

So in conclusion, I would say that your basic premise of "SERIOUS compatibility problems" and
"serious future-proofing obstacles" apply just as much to java and flash as to javascript
applications, with the additional problems as discussed above to deal with too.

Peter Dowdell
NOF-digitise Technical Advisory Service



>
> Just my grain of sand...
>
> Horacio
>
> ---------------------------------------------------
> Horacio E. Ayestaran ([log in to unmask])
> SINE Project ICT Manager
> Rm 2.21 Bruce Building
> University of Newcastle-Upon-Tyne
> United Kingdom
> Tel: (+44)(191) 222-3654
>
>
> > -----Original Message-----
> > From: This list is for people who are receiving New
> > Opportunities Fund Digitisation funding.
> > [mailto:[log in to unmask]] On Behalf Of Tony Crockford
> > Sent: 09 April 2002 18:39
> > To: [log in to unmask]
> > Subject: Re: DHTML & Javascript
> >
> >
> > >Can any tell me if DHTML and JavaScript are acceptable within a NOF
> > >project. I can't seem to find any mention of them with the
> > guidelines.
> > >
> > >Thank you
> > >
> > >Tony Brindle
> > >
> >
> > From the FAQ:
> > (http://www.ukoln.ac.uk/nof/support/help/faqs.htm#DHTML)
> >
> > <quote>
> > 9. Can we use Javascript and DHTML on our NOF-digitise Web site?
> >
> > The use of client-side scripting (including javascript and DHTML
> > techniques) is acceptable, however please take note of the following
> > points:
> >
> > 1) The site must still be accessible to browsers which are
> > not scriptable. Use <noscript>< tags and "sniffer" routines
> > to determine the client capabilities and provide
> > content-equivalent pages to non-scriptable browsers.
> >
> > 2) Thoroughly test your pages for functionality under a wide
> > range of browser / platform configurations.
> >
> > </quote>
> >
> >
> > Seems fairly straightforward.
> >
> > Good info on sniffer routines can be found here:
> >
> <http://www.webreference.com/tools/browser/links.html>
>
> Note that  most client side routines use Javascript (sort of a
> catch-22 possibility) and this is the ultimate:
>
> <http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>
>
> Hope you find this useful.
>
> Tony
>
>
>
>
>
> --
> If you're suffering from email overload, check out NEO:
> http://www.caelo.com/a/rl.php3?i=3NTVV

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

January 2023
February 2021
October 2020
June 2020
March 2020
January 2020
October 2019
July 2019
January 2016
July 2015
April 2014
March 2014
January 2014
July 2013
June 2013
March 2013
January 2013
October 2012
July 2012
April 2012
March 2012
January 2012
December 2011
October 2011
August 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
April 2009
March 2009
November 2008
October 2008
September 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001
December 2000
November 2000
October 2000
September 2000
August 2000


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager