Site-making question (open to all)

General discussion about Kanzenshuu, its content, features, contests, community, etc. This is NOT an off-topic forum!
User avatar
desirecampbell
Moderator
Posts: 4296
Joined: Sat Oct 22, 2005 9:55 pm
Location: Ontario, Canada
Contact:

Post by desirecampbell » Fri Nov 18, 2005 10:53 pm

lost in thought wrote:The text within a file can become quite long in the tooth, so seperating it at where you display your content can make fixing areas within incredibly easy if you know what you're doing.
I still don't understand how it's easier. Option 1- look at whole layout at once. Option 2- look at half of the layout at a time. Which seems easier?
If you're sure it's better, I'd love to hear it, really, I just can't see how it would help.
lost in thought wrote:Obviously you're not using Notepad, not to mention know what you're doing.
I do use notepad. I do know what I'm doing. And I do think you're trying to insult me for no reason. You're starting to sound a little childish.
lost in thought wrote:This isn't assembly, and old code is only useful to people who don't observe standards. New standards are inflexible, and just because you can use old code doesn't mean you should, or for that matter, should learn it.
What? You shouldn't learn old code just because it's old? It's not 'unsupported' it's just not the suggested code used in 4.01 - it was in 4.0 but they went up one hundredth of a version :roll: so we need to stop using tables.
lost in thought wrote:Stop telling him to use deprecated code, you're totally running him in the wrong direction.
I'm trying to TEACH him to code. He'll learn better if he starts with the easy, simple code that's still supported.
lost in thought wrote:You've got the right idea on how a website should look, Dayspring. But also remember that people these days like style over substance, so a few images doesn't hurt.
"Style over substance"? Who's leading him down the wrong path now?
I've never heard of Saiyan Heat. I tried to check the site out, but I keep getting hijacked by internet optimizer lately. Speaking of which, anybody know what Internet optimizer is? I'm assuming spyware or a trojan, but I can't set things back to normal.
SaiyanHeat went down for good a long while ago. I used to go there all the time. I got the layouts back in '01. They're not bad - but I only keep them because I'm a pack rat :wink:

User avatar
Dayspring
Kicks it Old-School
Posts: 7753
Joined: Tue Jan 13, 2004 6:00 pm
Location: Quebec, Canada

Post by Dayspring » Fri Nov 18, 2005 11:03 pm

desirecampbell wrote:
I've never heard of Saiyan Heat. I tried to check the site out, but I keep getting hijacked by internet optimizer lately. Speaking of which, anybody know what Internet optimizer is? I'm assuming spyware or a trojan, but I can't set things back to normal.
SaiyanHeat went down for good a long while ago. I used to go there all the time. I got the layouts back in '01. They're not bad - but I only keep them because I'm a pack rat :wink:
Could you send me some? I'd like to take a peek at what they have.
Captain Christopher Pike wrote:The away team will consist of myself, Cadet Kirk, Mr. Sulu, and Ensign Olsen.
Freeza Heika wrote: for the land of the cool, and the home of the Appule
The Geeky Gentleman: For all your comics, movies, TV and other geeky needs.

User avatar
desirecampbell
Moderator
Posts: 4296
Joined: Sat Oct 22, 2005 9:55 pm
Location: Ontario, Canada
Contact:

Post by desirecampbell » Fri Nov 18, 2005 11:20 pm

Dayspring wrote:
desirecampbell wrote:
I've never heard of Saiyan Heat. I tried to check the site out, but I keep getting hijacked by internet optimizer lately. Speaking of which, anybody know what Internet optimizer is? I'm assuming spyware or a trojan, but I can't set things back to normal.
SaiyanHeat went down for good a long while ago. I used to go there all the time. I got the layouts back in '01. They're not bad - but I only keep them because I'm a pack rat :wink:
Could you send me some? I'd like to take a peek at what they have.
http://dbz-rpg.mygamecharacters.com/sta ... 20layouts/

But learn HTML first *skakes fist*

User avatar
Dayspring
Kicks it Old-School
Posts: 7753
Joined: Tue Jan 13, 2004 6:00 pm
Location: Quebec, Canada

Post by Dayspring » Fri Nov 18, 2005 11:25 pm

desirecampbell wrote:
Dayspring wrote:
desirecampbell wrote: SaiyanHeat went down for good a long while ago. I used to go there all the time. I got the layouts back in '01. They're not bad - but I only keep them because I'm a pack rat :wink:
Could you send me some? I'd like to take a peek at what they have.
http://dbz-rpg.mygamecharacters.com/sta ... 20layouts/

