Amtrak Web Site

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis M. Marks

    Amtrak Web Site

    Take a look at the new www.amtrak.com site. It looks like all pages are
    built dynamically using javascript. All of the page sources look the
    same.

    I used to have direct links to some of the pages but I have not been
    able to figure out the new link format yet.

    --
    Dennis Marks

    Mail to the return email address is bounced.
    Go to web site for active email address.


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
  • Ivo

    #2
    Re: Amtrak Web Site

    "Dennis M. Marks" wrote[color=blue]
    > Take a look at the new www.amtrak.com site. It looks like all pages are
    > built dynamically using javascript. All of the page sources look the
    > same.[/color]

    One word: View Source and Scroll Down.


    Comment

    • Grant Wagner

      #3
      Re: Amtrak Web Site

      "Dennis M. Marks" wrote:
      [color=blue]
      > Take a look at the new www.amtrak.com site. It looks like all pages are
      > built dynamically using javascript. All of the page sources look the
      > same.[/color]

      They are built dynamically, but not by client-side JavaScript. The URL you
      are redirected to hints at the technology being used:

      http://www.amtrak.com/servlet/ContentServer?...

      The term "servlet" is most closely associated with server-side Java. Just
      because a site uses a "Fusebox" methodology <url: http://www.fusebox.org/
      /> and all the pages resemble each other does not mean they are using any
      particular client- or server-side technology. What they are doing could be
      done with Perl, PHP, ASP, ColdFusion or any other server-side technology
      you care to name. It could also be done using client-side JavaScript, but I
      wouldn't recommend it.

      In this particular case, it appears they are using something called
      "FutureTenseCon tentServer:5.5. 0". I'm sure you could look information about
      the product up using Google.
      [color=blue]
      > I used to have direct links to some of the pages but I have not been
      > able to figure out the new link format yet.[/color]

      http://www.amtrak.com/servlet/ContentServer is a Java servlet that takes
      the "pagename" parameter, reads and executes the resource from their server
      and returns the results to the client. I'm not convinced it's a
      particularly user friendly way to structure a site. It makes it difficult
      to "back up a level" simply by chopping a bit off the URL and it prevents
      people from knowing where they are easily within a site.


      As for the topic of this newsgroup, the client-side JavaScript on the home
      page does not seem particularly well-authored. It uses the LANGUAGE
      attribute, which is deprecated. It uses HTML <!-- --> comments within
      <SCRIPT> tags, which are unnecessary.

      It uses <A HREF="javascrip t:..." ...> which is poor style and makes those
      links completely inaccessible to anyone with a browser that does not
      support JavaScript, or does not have JavaScript enabled. This is
      particularly bad on a site like Amtrak's. Imagine a company that blocks
      client-side JavaScript at their firewall due to security policies they have
      put in place. Imagine employees of this company travel by Amtrak. They can
      no longer use the Web site for self-service. They now have to contact
      Amtrak by phone to obtain the information they require. Amtrak has turned
      what is potentially a valuable customer resource and money saving device
      into something which now costs them more money.

      Oh well, at least they aren't using a dynamic client-side menuing system
      with no alternative navigation like some "profession al" sites I've seen.

      --
      Grant Wagner <gwagner@agrico reunited.com>
      comp.lang.javas cript FAQ - http://jibbering.com/faq

      Comment

      • Hywel

        #4
        Re: Amtrak Web Site

        In article <414856c7$0$417 05$1b2cd167@new s.wanadoo.nl>, Ivo says...[color=blue]
        > "Dennis M. Marks" wrote[color=green]
        > > Take a look at the new www.amtrak.com site. It looks like all pages are
        > > built dynamically using javascript. All of the page sources look the
        > > same.[/color]
        >
        > One word: View Source and Scroll Down.[/color]

        How many words?

        --
        Hywel


        Comment

        Working...