Forum Moderators: mack
[edited by: heini at 6:35 pm (utc) on Feb. 5, 2003]
[edit reason] No urls please / thanks and welcome! [/edit]
It would help to have a better sense of what resources and business arrangements you have. Where is your site hosted? What operating system is it running? Do you have regular IT staff, and what environments are they accustomed to? What is the purpose of the site-- shopping cart, document archive, brochureware, etc.?
Investigate the content management system industry, which ranges from $50 Perl scripts that hook into MySQL databases to full-fledged enterprise solutions that can exceed $5,000,000 with Oracle plugins and installation/customization consulting.
The application coded in our site was suppose to be a some type of multilingual tracking system, although the way it has been coded it does not allow us to add content or change content, further more it blocks us from putting up the other languages. Hence why they are having me redo the site. I kind of dread the thought of delivering a site in the same condition that it already is in. ..It looks fine, but that’s just an appearance.
If you have no experience in designing web-pages, there's no way around getting hold of and reading a few *good* books covering the technologies you'll be using on the site. Which ones to choose depends on what you already know.
And use KISS to code the pages - make it simple for yourself and get a very basic site running - and then add further functionality as you get experience. Web page design might look simple, but trying to implement a lot of functionality all at once will only break your neck. Start with a fairly static page design. Ask management what they want first of all, and do that. Then add one thing/page at a time in easy to increment stages. Keep interactive pages like forms for one of the last stages, as these invariably will involve serverside scripting. And once your pages get interactive, you'll have to be vary of crackers having fun!
And do go with the standard approach! *Don't* use any proprietary techniques! Always make sure your pages validates to the standards. In the long run designing pages to the w3c standards will save you a lot of headaches. And *test* your pages in as many browsers as possible to make sure that they are working as expected in all of them.
Test all of you pages on an in-house server and get management approval before going online with *any* changes!
As to the pages themselves:
You'll have some blocks of information that'll be common across a lot of pages.
Use SSI , PHP or ASP to include these in your pages. That way it'll be easy to change this information across the whole site
A database is only necessary if you have dynamic contents like a search function, bulletin boards, web-shopping
As to scripting:
*Don't* under any circumstances trust anything that get passed from the browser to your serverside scripts and databased! *Always* validate all values passed! *Don't* rely on hidden form fields to pass correct information! *Don't* rely on client-side javascripts only to validate form fields - the final validation *has* to be made on the server!
Keep functionality high: don't serve plain 404s but try to discover what the user intended. If all else fails then at least automatically redirect your user to the frontpage. Eg, I've just gone from *.html pages to *.php because I added some new functionality and am preparing for a multi-language version of the site I administer. This means, that a lot of people at present are entering the site with <page>.html instead of <page>.php, so the first thing the server does when discovering a 404 situation is to exchange html with php and see if that shouldn't work. Likewise, pages get added and removed irregularly, and the old pages aren't kept online as they are simply outdated and without interest to the browser, but of course people do find references to these old pages, and enter the site through these, thus I use a script to back them up through the site structure until they get served something near what they seached for.
As for the multi-language thingie:
How do you want to design that one? It's possible to design a site in such a way, that the user is served with the language chosen, and if that page hasn't been translated yet, then serve the default language. This will mean some serverside scripting and cookie handling, but not a database.
Do you want localised domain names too like : <company-name>.<language>?