[Tool/Web/Other] S.W.A.T webpage design
#4

Quote:
Originally Posted by next-studio|TheKiller
View Post
Answer for the first question.
Since the moment the website is using server side code(query api, and the "news" system) i've used echo, since for me, is a big mistake to be doing all the time:
Code:
<html>
<head>
<title> bla bla bla</title>
</head>
<body><?php echo $somearray; ?>
/body>
</html>
second:
There is 2 type of people:
1 -> create a separated stylesheet file;
2 -> create the style on the main file.

Third, take a look @ latest news container, he just need to remove the mysql script from it.

Edit: Just created a separated stylesheet for the design, download file updated.
You're completely ignoring all the coding convention. You don't echo your entire page in PHP because it is (a) giving the server-side more unneeded work and (b) decreases the readability of your code! Ofcourse it may work but it is absolutely not-done.

Quote:

There is 2 type of people:
1 -> create a separated stylesheet file;
2 -> create the style on the main file.

And only 1 of those 2 types of people will get a job. There are a few exception (mailings) but as far as websites go you ALWAYS seperate content from style, for a ton of reasons.
Reply


Messages In This Thread
S.W.A.T webpage design - by next-studio|TheKiller - 29.06.2012, 21:57
Re: S.W.A.T webpage design - by Sinner - 30.06.2012, 09:36
Re: S.W.A.T webpage design - by next-studio|TheKiller - 30.06.2012, 09:45
Re: S.W.A.T webpage design - by Sinner - 30.06.2012, 10:09
Re: S.W.A.T webpage design - by next-studio|TheKiller - 30.06.2012, 10:18
Re: S.W.A.T webpage design - by Sanady - 04.07.2012, 14:16
Re: S.W.A.T webpage design - by next-studio|TheKiller - 04.07.2012, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)