But learn HTML first *skakes fist*
Going to have to if I want to look at them. :P
Captain Christopher Pike wrote:The away team will consist of myself, Cadet Kirk, Mr. Sulu, and Ensign Olsen.
Freeza Heika wrote: for the land of the cool, and the home of the Appule
The Geeky Gentleman: For all your comics, movies, TV and other geeky needs.

User avatar
lost in thought
Advanced Regular
Posts: 1018
Joined: Tue Nov 30, 2004 5:01 pm
Location: Cudahy, Wisconsin
Contact:

Post by lost in thought » Sat Nov 19, 2005 12:36 am

desirecampbell wrote:I still don't understand how it's easier. Option 1- look at whole layout at once. Option 2- look at half of the layout at a time. Which seems easier?
If you're sure it's better, I'd love to hear it, really, I just can't see how it would help.
Look at a single file HTML source of any significantly large website, regardless of what standard they are working under, and it is a jumbled mess of code. Seperating the files, while only good on your end for coding purposes, makes fixing broken things easier because it makes searching a lot less tedius. In the header file you have the upper most part of the layout, and nothing more, and in the footer the lower half, so if something breaks you know exactly where to go to fix it, and with limited entry into the one file makes finding, identifying and then mending the problem far easier than just going with one file itself.
desirecampbell wrote:I do use notepad. I do know what I'm doing. And I do think you're trying to insult me for no reason. You're starting to sound a little childish.
Don't pull the childish card on me, when you're the one denying the qualities of superior standards. Hell, you still use <br>, <font> tags, and a loose doctype, you have no right to knock what you don't understand.
desirecampbell wrote:What? You shouldn't learn old code just because it's old? It's not 'unsupported' it's just not the suggested code used in 4.01 - it was in 4.0 but they went up one hundredth of a version :roll: so we need to stop using tables.
If you had read what I've been saying, that isn't what I said. What I did say is you should not learn, nor use code that is no longer supported. When a standard changes, the code is no longer supported by the W3C, so even if the server and browser still supports, and is capable of interpreting the code, that doesn't mean you should still use it.
There are standards for a reason, maybe you should look into why.
desirecampbell wrote:I'm trying to TEACH him to code. He'll learn better if he starts with the easy, simple code that's still supported.
You're trying to teach him deprecated code, learn the difference. And for that matter, tables are no easier than divs, it only seems that way because of the presentation. Working with divs is a matter of (much like tables) setting the height/width, and then setting an absolute position. It isn't difficult in the least.
As well, deprecated code is no longer supported, thats why it's deprecated.
desirecampbell wrote:"Style over substance"? Who's leading him down the wrong path now?
Images have little to do with the overall coding, as its just an aesthetic implementation.

I am not certain what you're trying to accomplish, but the bottom line is that after code is deprecated it is obsolete. The W3C has created new code to take its place, thus eliminating it from their support.
So if you're going to code, code to standard, or you shouldn't code at all; don't try to justify old code as still being supported, because its a no way street.

Understand that the standard from 03' and before is gone, this is a new standard that has you use new tags, that all support CSS/CSS2 (and then as it comes, CSS3.) Get with the program.

tarsonis
Regular
Posts: 515
Joined: Sun Dec 19, 2004 5:34 pm
Location: Maryland

Post by tarsonis » Sat Nov 19, 2005 1:19 am

What is the difference between <br> and <br />?

On another note, avoid notepad if you can..use a tool like Dreamweaver where you can code by hand but still helps you along the way, since it does things like color coding tags so you can read it better, viewing the page as it looks as you go along, etc. Notepad is ok for starting out though.

User avatar
desirecampbell
Moderator
Posts: 4296
Joined: Sat Oct 22, 2005 9:55 pm
Location: Ontario, Canada
Contact:

Post by desirecampbell » Sat Nov 19, 2005 1:39 am

lost in thought wrote:Look at a single file HTML source of any significantly large website, regardless of what standard they are working under, and it is a jumbled mess of code. Seperating the files, while only good on your end for coding purposes, makes fixing broken things easier because it makes searching a lot less tedius. In the header file you have the upper most part of the layout, and nothing more, and in the footer the lower half, so if something breaks you know exactly where to go to fix it, and with limited entry into the one file makes finding, identifying and then mending the problem far easier than just going with one file itself.
I still don't understand how separating the layout into two files makes it easier to find problems. Taking the content out (which is what I do with php queries) would separate the layout problems from the content problems (which would make it easier) but splitting up the layout never helped me.

