Register to reply

XHTML (Dynamic Webpages)

by jeff1evesque
Tags: dynamic, webpages, xhtml
Share this thread:
jeff1evesque
#1
Aug21-09, 06:38 PM
P: 312
Hello,

I posted earlier about flash videos (which I am still interested about), but after a quick review of some concepts I think I would like to get into designing dynamic web-pages. I would like to incorporate interactive features on my web-pages. Could someone point me to a source (perhaps a book) that I could learn from?

Thanks.
Phys.Org News Partner Science news on Phys.org
Climate change increases risk of crop slowdown in next 20 years
Researcher part of team studying ways to better predict intensity of hurricanes
New molecule puts scientists a step closer to understanding hydrogen storage
minger
#2
Aug24-09, 09:50 AM
Sci Advisor
P: 1,498
I'm not sure what you mean by "dynamic". The first link you posted is really just an overly-bloated, bandwidth-hogging site. To me dynamic means dynamic data. Data that is called up during the page loading process, e.g. using PHP and mySQL for one.

If by dynamic you mean using flash interaction, then again, you'll need the software and plenty of time to learn it. If you want to pull data from databases, then google php and mysql, its free and not too bad.

Also not sure what you mean by "interactive features". Hyperlinks are interactive, no?
DavidSnider
#3
Aug24-09, 09:54 AM
PF Gold
P: 469
As minger pointed out there are multiple meanings to dynamic.

There are server-side dynamic pages that refresh the entire page for every request, such as PHP, ASP .NET, Ruby on Rails, Java Struts, etc.

Then there are client-side dynamic pages where only portions of the page are updated for a specific action performed on the page. This is almost always done with a mixture of Javascript and one of the frameworks above.

Learn Javascript:
http://eloquentjavascript.net/

and jQuery
http://jquery.com/

XHTML is unrelated to whether or not a page is dynamic.

harborsparrow
#4
Aug30-09, 01:37 PM
PF Gold
harborsparrow's Avatar
P: 347
XHTML (Dynamic Webpages)

XHTML is HTML with stricter syntax rules so that it is easier for browsers (and related programs) to parse.

Some years ago, Microsoft had a version of HTML that was specific to the IE browser, called DHTML (Dynamic HTML). It was not usable in non-Microsoft browsers and so did not survive.

Nowadays, a "dynamic web page" most likely refers to a web page for which the HTML (or XHTML) is constructed at the last instant by a program, executing on the web server, which gets information from a database. The database must be reachable by the web server. For such a "dynamic web page", the HTTP request sent by a browser results in a program running on the web server, and the output of the program is HTML (or XHTML) that is then sent back to the browser as a web page.

If you want to write "dynamic web pages" that pull information from a database, you have to choose a programming language that can run on the web server, and you need a database or something that acts like a database. Some languages, such as PHP, *can be* (but are not automatically always) installed on either a Microsoft-based web server or a Linux/UNIX based ("Apache") web server. Other languages are specific to which type of web server you are using. For example, Microsoft's languages (C# and VB.NET) can be used on a Microsoft web server with its default ASP.NET web framework. Java language can be used on an Apache web server, but only IF an extra framework (typically called a servlet container) has been added to the web server. Likewise, special installations must take place on the web server if you want to use, say, Ruby or Python to write a program that outputs "dynamic web pages".

Hope this helps.


Register to reply

Related Discussions
XHTML (Flash) Programming & Computer Science 2
XHTML indenting tables? Programming & Computer Science 3
Cascading Style Sheets in XHTML 1.0 STRICT Programming & Computer Science 4
About Dynamic WebPages Computing & Technology 15
Well-programmed and designed xhtml/css sites General Discussion 0