View Discussion

Posted by bjantiques Professional 
865 pageview(s)  May 14th 2008 04:37  Edit  Delete



Creating a Web Site - Basics Part 1

Before I start this explanation there is one thing that MUST be done on your PC to prevent files getting the wrong names.

Open your Windows Explorer (not the browser)
Usually found by going to Start > programs > accessories > Windows explorer.

Click on Tools then on Options.

Click on the tab View.

Remove the check mark from the box called "Hide file extensions for known file types"
Next click on ok.


The basics when creating a web site.

Planning is important when creating a web site.
Not only what you are going to put on it but also having it organized on the server is important.

Many people create a site and just put everything in the one folder.
This is fine if you only plan on having a one page site and a couple of images, but when you decide to expand your site the more you add into the base folder the more difficult it becomes to find things when you need to make changes.

My server uses cPanel so I am going to base my description of how I organize things from this point of view.



The first thing I do is on my PC I create a folder with the name of the web site
example mydomainname.com.

Inside this folder I then create a folder called public_html
The reason for this is that with cpanel the base folder for viewable pages of a site such as index.html have to be placed in the public_html folder or they will not show up.

Inside the public_html folder I create a sub folder called images where all image files (gif, jpg, png, etc) are placed and a sub folder called pages to hold the other pages of the site.

By setting up this way you start off organized and as your site builds you can stay organized.

The next part of the planning is to write down what pages you are going to need besides the index.html.

As an example if you are going to cover several subjects allocate one page per subject.

Lets say for example I am going to set up a site and promote 3 programs plus i want to tell people a bit about me, and
I am also going to run a links page.

So I would list the pages I need
program abc name the page abc.html
program def name the page def.html
program ghi name the page ghi.html
links page name the page links.html
About me name the page aboutme.html

The next thing to think about is page consistency.
By this I mean that no matter which page I go to I will find the layout is the same and it has a consistent theme.
The menu is in the same place, on each page, I don't have to search each page to find it.
The basic color schema is the same on each page. important for branding your site.
The main body content is easy to find.

As you can see on the plan I have chosen to go for a header area that will be full width at the top
The menu as a column on the left
The main body in the center
A column on the right (this is optional)
A footer the full width at the bottom.
The layout will be achieved by the use of tables.

So now I have a plan on paper to follow

Next I look for any graphics I want to use or create them and then place them in the images folder.
If I am going to use a banner from a program then I will save the banner into the images folder so that I can call it locally rather than from the programs web site.
Doing this ensures the image will always be displayed even if there is a temporary problem with the website the banner is for.

Using what ever site builder you prefer, set it up to work inside the public_html folder.

Now we have the basic preparation done.

Click here for part 2

Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


MKWeb  Advanced  Jan 8th 10:57
Great Directions BJ! I use the same configuration (locally) when working with dreamweaver. XSitePro will do this for you automatically as well.


Alas y Cia  Professional  Jan 8th 12:45
Thanks for the start BJ. A question, you start off telling us what to do with IE. If we use Mozilla, what is the option called?
For Angel Lovers
[url]http://tinyurl.com/dnlaff]Bonanzle?[/url


bjantiques  Professional  Jan 8th 14:09
Hi jenny, I do not mention IE in this part so dont understand the question
Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


PinoyOnline JOB  Innovator  Jan 8th 14:17
Thanks for this information, i need this! :)
Pinoy Online Job
EARN QUICK, EARN CASH AT HOME!


Alas y Cia  Professional  Jan 8th 14:45
Sorry got confused! sorted out now.
For Angel Lovers
[url]http://tinyurl.com/dnlaff]Bonanzle?[/url


This is Our Site- Angels Bear  Innovator  Jan 10th 19:52
Hi Bj!!:) I've been searching on this stuff,on how to create one's own website...thanks so much for sharing this very good information.I just Bookmark this one and would now proceed to part 2 ... Have a great day!!:) Elizabeth
I am confident that i can make it with the online business with
all your support....Thanks!!!!


