Web Page Question

Status
Not open for further replies.

omg its nlm

lvl 17 Hax
Joined
10 Jan 2004
Messages
1,829
I am going to making a web page for my works intranet. I want to keep the same layout for every page (backround tool bars ect) I was wondering the best way I should code it? asp php css?

Any help would be great thanks!
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,680
Either asp and php can use css.
using a single css sheet for all will cut down the size and help keep anything you setup constant.
 

a1ehouse

Chamone M*tha Fu*ka
Joined
21 May 2002
Messages
288
NLM said:
I am going to making a web page for my works intranet. I want to keep the same layout for every page (backround tool bars ect) I was wondering the best way I should code it? asp php css?

Any help would be great thanks!
Do you have any programming experience? I used VB a lot, so ASP was nex tbest and easier step than PHP.

If you want to use a standard format (e.g. Header, Side/Nav bar, Footer, Content) you really need a dynamic server that enables server side includes. I've got some basic code in ASP if that'll hellp, and I'm pretty sure ppl here have simple PHP examples.
 

omg its nlm

lvl 17 Hax
Joined
10 Jan 2004
Messages
1,829
I have a programming degree and this will sit on its own server, thanks for the help so far.
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
If you are familiar with C programming or Java then I would recommend PHP over ASP as it has a similar syntax and layout, ASP is more like Shell scripting IMHO
 

omg its nlm

lvl 17 Hax
Joined
10 Jan 2004
Messages
1,829
What are the differences between asp and php, just differnt coding?

For my layout i was thinking of keeping the same format for everything and than having the center of the page load differnt things. (like frames)
 

j79zlr

Glaanies script monkey
Political Access
Joined
16 Feb 2003
Messages
2,725
php includes work good for this, the big advantage to CSS is that you can change the entire website look by changing one file
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
I have never done ASP code, but a friend of mine has and I was looking through his and if statements are all

if "blah" then
dfkasdfal;ksdf;laskd
else
ldksajdh

think that was how it went anyways
php is more of
if (blah) {
ahjdladlka;
} else {
dafsjlkdjfkas;
}
 

Reg

eXperienced!
Joined
2 Mar 2002
Messages
639
The difference between PHP and ASP is not exactly in the syntax (since all programming is different in this way). The actual difference is that ASP code runs either on an Windows IIS server or via ChiliSoft ASP (which is not very good IMHO). Unless you are using a Windows IIS Server (which I DO NOT recommend), ASP is going to be parsed via a third party program, which will make pages load slower on your server. PHP, on the other hand, can be integrated into Apache (or whatever webserver software you use) and does not require extra software to run (although it does create a small process).

If I were you, I would go with PHP.
 

lad_in_brum

OSNN Addict
Joined
8 Jan 2004
Messages
138
Reg said:
The difference between PHP and ASP is not exactly in the syntax (since all programming is different in this way). The actual difference is that ASP code runs either on an Windows IIS server or via ChiliSoft ASP (which is not very good IMHO). Unless you are using a Windows IIS Server (which I DO NOT recommend),
If I were you, I would go with PHP.

REG...NLM stated that is was for a works intranet....why would you not recomend windows IIS and ASP for this?
 

Reg

eXperienced!
Joined
2 Mar 2002
Messages
639
Windows IIS has so many bugs, virus hacks, and configuration errors that I do not recommend any Windows machine for a website, whether it be on a an intranet, or the internet. Personally, I would use a simple Linux server to host the site via PHP.
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
Windows 2000 Server + IIS = 1 Ghz, 512 MB ram, 5 GB HD *
Linux (Debian) = 133 Mhz, 32 MB ram, 2 GB HD *

Base install with server:
Windows: 2 GB on disk (IIS included)
Debian: 100 MB (Apache included)

Base install no server:
Windows: 1.5 Gb on disk
Debian: 50 MB

In this case, a 133 Mhz might be a bit low, but it could handle it fine, if you have something beefier, like a 500 Mhz with 128 MB ram, it will off course be faster.

If you wanted you could write all your code in C/C++ and execute that and send it to the browser like that, but PHP would be my choice.
 

lad_in_brum

OSNN Addict
Joined
8 Jan 2004
Messages
138
Reg said:
Windows IIS has so many bugs, virus hacks, and configuration errors that I do not recommend any Windows machine for a website, whether it be on a an intranet, or the internet. Personally, I would use a simple Linux server to host the site via PHP.

