473,378 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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
http://www.dcs-chico.com/~denmarks/
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! =-----
Jul 23 '05 #1
3 1414
Ivo
"Dennis M. Marks" wrote
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.


One word: View Source and Scroll Down.
Jul 23 '05 #2
"Dennis M. Marks" wrote:
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.
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
"FutureTenseContentServer:5.5.0". I'm sure you could look information about
the product up using Google.
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.


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="javascript:..." ...> 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 "professional" sites I've seen.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #3
In article <41***********************@news.wanadoo.nl>, Ivo says...
"Dennis M. Marks" wrote
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.


One word: View Source and Scroll Down.


How many words?

--
Hywel

http://sponsorhywel.org.uk/
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Florent | last post by:
Hi, I run a few sites and I want to log in my main site database when/if there is a problem, (like a page not found or an unknown agent). But I don't want to give direct access to my database...
10
by: Thad | last post by:
Any javascript I could try on this? I've got a popup window on my site with the browser chrome removed. Another site's gone ahead and done a popup to my same .html page. The visitor to that site...
6
by: Jeremy S. | last post by:
Sorry if this is too far OT - I posted this in the IIS group and got no response - so here goes: What would be a good or recommended way to make a Web site in IIS6 inaccessible to users on the...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
0
by: HackingPSP | last post by:
I saw a lot of requests for a program like this, so I wrote it. Yeah, my site has "PSP software by Auri" but in this case it means "Pretty Sweet Programming" :) There's both a VS2005 add-in and a...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
3
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.