Cindy Bolley  Magnate I  Jan 22nd 08:44
Just what I was looking for. How did you know BJ. I have my glasses on and it is all printed off, all 3 parts. It is now time to put pen to paper with my plan. Thanks so much for this info, I really think I can do this with these instrutions. Cindy


legitnetbiz  Innovator  Jan 22nd 11:53
This article has many valuable tips. In fact I am thinking about starting a site of blog rather. Thanks for sharing all these information.
This is my favorite internet business:
http://csanadk.tk


bjantiques  Professional  Jan 22nd 14:50
Hi Cindy, Many are frightened of trying to change coding and I am hoping that this series will help some over come that fear. I have no idea how many parts this will end up having but there are going to be more. We will be looking at various variables for the table tags and so on later along with the flowering up of the site with color etc. but first as everything can be tested and viewed on our PC we can experiment and mess up as much as we like and then get it right.
Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


Garnet Nagy  Senior  Jan 22nd 22:19
Hi Bj, Okay I think I have this figured out except for that last part about setting up whatever sitebuilder you prefer, whats the deal with the sitebuilder? lol


bjantiques  Professional  Jan 22nd 22:39
Hi Garnet, There are so many that I am not covering site builders. My personal opinion of them all is very low. They add so much excess garbage to page code that increases the size of the page and the bigger a page is the longer it takes to load.
Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


Garnet Nagy  Senior  Jan 22nd 22:48
okay, so do you even need one?


bjantiques  Professional  Jan 22nd 23:08
Hi Garnet, Matter of opinion really. Coding is not easy by any means but there are times when you just cant do what you need to with site builders so it is important that you atleast understand what some of the coding means. It does take longer using coding but I personally prefer to take a bit of extra time and make the pages look exactly as I want them to and with absolutly mimimum coding so the pages are what you could call lean and mean and load fast. To give you an example a friend made a page using one ot other site builder I thingk it was front page the size of the page was 26K I took tha coding and cleaned it up and produced the exact same display as they had and it was only 7k. this means the site builder had added 19k of excess crap My sersion opened in less than 1 second their version took 5 seconds. Now 5 seconds is not a long time but the faster a page opens the happier the visitor is. There is also the fact coding takes time to learn and in this day and age people are lazy and dont want to learn they want things instant, this is why so many use site builders.
Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


MKWeb  Advanced  Jan 23rd 08:56
Hi BJ and Garnet, For my hard-coding, I use an ASCII editor called TextPad. It even comes with a clipboard of typical HTML, CSS, Java and other code snippets that I can pop into my page where I want and then just add the information as needed. A great tool for programmers and others too!


MoRambler  Senior  Jan 25th 05:49
BJ, I read somewhere that the average time a person will take to wait on a page load is somewhere in the 10 - 15 second range before they begin to get impatient and move on to something else. Thanks for the comments on excess code. However frustrating it is, (for me) I am taking that extra time to (slowly) learn the coding. Like most of us who took the time to read this wonderful article, I am in this for the long haul, so I just as well learn it! Thanks so much for your help!!!


bjantiques  Professional  Jan 25th 07:22
Hi Mark, Yes I use textpad as well. I find it a lot better than note pad.
Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


bjantiques  Professional  Jan 25th 07:31
Hi David, Yes if your page is not open in 10 to 15 seconds you have lost your visitor. I go to many sites that have flash and who knows what else on them that take ages to load. Do I wait? No I dont have time to waste. They have lost me for good just as the sites with their blaring audio and video that starts as soon as you open the page. The lastes craze of audio ads is going to cost a lot of silly people a lot of visitors and potential customers. If you must have audio or video then make it so that the visitor has to click to hear it if they want to. At least they will stay on the page and read it, and if interested enough will listen to the audio/video. To test page speeds I use http://www.numion.com. I find it good to regularly check my internet connection speeds as well.
Bj
Bill Brown aka Bjantiques
Hosting
Skype bjantiques


David  Innovator  May 14th 04:37
hey this is gd stuff...keep it up !