Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Making web design easier

Author
Message
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 7th Oct 2007 20:47
I am currently redesigning my site, and as well as making it better looking and giving it new features, I also want to make editing it easier. Right now, it is all HTML and CSS, which means editing the HTML for some things can be rather annoying. Say for example if you added a new page to the site, at the moment you would have to change the site navigation menu individually on each page, (there are approx. 7 at the moment). What can I do here to make things easier, i.e. change one bit of code to sort out everything for every page. (Sort of like with CSS documents).

Would it be possible to script certain aspects of the site into a text file (e.g. The information needed for the site navigation menu) and then load it onto the page through javascript or php? once again, in the same sort of way as a CSS document, where you have one file affecting all 7 (or whatever) pages.

Site temporarily down - it will return soon with new features and a new url!
Text Adventure competition 2007
GatorHex
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 7th Oct 2007 21:55 Edited at: 7th Oct 2007 21:56
Dreamweaver does it. You can make a template and change it once and it will apply it to all your other pages that use it.

You could use frames but it's not very search engine friendly, or have a PHP/Perl/ASP script draw the menus.

DinoHunter (still no nVidia compo voucher!), CPU/GPU Benchmark, DarkFish Encryption DLL, War MMOG (WIP), 3D Model Viewer
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 7th Oct 2007 22:07
Ok then, I'll probably go with the PHP/Perl/ASP option, after all dreamweaver costs money, and I've already used up the trial time limit on the demo (I downloaded the demo/trial around 2/3 yrs ago)

Site temporarily down - it will return soon with new features and a new url!
Text Adventure competition 2007
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 7th Oct 2007 22:19
PHP is very easy to get started with if you know Dark Basic or C, it's also supported by most web hosts. Remember that if you want it to run on your own computer you need a web server running. Xampp is a really easy way to get your own Apache server with MySQL Perl and PHP running in minutes.

http://www.apachefriends.org/en/xampp.html

Here you can find PHP documentation etc: http://www.php.net

[center]
CREATE games with ease! NO programming required!
WIP
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 8th Oct 2007 00:11
If you know about linking CSS sheets to web pages, why are you seeking to alter lots of pages at once using other methods?

Sig removed by BiggAdd because he is everywhere.
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 8th Oct 2007 00:14
CSS is used for formatting, not for adding links to a menu


The greatest multiplayer text adventure ever...
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 8th Oct 2007 00:16
O sorry i thought he wanted to change the appearance. Not Add things. My Bad.

Sig removed by BiggAdd because he is everywhere.
Dr Schnitzengruber
17
Years of Service
User Offline
Joined: 19th Jul 2007
Location: C:/Projects/failed/ schnitzengruber
Posted: 8th Oct 2007 01:46
Why does everybody like Apache? With some digging you can find a much better webserver.(like the free one I have now)

the answer to life the universe and everything = 42
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 8th Oct 2007 02:11
Quote: "With some digging you can find a much better webserver."


Depends on what you call better. Apache is the industry standard, you might as well learn it now as it's never going away.


The greatest multiplayer text adventure ever...
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 8th Oct 2007 02:44
Apache is free and works great with other free stuff like PHP and MySQL. And as mentioned, it's an industry standard, especially in the Linux world. And as I said, if you want a web server up and running real fast with MySQL PHP (and Pearl) XAMPP is the way to go. Works great with Joomla! (which is built on PHP and MySQL) as well. If you want a good open source (free) CMS that is.

[center]
CREATE games with ease! NO programming required!
WIP
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 8th Oct 2007 06:24
Quote: "Why does everybody like Apache? With some digging you can find a much better webserver"


Care to share with us what you found that's better than Apache?

IIS is really good also, it's just not very user friendly and only stable/secure when setup properly (which isn't always the easiest). Apache isn't exactly the most user friendly either, but it's not a problem due to all the 3rd party tools and apps that manage it for us.


DrewG
19
Years of Service
User Offline
Joined: 25th Aug 2005
Location:
Posted: 8th Oct 2007 06:44
I was a very lucky one. I got Dreamweaver CS3, Photoshop CS3, Flash CS3, okay, everything in Adobe CS3 for $300. Perks of living in the US in California I guess. YES, it is legit and there is no illegalness of it. I'm taking online college courses so $70 for the class and $300 for all the software. Then again....

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 8th Oct 2007 11:27
Drew:
Here in Sweden students can buy all Adobe software, professional licenses, with a 75% discount. Student licenses are at 85% but hardly worth it since you can't use them professionally.

[center]
CREATE games with ease! NO programming required!
WIP
Jonny_S
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 8th Oct 2007 12:13
Quote: "Drew:
Here in Sweden students can buy all Adobe software, professional licenses, with a 75% discount. Student licenses are at 85% but hardly worth it since you can't use them professionally.
"


Yeh I got the student version for something like £75, then they added VAT and P&P and it ended up at about £100 , still a good deal considering what you get.

Formerly Supermonkey

Login to post a reply

Server time is: 2024-11-19 09:35:49
Your offset time is: 2024-11-19 09:35:49