473,796 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1447
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
"FutureTenseCon tentServer: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="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 <gw*****@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq

Jul 23 '05 #3
In article <41************ ***********@new s.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
2973
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 to the other sites, so how could I safely pass data, (without passwords), from one site to another? Thanks. Simon
10
3347
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 doesn't realize it unless he looks at the opener page's source code. I'm wondering if there's a javascript solution for this? I've tried using the window.opener.location.replace with the href being my absolute URL, and triggered by an onUnload...
6
2624
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 Internet. My situation is that I will periodically update a ASP.NET Web application. While I am making the update (which will take only a couple of minutes, max) and subsequently checking that everything works as planned after the update (which may...
6
3638
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 list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
0
1571
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 standalone app (separate downloads, you don't need both). This is my second developer utility this year - my first being the Lorem Ipsum generator from a few weeks back. Download and get more info on WebPrecompiler at...
20
4289
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 is structured as an upside-down tree, and (if I remember correctly) never more than 4 levels. The site basically grew (like the creeping black blob) ... all the pages were created in Notepad over the last
3
2413
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 down all the files and create a local project from it? I know things like DreamWeaver will do this ... and I have been poking around VS 2005 and haven't seen anything that jumps out at me.
16
2514
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 redirected to site "B" for login. After login at site "B", you see the link to site"A". When you click it, you see login page for site "A". Is it possible? Thanks.
3
4120
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 published. "Allow precompiled site to be updateable" is NOT checked. "Enable strong naming on precompiled assemblies" is NOT checked. However, "Use fixed naming and single page assemblies" IS checked. I did with the idea that if I call a single page from...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10467
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10244
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.