lost in thought wrote:Don't pull the childish card on me, when you're the one denying the qualities of superior standards. Hell, you still use <br>, <font> tags, and a loose doctype, you have no right to knock what you don't understand.
Again, you're trying to insult me - and just sounding foolish. I use <br> instead of <br />. So? I know I should use <br /> (and I shouldn't be using <font> at all my buddy nags me about it all the time) but that doesn't mean I don't understand.

lost in thought wrote:If you had read what I've been saying, that isn't what I said. What I did say is you should not learn, nor use code that is no longer supported. When a standard changes, the code is no longer supported by the W3C, so even if the server and browser still supports, and is capable of interpreting the code, that doesn't mean you should still use it.
There are standards for a reason, maybe you should look into why.
You actually haven't said anything. You've said 'it's too old, don't use it' and I asked why, and you said 'because the W3C said so'. You seem to be under the impression I'm trying to get Dayspring to ignore DIV - I'm not. I'm trying to get him to learn the basics before he tackles more complex and abstract code.

lost in thought wrote:You're trying to teach him deprecated code, learn the difference. And for that matter, tables are no easier than divs, it only seems that way because of the presentation. Working with divs is a matter of (much like tables) setting the height/width, and then setting an absolute position. It isn't difficult in the least.
As well, deprecated code is no longer supported, thats why it's deprecated.
You said "just because you can use old code doesn't mean you should, or for that matter, should learn it." You give no reason why not to use them other than "the W3C said not to".
Is there any reason to think <table> will stop being supported (by every browser) soon? No.
Is there any reason to think that learning absolute positioning and DIV is easier than just <table>? No.
Will learning DIV and AP give Dayspring a better understanding of HTML and page structure than table would? No.
Tables "seem" easier than DIVs - wouldn't that be a good thing to tell Dayspring AFTER he learns table? If table is easier to understand, then he should learn THAT first THEN convert to DIV. Table can be learned in minutes, and the layout of a table can easily be interpited as a page's layout - from there he can learn to use DIV the same way - but FIRST he must learn table to connect the two.

lost in thought wrote:I am not certain what you're trying to accomplish, but the bottom line is that after code is deprecated it is obsolete. The W3C has created new code to take its place, thus eliminating it from their support.
So if you're going to code, code to standard, or you shouldn't code at all; don't try to justify old code as still being supported, because its a no way street.
And don't try to justify throwing out <table> altogether just because the W3C said so. I'm not telling him to never use DIV, I'm telling him to learn the basics, then learn the more advanced functions. DIV is more advanced than table (at least for whole page structure) so maybe, just maybe, he should learn table first.

lost in thought wrote:Understand that the standard from 03' and before is gone, this is a new standard that has you use new tags, that all support CSS/CSS2 (and then as it comes, CSS3.) Get with the program.
Somebody's got a bug up their butt. It's nothing personal, man, just cool off. You're going all "Standards Nazi" on me. I'm just helping out my friend and asking you a couple questions: don't take it as an affront to your masculinity.


-edit-
tarsonis wrote:What is the difference between <br> and <br />?
Nothing, except it closes itself. There's no </br> tag so <br> remains open. It's just a loose end that W3C is trying to tie up. ("loose end"? 'cause it's "end" is "loose" somewhere? Huh? aw, forget it)
tarsonis wrote:On another note, avoid notepad if you can..use a tool like Dreamweaver where you can code by hand but still helps you along the way, since it does things like color coding tags so you can read it better, viewing the page as it looks as you go along, etc. Notepad is ok for starting out though.
I agree. Dayspring should use a colour coding editor (it really helps) like TextPad, devPHP, or vim.

User avatar
lost in thought
Advanced Regular
Posts: 1018
Joined: Tue Nov 30, 2004 5:01 pm
Location: Cudahy, Wisconsin
Contact:

Post by lost in thought » Sat Nov 19, 2005 11:27 am

