Keeping Your Site Current



Get Web Design Tips and Tricks on mps-web-design.com. Keeping Your Site Current topic will increase your understanding on Web Design Tips and Tricks. We at mps-web-design.com only provide news, articles, information in Web Design Tips and Tricks. Web Design Tips and Tricks at mps-web-design.com provides the most up to date news and articles. If you have questions please do not hesitate to contact us.

It's imperative that your website's information be current. This can prevent you from many problems with your clients.

If you have anything on your site that's date sensitive, such as a sale, promotion, coupon or similar items that have expiration dates, then remove them when they expire. I had a friend who used her website to advertise a sale she was having at her store. The ad filled one entire page. Well, about six months after the sale had ended I went to her site and found the sale still listed. She did have an expiration date, which was a good idea, but also caused some problems.

By leaving this expired ad up it caused some problems with a few clients. Some people came to her store expecting the discount mentioned in the ad, and became upset when they found out the sale was over. Some people became so upset that she gave them the discount anyway.

While this solved the immediate problem, she still had unhappy customers. These customers no doubt told all their friends about the unprofessional way the store was run. There's no way to prove it, but I'm sure she lost sales from these unhappy customers spreading their unfortunate experience. Also, you have people coming in that when they find the sale has ended feel cheated, stupid (Jeez, I didn't notice the expiration date), embarrassed, and all around unhappy. They then try to funnel all of these negative emotions onto the storeowner, or whoever happens to be behind the counter. Now you have the owner and employees feeling unhappy. It goes on and on. All because the owner didn't remove the page or update it with something like, 'I want to thank everyone who made the sale such a success. Keep checking back to see when our next sale will happen.'

Making a simple change to the one page like this would have prevented all of the misunderstandings, made everyone happy and increased site traffic as people kept going back to the sales page to see when the next sale would be.

Besides removing outdated material, you should regularly put new content on your site.

This can be done easily by putting up new articles, news related to the topic of your website, contests and anything else that will keep people coming back to your site.

Putting articles on your site is an excellent way to keep it current. These articles can also be a great way to promote your business. There are sites on the Internet where people go to get articles to use in their ezine or on their sites. Placing your articles on one of these content sources can be great promotion for you. Create a good, and short, promotional paragraph to go at the end of your article telling readers who you are and what your business is about and be sure it includes your website address. These are also great places to find content if you can't write, or just don't have the time.

Some of the content sites I use are:
Ideamarketers - http://www.ideamarketers.com/
GoArticles - http://goarticles.com/
NetterWeb - http://www.netterweb.com/articles/
Author Connection - http://www.AuthorConnection.com/

You can also offer a free online newsletter, just like the one you're reading now. A monthly newsletter is best, but even a quarterly one will keep your name in front of your clients and potential clients. Again, just write an article to use in the newsletter or use one of the above article sites to find material.

Keeping your site current by removing outdated listings and adding new information will give people a reason to come back often. And with each visit they will be expose to your products and services, which increases your chances of a sale.




Data Entry Pro-Pays 75% New Site Design! - Old Payout was $22.60/Current Payout now $33.93 Per Sale! 2x less refunds. Affiliates Profit More than Ever Before! Try it & See.
The Ultimate Decorating Organizer. - Now you can always have your home at your fingertips! Finding & keeping measurements, colors, & samples is quick and easy.

Some simple suggestions

Well I don't consider myself an expert, I do have experience with working with larger datasets and there are a couple of things that I always do to keep queries performing well.

Optimize Queries with EXPLAIN

Explain is your friend, get to know it well. If you take the time to read thru the Explain documentation on the MySQL site, you will find some valuable information, some of which is hilighted below.

Optimizing joins

Single sweep what?

MySQL resolves all joins using a single-sweep multi-join method. This means that MySQL reads a row from the first table, and then finds a matching row in the second table, the third table, and so on. When all tables are processed, MySQL outputs the selected columns and backtracks through the table list until a table is found for which there are more matching rows. The next row is read from this table and the process continues with the next table.

Why is this important? Imagine a main table - tableA - with 80,000 rows of data. This table has a corresponding n:n table that maps entries in tableA with a locations table. A query could be written as:

SELECT tableA.*, locations.location from tableA 
Left Join tableA2locations on 
tableA2locations.tableA_id = tableA.id
Left Join locations on 
tableA2locations.location_id = locations.id
where locations.location = 'sometown'

Keeping the above quote in mind, MySQL will read a row from the first table and join the corresponding data from the joined tables for that row and then sweep thru the rest of the data, joining as it goes along.

This leads us into the following section.

Number of rows needed to execute a query

You can get a good indication of how good a join is by taking the product of the values in the rows column of the EXPLAIN output. This should tell you roughly how many rows MySQL must examine to execute the query.

From the above, you can determine that for a query on tables that have not been properly indexed, a join can quickly become unwieldy when dealing simply with three tables with records in the thousands (1000*1000*1000 = a slow query). See HackMySQL for a good example of this.

Reducing the number of rows needed to execute a query

So beyond indexing properly for joins, you can still end up with a query that runs in a way that causes a bottleneck.

Taking our example from above, imagine that we use a where clause that limits the tableA selection to half (tableA.foo = 'bar' below):

SELECT tableA.*, locations.location from tableA 
Left Join tableA2locations on 
tableA2locations.tableA_id = tableA.id
Left Join locations on 
tableA2locations.location_id = locations.id
where locations.location = 'sometown' and tableA.foo = 'bar'

This starts us out with 40,000 rows of tableA data to examine. If there are a further 2000 rows from tableA2locations, thats 800,000 rows of data. Not astronomical, but significant. If this was a 3 or 4 table join, things could get ugly. What to do? The answer may be obvious to some: select first with the most limiting table:

SELECT tableA.*, locations.location from locations 
Left Join tableA2locations on 
tableA2locations.location_id = locations.id
Left Join tableA on 
tableA2locations.tableA_id = tableA.id
where locations.location = 'sometown' and tableA.foo = 'bar'

This starts us out with 1 selection from the locations table, then 2000 from tableA2locations. If the join between tableA2locations and tableA is indexed correctly, we are then left with an index join based on ID, rather then having to initially select 40,000 rows from tableA as in the previous example.

When I first started programming, it made sense to me to select from the main table (tableA) and join the lookups. But once you add some data to the mix and start to play with Explain, you quickly realize that selecting from the limiting table can make your server's life a little easier.

For further reading on the topic, I always send people to HackMySQL when they ask, so for more tips and tricks, be sure to have a read thru the optimize section of that site.



Article Index: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79


More Articles:


1. 12 Essential Web Site Design Tips By Justine Curtis
1. What’s the purpose?The most fundamental thing to do before designing your web site is to define its purpose. Do you want to sell products directly to your customer through your web site, or collect contact details to develop future relationships? A lot of this will depend on the products or services you sell, those with a larger price tag will require more relationship building than those that would count as an “impulse” purchase. People also use web sites to research products as well as p…

2. Your Graphics- Are They Really Working For You?
(Making Your Graphics Work For You)It’s no secret that a picture is worth a thousand words or that people really do judge a book by its cover. Effectively using graphic headers, e-covers and background graphics can send your profits soaring. Amateur looking graphics are worse than no graphics at all.The graphics you use on your website should intensify the screen’s message. Correctly used graphics will activate the prospects emotions into a buying mode. This can be effectively accomplished by in…

3. Ever Wondered What Challenges Other People With Their Web Site ?
Have you ever wondered what challenges are faced by other webmasters and owners in the design and promotion of their websites, well I certainly have and so I decided to try and find out.I created a short survey which asked the following questions:1. How long have you been running a website ? 2. What challenges do you face right now with the DESIGN of your website ?3. What challenges do you face right now with the PROMOTION of your website ?4. What challenges do you think you'll face with your w…

4. How to Get Your Visitors To "Tell A Friend"
Does your website offer visitors a quick and easy way torecommend it to a friend? If not, you're missing out on apotential gold mine of free traffic.The benefits:1. Automated website promotion. You set up the program andyour visitors do the work of promoting your website for you.2. You receive higher quality visitors. Your visitors willrefer people *really interested* in your products orservices. These people will be more likely to subscribe toyour newsletter, request your free reports, and ulti…