Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference on using JavaScript, VbScript, JScript ?? 1

Status
Not open for further replies.

Cap2010

Programmer
Mar 29, 2000
196
CA
HI,
Want to know

1) Why Javascript is used on Client side and not VB Script?

2) Difference between Portal and a Web Site?

Appreciate your answer for the above.

Thanks
 
1) javascript and vbscript can both be used on the client and the server for programming - only IE (normally) supports vbscript on the client-side, which is why it is not as popular as javascript

2)a portal is a large web site, usually having many exits to other web sites jared@aauser.com -
 
HI,

Thanks, for the answer. Now, as the development of web is going on, A New term as come up. Though aware of
XML, XHTML.

XML is of Microsoft.
and
XHTML (a combination of XML and html)

Want to know the exact differences, as such, have a inferences that XHTML is better than XML and by using XHTML, pages are accessible by wireless devices also.

Further Comments are welcomed.


Thanks,

Lad
 
xml is a markup language used for describing data. i could be wrong, but i dont think microsoft made xml.

anyways, it stans for eXtensible Markup Language.

you find info at
as for xhtml, xhtml is making html compliant with xml, also adding some features like custom tags and what not.. you can also find info on that at luciddream@subdimension.com
 
Just thought I'd add my 2c....

While XML was not created by Microsoft (it is an initiative of the W3c and luciddream stated) - Microsoft is one of the largest supporters of the standard (I understand .NET and XP products make heavy use of it)

XHTML applys XMLs structure rules to the HTML standard - things like "No empty tags, all tags should be closed"

For example, in HTML you define an image thus:
<img src=&quot;image.gif&quot; ...>

XHTML requires all tags should be closed, so you would then do:
<img src=&quot;image.gif&quot; ...></img>

But XHTML also requires that there be no empty tags, so you would then change it to:
<img src=&quot;image.gif&quot; ... />

Another rule is that structure in opening/closing tags must be strictly followed, eg the following tag structure would not validate as XHTML:
<font...><i></font></i>
But the following will:
<font...><i></i></font>

Anyway, I'm rambling on. The point I was intending to make was that XHTML is geared towards a common standard in the way Markup is coded - keeping everything structured and logical - no spagetti code :)
 
just to mess up everything >:) ...
i'd add that now, there is xsl (as far as i know, a w3c standard, but only supported by micro$oft), to translate xml in (viewable) html (or xhtml, depending on how compliant you are ;]])
i've tried it : fine :) and very funny ;))
 
you can even use css to make xml into a viewable format... its pretty cool luciddream@subdimension.com
 
can you be as precise (detailed ?) with css than with xsl ? i'm not sure you can have the &quot;for each&quot; or &quot;if&quot; functions in css without having to modify (slightly) the xml - can you ? (i'll play a bit more with css & xsl and let you know ;]]])
 
XSL and CSS aren't really related. CSS has more to do with presentation and design with a little support for DTD's and schema's, etc.

XSL, on the other hand, is quite powerful in contrast to CSS. Take a website, for example, that has a user fill out a form. When this form is submitted, a whole backend process is then triggered. Being that the form is submitted in XML, XSL can do the following all at the same time:

Transform that XML into a pdf format and send it to an investor (example).

Transform it into html and display for the user that inputed in the data.

Transform it into a printable version (word, pdf again, whatever)

Transform it into an email friendly format (possibly even html) and send it as a receipt or notification...

XSL used with XML is a VERY powerful tool for enterprise applications.

XML has been around for a while. MS Word uses it almost exclusively, and has for some time. It's one of the 'smartest' protocols out there, but it has nothing to validate yet... &quot;Absorb what is useful, discard what is not. Add what is uniquely your own.&quot; - Bruce Lee - The Tao of Jeet Kune Do
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top