HTML/CSS What is XHTML and How Can I Use It to Create Dynamic Webpages?

  • Thread starter Thread starter jeff1evesque
  • Start date Start date
AI Thread Summary
The discussion centers on the creation of dynamic web pages and the technologies involved. Key points include the distinction between server-side and client-side dynamic pages, with server-side technologies like PHP, ASP.NET, and Ruby on Rails generating HTML from databases upon request, while client-side technologies, primarily JavaScript and frameworks like jQuery, update portions of the page without a full reload. The conversation also touches on the importance of understanding the underlying programming languages and database interactions necessary for dynamic web design. Resources for learning, such as "Eloquent JavaScript" and jQuery, are recommended, along with clarification that XHTML's stricter syntax does not inherently relate to a page's dynamic nature. The historical context of DHTML is mentioned, noting its limited applicability. Overall, the focus is on the foundational knowledge required to effectively design and implement dynamic web content.
jeff1evesque
Messages
312
Reaction score
0
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 http://www.wix.com/ysepulveda/Fuze---Community-Design?partner_id=WMGs4POB1ko-a&orgDocID=lmry4u1Lq3I-a&wixComputerID=emqOuHalPrn%2B7Vbc0DbOb0TBRICnqbUz6v2jPHNHxjI6fbKoKOgUjxNqjdcVB3ZE0psLvBM2y3w3jvk6T8XcJA%3D%3D&wsess=229f537d-525f-4411-aab9-6b0d6cc1f34f&gu_id=dc092b73-9aff-4734-918c-6b19f4e5e2b7&experiment_id=g_Web_page_templates" Could someone point me to a source (perhaps a book) that I could learn from?

Thanks.
 
Last edited by a moderator:
Technology news on Phys.org
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?
 
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.
 
Last edited:
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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top