desirecampbell wrote:I still don't understand how separating the layout into two files makes it easier to find problems. Taking the content out (which is what I do with php queries) would separate the layout problems from the content problems (which would make it easier) but splitting up the layout never helped me.
That's up to personal preference, I guess.
But atleast for myself I've always found it easier to track a problem when two main halfes of my code are seperated.
desirecampbell wrote:Again, you're trying to insult me - and just sounding foolish. I use <br> instead of <br />. So? I know I should use <br /> (and I shouldn't be using <font> at all my buddy nags me about it all the time) but that doesn't mean I don't understand.
I am not trying to insult you, I am trying to enlighten you, because you obviously don't understand or you wouldn't be pushing deprecated code.
desirecampbell wrote:You actually haven't said anything. You've said 'it's too old, don't use it' and I asked why, and you said 'because the W3C said so'. You seem to be under the impression I'm trying to get Dayspring to ignore DIV - I'm not. I'm trying to get him to learn the basics before he tackles more complex and abstract code.
I've said a lot, but you would rather ignore what I've said as a whole, and search for ways to find flaws with the current standards of code, and push outdated and obsolete methods. And as I've said before, if this were 03' then yes that would be the basics, but since it is not, the basics consist of 4 very important tags: <div>, <p>, <span>, and <br />.
There are no if's, and's, or but's about it, the standard changes, and you should change with them, but even if you don't, just don't keep trying to teach someone archaic coding methods, as you will only lead that person to more confusion than just having him, or her work with the current standard of code.

And like I said before, div isn't difficult to use.
desirecampbell wrote:You said "just because you can use old code doesn't mean you should, or for that matter, should learn it." You give no reason why not to use them other than "the W3C said not to".
If you want another reason, we can go with CSS. New tags are designed to utilize CSS natively, not as a secondary function. CSS is now the primary standard for changing style attributes with anything.
Such an answere should be good enough for even you.
desirecampbell wrote:Is there any reason to think <table> will stop being supported (by every browser) soon? No.
Who is to say? But in the mean time, just because it's supported doesn't mean you should use it over superior, and better developed code that has been made available in its stead. This change was done on purpose, in order to give webdesigners more freedom in their coding than traditional methods would allow, and for that we get a transitional tag (div) that isn't hindered by tabular display settings that tables suffer from (because it isn't a table.) So in the end, learning tables first (and calling it the basics) would only hurt someones comprehention, because div's aren't tables, and they don't perform like tables (and they take up less space than your average table, in the root html) and so unless you make them act like tables, you won't get a result that acts like tables.
desirecampbell wrote:Is there any reason to think that learning absolute positioning and DIV is easier than just <table>? No.
Yes, actually. The table is comprised of 6 tags, <table></table>, <tr></tr>, and <td></td>, however the div is only two.
Now when working with divs, it all becomes exceedingly easy to use right from the get-go after you've set your position: absolute; and your top: #px; right: #;.
It's quicker, easier, and prevents a lot of the tabular muddling one might need to do if he/she has more than one table on the page.
desirecampbell wrote:Will learning DIV and AP give Dayspring a better understanding of HTML and page structure than table would? No.
Tables "seem" easier than DIVs - wouldn't that be a good thing to tell Dayspring AFTER he learns table? If table is easier to understand, then he should learn THAT first THEN convert to DIV. Table can be learned in minutes, and the layout of a table can easily be interpited as a page's layout - from there he can learn to use DIV the same way - but FIRST he must learn table to connect the two.
Stop answering your own questions because you've answered incorrectly. For one, page structure doesn't have much to do with tables, but if he really wants to get a feel more them, he should let a double bordered div feel out the edges (since they do that by default, without any width set to them) which will be the best 'structure' he could find. And no, he shouldn't learn it first, because when it comes to HTML (and even PHP) you should not use deprecated code, because the tags aren't CSS flexible.
Flexibility is a huge part of it, and if you want to justify with yourself that its okay to use archaic methods because "you can", then go right ahead, but don't try to teach someone your outdated style, because you'll fuck that person all up.

