Get Paid While Promoting Your Business!

Online Shopping

Flipkart.com

Thursday, October 8, 2009

What is the difference between a “static” and “dynamic” website?

0 comments
A static website is one that is written in HTML only. Each page is a separate document and there is no database that it draws on. What this means functionally is that the only way to edit the site is to go into each page and edit the HTML - so you'd either have to do it yourself using a web page editor or we can edit the site each time you wanted something changed. A dynamic website is written using more complex code and can do a lot more. For instance, we can make an area where you can log in and change various parts of the website, such as adding information or products or changing existing products. eCommerce websites, news websites are some examples of dynamic websites. This is because each page is constructed based on the information in a database, and the information in that database can be changed via another interface. Dynamic websites can reduce ongoing maintenance costs if you don't want to change things yourself with a web page editor or with the HTML. They usually cost more to develop, as they require more complex coding and a content management utility needs to be developed to help you manage your website information. Another benefit of dynamic websites is that they allow you to change only the content of the website and not the design, so you will not be able to accidentally break the visual style of the website. They have other benefits when websites start to get very large, as they make data management much more efficient and your website more expandable. Many clients do a combination, having some dynamic areas such as a product catalog where they have to change information or pictures regularly, and leave other pages such as contact information as static pages. Dynamic URLs vs. Static URLs The Issue at Hand Websites that utilize databases which can insert content into a webpage by way of a dynamic script like PHP or JavaScript are increasingly popular. This type of site is considered dynamic. Many websites choose dynamic content over static content. This is because if a website has thousands of products or pages, writing or updating each static by hand is a monumental task. 


 There are two types of URLs: dynamic and static. A dynamic URL is a page address that results from the search of a database-driven web site or the URL of a web site that runs a script. In contrast to static URLs, in which the contents of the web page stay the same unless the changes are hard-coded into the HTML, dynamic URLs are generated from specific queries to a site's database. The dynamic page is basically only a template in which to display the results of the database query. Instead of changing information in the HTML code, the data is changed in the database. But there is a risk when using dynamic URLs: search engines don't like them. For those at most risk of losing search engine positioning due to dynamic URLs are e-commerce stores, forums, sites utilizing content management systems and blogs like Mambo or WordPress, or any other database-driven website. 


Many times the URL that is generated for the content in a dynamic site looks something like this: 
 http://www.somesites.com/forums/thread.php?threadid=12345&sort=date 


 A static URL on the other hand, is a URL that doesn't change, and doesn't have variable strings. It looks like this: 
 http://www.somesites.com/forums/the-challenges-of-dynamic-urls.htm 


Static URLs are typically ranked better in search engine results pages, and they are indexed more quickly than dynamic URLs, if dynamic URLs get indexed at all. Static URLs are also easier for the end-user to view and understand what the page is about. If a user sees a URL in a search engine query that matches the title and description, they are more likely to click on that URL than one that doesn't make sense to them. A search engine wants to only list pages its index that are unique. Search engines decide to combat this issue by cutting off the URLs after a specific number of variable strings (e.g.: ? & =). 


For example, let's look at three URLs: 


http://www.somesites.com/forums/thread.php?threadid=12345&sort=date http://www.somesites.com/forums/thread.php?threadid=67890&sort=date http://www.somesites.com/forums/thread.php?threadid=13579&sort=date 


All three of these URLs point to three different pages. But if the search engine purges the information after the first offending character, the question mark (?), now all three pages look the same: 


http://www.somesites.com/forums/thread.php http://www.somesites.com/forums/thread.php http://www.somesites.com/forums/thread.php 


Now, you don't have unique pages, and consequently, the duplicate URLs won't be indexed. Another issue is that dynamic pages generally do not have any keywords in the URL. It is very important to have keyword rich URLs. Highly relevant keywords should appear in the domain name or the page URL. This became clear in a recent study on how the top three search engines, Google, Yahoo, and MSN, rank websites. 


The study involved taking hundreds of highly competitive keyword queries, like travel, cars, and computer software, and comparing factors involving the top ten results. The statistics show that of those top ten, Google has 40-50% of those with the keyword either in the URL or the domain; Yahoo shows 60%; and MSN has an astonishing 85%! What that means is that to these search engines, having your keywords in your URL or domain name could mean the difference between a top ten ranking, and a ranking far down in the results pages. The Solution So what can you do about this difficult problem? 