If it is a works server wouldn't one assume that its behind a firewall etc so virus hacks from the outside world shouldn't be a problem. If you have a properly configured webserver are the threats really that great?, again is the spec of a pc really that big a deal!.

I guess its down to personal choice in the end

If you don't currently know either PHP or ASP IMO i would learn ASP.

Aside from the 'security' issues x-istence and Reg talk about, I think if you learn learn ASP these skills will be more usefull to you in the future if you did want another job etc - look at any IT recruiting website at skills by demand etc and ASP is usually in the top 15 - a good reason to learn it I think.
 

j79zlr

Glaanies script monkey
Political Access
Joined
16 Feb 2003
Messages
2,725
Linux/unix, apache and therefore PHP along with MySQL are run on over 2/3rd of internet servers and would make me think that is the way to go.

Screw IIS and ASP, worthless I say. Besides who wants to pay the extraordinary licensing fees required by all of their products?
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
Reg said:
The difference between PHP and ASP is not exactly in the syntax (since all programming is different in this way). The actual difference is that ASP code runs either on an Windows IIS server or via ChiliSoft ASP (which is not very good IMHO). Unless you are using a Windows IIS Server (which I DO NOT recommend), ASP is going to be parsed via a third party program, which will make pages load slower on your server. PHP, on the other hand, can be integrated into Apache (or whatever webserver software you use) and does not require extra software to run (although it does create a small process).

If I were you, I would go with PHP.
I was only refering to the way it is formatted, in relation to other programming languages, PHP is more like C. ASP to me, I have only seen the code a friend of mine was writing and it just didnt scream out what it was doing as easily as I have seen PHP code do.

I would always recommend PHP to someone who is familiar with C or Java and things like that.
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
lad_in_brum said:
If it is a works server wouldn't one assume that its behind a firewall etc so virus hacks from the outside world shouldn't be a problem. If you have a properly configured webserver are the threats really that great?, again is the spec of a pc really that big a deal!.

I guess its down to personal choice in the end

If you don't currently know either PHP or ASP IMO i would learn ASP.

Aside from the 'security' issues x-istence and Reg talk about, I think if you learn learn ASP these skills will be more usefull to you in the future if you did want another job etc - look at any IT recruiting website at skills by demand etc and ASP is usually in the top 15 - a good reason to learn it I think.


Firewall? If port 80 is open and IIS has a problem, they can still get in. Apache has been shown to be a lot more secure.

Also, ASP is so similar to visual basic that it doesnt really matter, but overall, corporate sites are looking for Java or PHP based technologies as they are also getting sick and tired of having their servers not cope with stuff.

Thats just my experience.
 

omg its nlm

lvl 17 Hax
Joined
10 Jan 2004
Messages
1,829
Well thanks for all the help guys. I think i will go with PHP or at least I should say give it a try. We have a nice server laying around (dual 2.4s 2gigs of ram and all the other good stuff)
 

ignipotentis

OSNN Addict
Joined
25 Mar 2004
Messages
127
NLM said:
Well thanks for all the help guys. I think i will go with PHP or at least I should say give it a try. We have a nice server laying around (dual 2.4s 2gigs of ram and all the other good stuff)

[shakes his head]...

Man, I don't mean to offend you, but i must be damn nice for a company to have that server "laying" around and have the person responsible for creating the intranet have a "CS Degree" and not know the difference between ASP and PHP.

Again, I'm not trying to offend you or anything, but was this just a bogus question to get public opinion on ASP vs PHP?
 

MissingIntellect

ÜberGeek
Joined
20 Apr 2004
Messages
24
ignipotentis said:
[shakes his head]...

Man, I don't mean to offend you, but i must be damn nice for a company to have that server "laying" around and have the person responsible for creating the intranet have a "CS Degree" and not know the difference between ASP and PHP.

Again, I'm not trying to offend you or anything, but was this just a bogus question to get public opinion on ASP vs PHP?
Yeah...If you have a programming degree, you shouldn't need to be asking uswhat to do, you're supposed to be the "professional". :eek: :rolleyes:
 

ignipotentis

OSNN Addict
Joined
25 Mar 2004
Messages
127
MissingIntellect said:
Yeah...If you have a programming degree, you shouldn't need to be asking uswhat to do, you're supposed to be the "professional". :eek: :rolleyes:

Again, please don't mis-interpret my question. I wasn't trying to insult the guy.
 
Status
Not open for further replies.

Members online

No members online now.

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,589
Latest member
EmilyFox