|
|
 |
|
|
Pages: 1
shtml, html, htm, wtf?
(Click here to view the original thread with full colors/images)
Posted by: Scav
Ok i think ive got the general idea:
shtml = reloads whole page everytime?
htm = what i thought was the standard
html = dont have a clue here but i know one of html was origionaly for macs or couldnt be read by them or something and the other bridged the gap.
Ive always been doing .htm cause thats the way i was learned 8) hehe, but this next site im doing is gonna be sorta big so it would kill me to go through and change all the links if i found later i needed shtml or something for my pages.
Anything any of you know about these would be great, thx.
Posted by: DemonBob
shtml = Is for pages that use SSI
htm = Is shorthand for HTML
html = Is the original extinsion.
Atleast thats what I think.
http://www.opentechsupport.net/forums/smile.gif
------------------
"Memories never fade, Nor does the pain with them. It only lessens with time. The only thing that we as humans can do to survive is to look forward in life."
- DemonBob the original Malo hombre
http://clannewconclave.cjb.net
http://systemoverload.cjb.net
Posted by: Scav
SSI? hehe whats that? So should i just use htm then? my site is gonna have an updates/news section i guess and if i remember correctly my pages didnt update everytime on the web when i use .htm but .shtml pages do... so does that mean i should use .shtml for my pages?
Posted by: TotalRecall
SSI = Server Side Includes
If I remember right, .htm is short for .html because older browsers only supported 3 letter extensions.
Here's a nifty program, I use it all the time when I forget what code to use http://www.opentechsupport.net/forums/smile.gif
http://www.htmlib.com/
------------------
Hamster Liberation Front
Changes aren't permanent, but change is.
Posted by: DemonBob
Well the reason SSI (server side includes) updates. Is because it is a code that is used in your webpage that tells the sever to 'include' another document. As in this site for example. I know that Laggy is using SSI to retrive the news everytime the page is refreshed. So if the news was updates it will retrive the updated version of it. And the pricelist is acually a seperate html doc that is called in to that location using SSI. That is why it is easy to keep up with.
Now for this site. Its has partly to do with the UBB that laggy is running. and the mods he has installed. If you want to learn more here are a few links that might help.
http://www.bignosebird.com/ssi.shtml http://www.builder.com/Authoring/MoreStupid/ss04.html
I hope I have shined some light on the subject for you. Keep in mind that I am learning this stuff as well. So my information maybe a little off. http://www.opentechsupport.net/forums/smile.gif
Tell me if I helped.
BTW, You do not have to have the extension shtml. In order to use SSI. It just allows the page to load faster if it has SSI.
------------------
"Memories never fade, Nor does the pain with them. It only lessens with time. The only thing that we as humans can do to survive is to look forward in life."
- DemonBob the original Malo hombre http://clannewconclave.cjb.net http://systemoverload.cjb.net
<FONT COLOR="#FF0000" SIZE="1" FACE="Verdana, Arial">[This message has been edited by DemonBob on January 28, 2001 @ 07:17 PM]</font>
Posted by: Canis Lupus
Hey Scav http://www.opentechsupport.net/forums/smile.gif
SSI is a useful thing to use if you have a site that has LOTS of pages that have a recurring menubar or a part that has to show up on each and every page in your site. You just make one page, and that particular line of code/text will appear on ALL the pages that have the SSI tags that call for that particular page.
This means if you update just that one page, all the pages that call it will also be updated. Really nifty and facilitates website maintainance and administration.
HTML was supposed to be the original extension (because it's a true acronym for HyperText Markup Language), but since older servers during the time could only support three-character file extensions (remember DOS?), HTM was also adopted as a standard. Nowadays, the two are interchangeable and a site will work on either of them - no difference whatsoever.
If you plan on having more than five pages in your site, and if your server supports it, go with SSI. Less headaches when doing updates, and allows you to make very big changes with less effort.
P.S. On regular servers, it is a MUST to have your page end in SHTML or SHTM to use SSI. In order for HTML or HTM files to support SSI, they have to be parsed for SSI on the server end. Just wanted to make that clear http://www.opentechsupport.net/forums/smile.gif
------------------
If you gaze into the abyss... you might fall off the edge...
Posted by: Scav
Hmm interesting... I was just gonna use javascript and have it document.write the menu bars... hmm maybe i should give this ssi thing a look then if it can do that as well... heh kinda glad the actual coding part isnt too far along 8).
Posted by: Canis Lupus
Hehe, you could also do the javascript coding to make the includes, but SSI is more reliable since it works even on browsers that have java and javascript disabled (ya, there are some paranoid surfers who disable it, hehe).
------------------
If you gaze into the abyss... you might fall off the edge...
Posted by: Sizlis
Quote:
Originally posted by Scav:
I was just gonna use javascript and have it document.write the menu bars
|
Scav Like Laggy said SSI is more reliable, also you have to look at what type of jscript you were thinking about writing. I've seen jscript nested inside loops the fill four or five pages after they finish. Server Side stops that and let you call pages which is more efficent.
Posted by: Gerbilo
damn you laggy, the one thing I could have contributed to this topic is what HTML stands for, but nooo, you had to go ahead and post it! jerk!
lol, JK
I asked someone about HTML, HTM, SHTML, i forget who, is there JHTML too? or something with a J i swear i've seen it.
------------------
Hampster Liberation Front
Just because you're paranoid doesn't mean they're not out to get you.
Posted by: Canis Lupus
LOL Gerb, no offense, just wanted to cover all bases http://www.opentechsupport.net/forums/tongue.gif
There are lots of flavors for that web extension, depending on what server-side scripting you're using. The extensions have been parsed to make use of that particular scripting, hence they needed to be classified differently (i.e. preventing .shtml extensions from running cold fusion scripting, etc).
They vary, from shtml, phtml, jhtml, dhtml, vhtml, etc...
------------------
Those who expect nothing will never be disappointed...
Posted by: Gerbilo
ive seen s,j,d not p or v though. http://www.opentechsupport.net/forums/smile.gif
do they all work the same way?
------------------
Hampster Liberation Front
Just because you're paranoid doesn't mean they're not out to get you.
Posted by: Kerash
All work the same? They are all processed the same if thats what you mean.
HTML, Java, Javascript, DHTML, and GayVB are all Object-Oriented Languages. Though, if thats what your question was, the extension of the src file has nothing to do with the way it is processed, So, Yes they all work the same
------------------
Need Extra Help? http://www.kerash.org
Posted by: Canis Lupus
Quote:
Although the extension of the src file determines which server-side scripting does the processing, unless the server parses all web extensions to be useable by all available server-side scripting on that particular server (which is highly unlikely).
If I save something as page.cfm, it can read and execute Cold Fusion scripting within the page. It's not gonna happen if I rename the exact same file as page.shtml http://www.opentechsupport.net/forums/smile.gif
------------------
Those who expect nothing will never be disappointed...
Posted by: Kerash
Question: It's all processed by the same processor when the cookies crumble is it not?
:/
------------------
Need Extra Help? http://www.kerash.org
Posted by: Kerash
And also: Whats cold Fusion? This is the second time i've heard it used on these forums, A user was asking for help, and Stated that he used it, Unfortunatly i couldn't give him info on this application, Though i did provide enough information On access for what he is trying to do:http://www.opentechsupport.net/foru...TML/000020.html
But i couldn't help him with this ' Cold Fusion ' Any documentation on it that your aware of i can have or veiw? Would be appreciated for Future help when users ask
------------------
Need Extra Help? http://www.kerash.org
<FONT COLOR="#FF0000" SIZE="1" FACE="Verdana, Arial">[This message has been edited by Kerash on February 19, 2001 @ 11:18 AM]</font>
Posted by: Kerash
Plus, I want OpenTechSupport.net To be my new home, hehe It's got Nice and comfy Seats
That is, If you'll have me
------------------
Alot of Folks *** with me.. It's hard to hang out in Crows.....but i guess thats the price you pay, To be such a big shot like i am....:...People.. don't know, about things i say or do, They don't understand... about the Sh!t that i've been thru.....
Posted by: Canis Lupus
Cold Fusion is a web application server developed by Allaire, very popular for e-commerce websites. I see it commonly used in shopping carts and member databases for large-scale retail sites.
Personally, I haven't tried it (my RL job is developing and maintaining an online wine site), and we use active server pages using SQL 7 on an IIS 5.0 server. Even if I haven't tried cold fusion yet, I think it's better than what our store is using.
You can find out if a site is using Cold Fusion if you see .CFM in the file extension http://www.opentechsupport.net/forums/smile.gif
p.s. Sure Kerash, everyone is welcome here. Just as long as you follow the pretty lax "unspoken" house rules we have here http://www.opentechsupport.net/forums/biggrin.gif
------------------
Those who expect nothing will never be disappointed...
Posted by: Kerash
Excellent, I'll look into it on a later date
Thank you.
------------------
Alot of Folks *** with me.. It's hard to hang out in Crowds.....but i guess thats the price you pay, To be such a big shot like i am.......People don't know, about things i say or do, They don't understand... about the Sh!t that i've been thru, People Claiming they know me, When they don't know the half of it.
|
|
|
|
|