As well, it doesn't really matter where a person starts. If they want to learn the language, they can jump in anywhere and learn it no problem. As well, structure should be the least of your worries, since people come by that knowledge quickly, and easily after putting nose to the grind stone for a little while.
desirecampbell wrote:And don't try to justify throwing out <table> altogether just because the W3C said so. I'm not telling him to never use DIV, I'm telling him to learn the basics, then learn the more advanced functions. DIV is more advanced than table (at least for whole page structure) so maybe, just maybe, he should learn table first.
I do justify it, because it's a standard. Old code is, was, and has been thrown out quite awhile ago, get with the program and stop trying to make me think that using outdated code isn't anything more than you rebelling the standard.
desirecampbell wrote:Somebody's got a bug up their butt. It's nothing personal, man, just cool off. You're going all "Standards Nazi" on me. I'm just helping out my friend and asking you a couple questions: don't take it as an affront to your masculinity.
First, it isn't a front to any masculinity, and secondly I take coding seriously, and by the looks of it, far more seriously than you. My free time is consumed by two things, do you know what they are? Coding HTML, and PHP, coupled with Videogames. I do it because I enjoy it, and I never miss an evening to code something, no matter how irrelevant, to always stay in practice. Coding is my life blood, and I know it well.
I know new code, I know old code, and back when the standard was changed I was sad to see the old code go, because I wasn't ready to change things yet, but I did anyway because the overall good outweighed the bad, with CSS flexibility. Through that, I came to see that the div's I had tryed to ignore, were far easier to use, and far better suited for development than tabular constraint could offer, because they could do things tables couldn't.

I take coding as seriously as any person can after 6 years of of learning, and designing, and I changed my coding style when a new form of the language came, because it offers assets that the archaic methods could never dream of having. So I don't care if you code in an archaic method, but don't try to find faults with the standards, justify old code as still being acceptable to use, or teach someone old code, because that is bad from any way you look at it. (And will make things 10x harder for Dayspring to learn in the end. It will be far easier for him to learn the new standard first, than secondary.)[In fact, he really doesn't even need to learn old code at all.]
tarsonis wrote:What is the difference between <br> and <br />?
You must close all tags that don't have a closing tag, with the new standard.
tarsonis wrote:On another note, avoid notepad if you can..use a tool like Dreamweaver where you can code by hand but still helps you along the way, since it does things like color coding tags so you can read it better, viewing the page as it looks as you go along, etc. Notepad is ok for starting out though.
No, you've got it backwards Tarsonis. Notepad is good for long term coding, and is the best, most flexible utility to use when coding HTML, or PHP. WYSIWYG editors are only good for starting out, but should be abandoned as soon as possible, because they generally aren't the most up-to-date as far as their HTML output is concerned.
But either way, Notepad is the best you can get for coding.

Anyway....
This thread is going no where quickly, so I am going to leave it at that. If Dayspring wants to learn archaic code, that's his choice, but I've said all I can say. So if you still choose to support deprecated code, that's up to you, but I really suggest you not trying to teach it to people.

User avatar
desirecampbell
Moderator
Posts: 4296
Joined: Sat Oct 22, 2005 9:55 pm
Location: Ontario, Canada
Contact:

Post by desirecampbell » Sat Nov 19, 2005 1:28 pm

If Dayspring was going to really take coding seriously I wouldn't suggest using tables - but he's obviously using it as a means to an end, and learning divs instead of tables seems like more work than it's worth.
I remember learning HTML and using tables because they were easier to use than divs. I'm not saying tables are better - they arn't - I'm just saying they're easier to use when just learning.
I'm not saying ALL old code is useful. It's not like I'm trying to teach him <blink> :P I'm just pretty sure learning tables is a good place to start, even if it's 2005.
I'm not arguing with you about what code is better. Hell, we shouldn't even be using HTML anymore.

Anyway, this is going no where. I don't even understand what we're arguing about. I think Dayspring should start with the older basic code, that way he can get a feel for it without worrying about absolute positioning (trust me, it's hard for a beginer) - you don't want him to learn any old code, assuming he'll put a lot of work into getting an understanding of AP, CSS, and the new standard tags.

In the end we have to let Dayspring decide, and then continue our support.

User avatar
VegettoEX
Kanzenshuu Co-Owner & Administrator
Posts: 17827
Joined: Sat Jan 10, 2004 3:10 pm
Location: New Jersey
Contact:

Post by VegettoEX » Sat Nov 19, 2005 1:32 pm

Gone on long enough. Way to be adults.
:: [| Mike "VegettoEX" LaBrie |] ::
:: [| Kanzenshuu - Co-Founder/Administrator, Podcast Host, News Manager (note: our "job" titles are arbitrary and meaningless) |] ::
:: [| Website: January 1998 |] :: [| Podcast: November 2005 |] :: [| Fusion: April 2012 |] :: [| Wiki: April 2026 |] ::

Locked