You certainly don't want to have to go back and recode every single dynamic URL into a static URL. This would be too much work for any website owner. If you are hosted on a Linux server, then you will want to make the most of the Apache Mod Rewrite Rule, which is gives you the ability to inconspicuously redirect one URL to another, without the user's (or a search engine's) knowledge. You will need to have this module installed in Apache; for more information, you can view the documentation for this module here. This module saves you from having to rewrite your static URLs manually. How does this module work? 


When a request comes in to a server for the new static URL, the Apache module redirects the URL internally to the old, dynamic URL, while still looking like the new static URL. The web server compares the URL requested by the client with the search pattern in the individual rules. 


For example, when someone requests this URL: 


http://www.somesites.com/forums/the-challenges-of-dynamic-urls.html 


The server looks for and compares this static-looking URL to what information is listed in the .htaccess file, such as: RewriteEngine on RewriteRule thread-threadid-(.*)\.htm$ thread.php?threadid=$1 It then converts the static URL to the old dynamic URL that looks like this, with no one the wiser: 


http://www.somesites.com/forums/thread.php?threadid=12345 


You now have a URL that only will rank better in the search engines, but your end-users can definitely understand by glancing at the URL what the page will be about, while allowing Apache's Mod Rewrite Rule to handle to conversion for you, and still keeping the dynamic URL. If you are not particularly technical, you may not wish to attempt to figure out the complex Mod Rewrite code and how to use it, or you simply may not have the time to embark upon a new learning curve. Therefore, it would be extremely beneficial to have something to do it for you. This URL Rewriting Tool can definitely help you. What this tool does is implement the Mod Rewrite Rule in your .htaccess file to secretly convert a URL to another, such as with dynamic and static ones. With the URL Rewriting Tool, you can opt to rewrite single pages or entire directories. Simply enter the URL into the box, press submit, and copy and paste the generated code into your .htaccess file on the root of your website. You must remember to place any additional rewrite commands in your .htaccess file for each dynamic URL you want Apache to rewrite. 




Now, you can give out the static URL links on your website without having to alter all of your dynamic URLs manually because you are letting the Mod Rewrite Rule do the conversion for you, without JavaScript, cloaking, or any sneaky tactics. Another thing you must remember to do is to change all of your links in your website to the static URLs in order to avoid penalties by search engines due to having duplicate URLs. You could even add your dynamic URLs to your Robots Exclusion Standard File (robots.txt) to keep the search engines from spidering the duplicate URLs. Regardless of your methods, after using the URL Rewrite Tool, you should ideally have no links pointing to any of your old dynamic URLs. You have multiple reasons to utilize static URLs in your website whenever possible. When it's not possible, and you need to keep your database-driven content as those old dynamic URLs, you can still give end-users and search engine a static URL to navigate, and all the while, they are still your dynamic URLs in disguise. When a search engine engineer was asked if this method was considered "cloaking", he responded that it indeed was not, and that in fact, search engines prefer you do it this way. The URL Rewrite Tool not only saves you time and energy by helping you use static URLs by converting them transparently to your dynamic URLs, but it will also save your rankings in the search engines.
Read more...

How to create your own free CD autorun for HTML and most file types

0 comments


Assembling the CD Download and copy the files to your root directory of the CD. 


These are: autorun.inf, autorun.bat and index.html. 


You can put all sorts of files on the rest of the CD. They won't affect the autorun. You can test the autorun by burning the three files to the root directory of a test CD-R. Open the CD drive and close it again. Viola, you have just created your own autorun HTML CD. You should change the contents of index.html to whatever you need. The index.html supplied is only a test page. Changes you can make The autorun can open any type of file and display any message you want. To make changes, open Windows Notepad (do not use Word, WordPad or other Word processors). Now open the autorun.bat file from within Notepad. The order is important, if you double-click the autorun.bat file, it will try to run. So open NotePad and select File-Open and choose the autorun.bat file. You'll see four lines of code. 


The first line after @echo (remember the space) will appear as a comment in the autorun launch Window. This comment will be seen very briefly by your end-users. It can be changed to anything you want, but since it only appears for a second or less, don't make it too wordy. If you wanted to say 'The CD is loading now...', the first line of code will look like: @echo 


The CD is loading now... 


The second line of the code tells the .bat file to open to your index.html file. 


If want to open a file by another file (eg readme.txt), then it would read: @start readme.txt 


Make sure you leave the last two lines untouched (@cls and @exit) - they must always appear last. Save the changes and you are done. That that's all you need to create your own HTML autorun CD.
Read more...

Download the Windows Media Player MPEG-2 and DVD Video Decoder Utility

0 comments
File Size 0.2MB 


File Name dvdchecksetup.exe 


Author/Supplier Microsoft [Click here to Download] 


Description This free DVD and MPEG-2 utility from Microsoft is designed for systems running XP with Media Player 10 installed. Here's the low-down from Microsoft: 'The Windows XP Video Decoder Checkup Utility helps you determine if an MPEG-2 video decoder (also called a DVD decoder) is installed on your Windows XP computer and whether or not the decoder is compatible with Windows Media Player 10 and Windows XP Media Center Edition. An MPEG-2 decoder is software that allows you to play DVDs and files that contain video content that was encoded in the MPEG-2 format (such as DVR-MS files, MPG files, and some AVI files). If you encounter a problem while using Windows Media Player 10 to synchronize (copy) recorded TV shows to a Portable Media Center or other device, use this utility to verify that you have a compatible MPEG-2 decoder installed on your computer. Note: This utility only indicates whether an MPEG-2 decoder is compatible with the synchronization feature of Windows Media Player 10 or whether an MPEG-2 decoder is compatible with the recorded TV playback feature of Windows XP Media Center Edition. This utility: 

• Lists all the MPEG-2 video decoders that appear in your Windows registry (a database that contains information about the hardware and software installed in your computer). 


• Indicates whether each decoder listed in the registry is marked as compatible with Windows XP Media Center Edition and whether any decoder listed in the registry is marked as the preferred video decoder. 


• Indicates whether each decoder listed in the registry is marked as compatible with the synchronization feature of Windows Media Player 10. 


• Lets you designate which installed decoder that you want Windows Media Player 10 to use when synchronizing DVR-MS files to a portable device. This is known as the preferred video decoder. 


• Lets you undo any changes the utility makes to your Windows registry'.
Read more...

Monitor or HDTV

0 comments
Bigger screen to go with your HD PC tuner. Do you go with a larger monitor or opt for a HDTV? And what is the difference between a monitor and a HDTV these days? 



At first glance a LCD monitor and LCD HDTV look just about the same. An HDTV has a tuner of some sort (analog, digital or both), and perhaps extra input and output ports like composite, component, and cable/RF along with DVI, HDMI, and VGA. 


Monitors as a rule do not have tuners and only have DVI, HDMI and/or VGA inputs. 


A HDTV comes with a remote control and monitors generally do not. So any adjustments on a monitor require you to use the manual controls normally located at the bottom of the screen. Of course either way you want a wide screen. 


The old fashion 4:3 screens have just about been totally replaced with the new 16:9 (or 16:10) ones. 


 Here are the important things to consider: Viewing Angle: As a rule monitors have a narrower viewing angle than a HDTV. Most monitors (with the exception of high end monitors) are made with what are called TN panels. These panels look whiter as you view from a higher angle and darker as you go lower. 


There is color bleed if viewed more than 70-80 degrees to the left or right. Response time: Something 6 ms or under (preferably closer to 2 ms) so that ghosting is minimized on high speed action, such as sports. Normally the monitor/TN panels have an advantage here. Resolution: If you will be watching High Definition movies, get a screen with 1920x1200 also known as 1080p resolution. To get a 1080p monitor, current you will have to get a 24” or larger screen as the smaller screens are 1680x1050 max. 


A 26” is just about the smallest 1080p HDTV. Connections: Most monitors now come with DVI and/or HDMI connections along with the standard VGA. Make sure if it’s DVI only it also has HDCP. This is required for some Blu-Ray HD movies to be displayed in full HD. All HDTV’s have HDCP. Sound: Monitors usually have poorer sound quality than a HDTV. Some monitors do not even have speakers. 


Cost: Monitors will generally cost 20-50% less than a HDTV of the same size and resolution. 


GENERAL TIPS: The lower the response times the better. · The higher the brightness, the better · The higher the contrast ratio, the better. · The wider the viewing angles the better · Use a DVI or HDMI connection if available.
Read more...