|
just another regularban.info web blog |
| MEMBERS: | How To Lay The Foundation For A Good Website
So you are passionate about a particular subject and you want to take your passion online. At this point you may not know where to start and this is where I hope I can help you. After all you deserve to share your passion with others and they will benefit from it also. The key to building any website is to build it with your visitor in mind. What can you truly do for them that will add value to their experience when visiting your site? Let's take for example that you enjoy building model planes. The first place you are going to visit is the online forums. The reason I choose forums is because this is where conversations take place relative to any given topic. This will give you a measure of interest. The first step is to see how up to date the forum is and secondly how many posts it receives per day. Additionally how many people respond to those posts on any given day? Obviously the more the better, the more interest the better for you. The next thing you are going to look for is, what are the questions being asked and can you engage in the conversation and offer solutions. If this is the case your next task is to look for keywords. What keywords do people use to seek out solutions for their needs? The next thing to do is look for a keyword tool. I am going to use Google's keyword tool for this example. Keyword tools by the way are not by any standard of the imagination an exact science. They give you a rough guide as to how many times a given keyword is searched. So do not think that the numbers you get are exact. Your task right now is to develop a list of keywords. Once you have this list you are now going to look at the level of competition. Starting out we do not want too much competition but remember competition is good as it means there is money to be made in that market. We at this point are just looking for cheaper ways to enter the market. To do this enter your keyword into the search box in quotes. Then check how many websites are coming up for that keyword. If it is in the millions that is not good if it is in the thousands then that is great. You will now be refining your list based on competition. Once the list is completely refined you will now have the general structure of your site. These keywords will make up individual web pages. To conclude this is how to lay the foundation then once you have these keywords you will be ready to structure each of the pages on your site using each individual keyword with content relative to that. To learn how to put all this together select any of the links provided.
Your CSS Code is Slowing Down Your Website - How To Optimize for Speed
Did you know that your css code could be slowing down your website? Did you also know that there is a free solution out there that can help you optimize or reformat your css code for speed and readability? This article is going to explain the benefits of optimizing your css code and the reasons why all web designers should be doing it. First we need to take into account the 2 reasons why you would want to reformat your css: readability and optimization. Readability Having nicely formatted css that easily readable is very helpful when you are developing a site. Most of us (me included) can get pretty sloppy when in a hurry to develop code, and a formatter can really help out to make it more readable. On development teams where both Macs and PCs are used, sometimes line breaks are not read correctly across platforms and your css can end up all on one line. A formatter can help get your code looking pretty again. Optimization The opposite of readability is optimization. One problem with CSS is that it can get pretty file-size heavy when designing with it - especially on complex layouts. Optimizing your CSS will strip out all unnecessary characters and leave your CSS lean and mean. Optimizing css is great to do once you've finished your site and don't plan to work on the design very much anymore. The css formatter is a great tool because it can do both! You can format for readability while you are designing, optimize when you go live, and reformat it for readability if you ever need to work on it again. It's really a 'win win' thing to do.
Using Perl To Convert Hyperlinks And Filenames To Lowercase
Like a lot of web developers, I'm not always that disciplined when it comes to the file naming convention I use and I sometimes end up with a situation whereby I have some files that are in lowercase, some that begin with a capital, and some that are a bit of a mixture. One web site I maintain contains about 2000 web pages and has about 20,000 hyperlinks. As you can imagine, I had one of those sinking feelings when I was told that in order to migrate the web site to a new content management system, all the file names and hyperlinks would need to be changed to lowercase. Whenever I am presented with a problem like this, my instinct is always to write a Perl script using one or more regular expressions to solve the problem. This particular situation was no exception. Change a string to lowercase The following regular expression changes all the characters in a string to lowercase. The first part of the regular expression finds a hyperlink, and the second part converts the string. (Just in case this article is not displayed correctly, there should be a single backslash in front of the 'L$1'). Change a filename to lowercase Likewise, changing a filename itself is very simple. The following two lines perform the task quite nicely: (Again, there should be a single backslash in front of the 'L$name'.) If you need more information on how to incorporate the above code snippets into a complete script, feel free to contact me directly.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |