Archive

Posts Tagged ‘Using’

Using the singleton design pattern

October 1st, 2011

Using the singleton design pattern


Free Online Articles Directory




Why Submit Articles?
Top Authors
Top Articles
FAQ
ABAnswers

Publish Article

0 && $.browser.msie ) {
var ie_version = parseInt($.browser.version);
if(ie_version Login


Login via


Register
Hello
My Home
Sign Out

Email

Password


Remember me?
Lost Password?

Home Page > Computers > Programming > Using the singleton design pattern

Using the singleton design pattern

Posted: May 22, 2009 |Comments: 0
| Views: 376 |




]]>

What is the Singleton Design Pattern?

A group of authors now affectionately known as the ‘Gang of Four’ (Erich Gamma, Richard Helm, Ralph Johnson, and John Vilssides) wrote a book called ‘Design Patterns: Elements of Reusable Object-Oriented Software’. In this book they defined three categories of design patterns which are:

Creational Patterns Structural Patterns Behavioural Patterns

 

The Singleton Design pattern falls into the category of Creational Design Patterns, the Singleton Design Pattern ensures your software has only one instance of the class and provides a global access to it. In other words the Singleton design pattern is all about making sure that you can instantiate only one object of a particular class. If you don’t use a pattern like this one, the new operator just keeps on creating more and more objects.  

Could I not just use a Static Class

Technically you could just use a static class as then there would only be one shared instance of a class for. However, if you did that then you would miss out on some of the benefits of the singleton design pattern. These benefits that singletons have over static classes include:

Singletons can implement interfaces and inherit from other classes A singletons can be lazy loaded. Only when it is actually needed. That’s very handy if the initialisation includes expensive resource loading or database connections Singeltons offer an actual object Singletons can be extended into a software factory. The object management behind the scenes is abstract so it’s better maintainable and results in better code Static classes are instantiated at runtime. This could be time consuming. Singletons can be instantiated only when needed So how do you use the Singleton Design Pattern?

]]>

In object oriented programming and software development you generally create an instance of an object by using a new operator, for example:

C#:            MyObject myNewInstance = new MyObject()
VB.NET:      Dim myNewInstance As New MyObject()

Each time a new object the computer allocates a heap of memory, creating lots of these object will increase the amount of memory is used and potentially effect the performance of your software product.

So how do we make it so that we only ever have one instance of our class, well it is a very simple 2 stage process:

Create the objects contructor as PRIVATE , that way no code outside of the class can creat an instance of the object. Create a static/shared method within the class that will return a newly created instance of your class, or if an instance already exists then it will return the current instance.  Singleton Design Pattern Example

C#:

public class MyObject
{
       //create a private static variale to store our instance
       private static MyObject singletonObject;

       //create a private constructor
       private MyObject()
      {
             //initial
       }

       //create a publi static method to return the instance
       public static MyObject CreateInstance()
       {
              //check if we already have an instance, if so return it, else create a new
              //instance

              if (singletonObject == null)
                         singletonObject = new MyObject();

              return singletonObject;
       }
}

 

VB.NET :

Public Class MyObject

       ‘create a private static variale to store our instance
       Private Shared singletonObject As MyObject

       ‘create a private constructor
       Private Sub New()
      
             ‘initialise the object
       End Sub

       ‘create a public static method to return the instance
       Public Shared Function CreateInstance() As MyObject
       
              ‘check if we already have an instance, if so return it, else create a new
              ‘instance

              If singletonObject Is Nothing Then
                         singletonObject = new MyObject()
              End If

              Return singletonObject
       End Function
End Class

 

Notice how in the implementation of the singleton design pattern we declare a private static variable to store the instance of our class. When we call the function we have created to create our instance a check is performed to see if an instance exists in that variable, if not one is created and returned.

Watch your traffic increase just by submitting articles with us, click here to get started.
Liked this article? Click here to publish it on your website or blog, it’s free and easy!

Real IT Solutions -
About the Author:

About the Author: This article was provided by Real IT Solutions, a Derbyshire based Derby Web Design, Software Development and Internet Marketing company.

]]>
Questions and Answers

Ask our experts your Programming related questions here…

Ask

200 Characters left

What are the design patterns used in spring ?
What are the design patterns in .net ?
How many types of design patterns in java ?

Rate this Article

1
2
3
4
5

vote(s)
9 vote(s)

Feedback

Print

Re-Publish

0) {
ch_selected = Math.floor(Math.random()*ch_queries.length);
if(ch_selected == ch_queries.length) ch_selected–;
ch_query = ch_queries[ch_selected];
}
}catch(e){
ch_query = document.title;
}
]]>

Source:  http://www.articlesbase.com/programming-articles/using-the-singleton-design-pattern-931313.html

Article Tags:
singleton design pattern, singleton software development, software, design patterns, gang of four, creational design pattern, derby software development, derby web design, derby internet marketing

Related Videos

Latest Programming Articles


Don’t Be Square

When it comes to giving gifts, not everything fits neatly into a box. (03:34)


Gift Wrapping Tips and Ideas

When it comes to wrapping presents, it’s not just about picking the paper. (02:16)


Learn Taped Patterns and Designs with Paint

Learn how to paint vertical stripes on a wall. Vertical stripes are one of the most versatile wall finishes. In this video you will learn the steps needed to create vertical lines on your walls. Proper measuring, taping and paint techniques are covered. For more information, visit http://www.homedepot.com/knowhow (03:55)


How to Design Spa Baths – Classic Elegance

When you have a classic spa bath, your space will never go out of style. (02:14)


Learn About Victorian Interiors

Victorian interiors focus on the elaborate, which was more than apparent when Meghan Carter, host of Ask the Decorator, toured three Victorian homes in Wheeling, WV. The interiors of the Victorian homes featured intricate patterns, detailed fretwork and stunning stained and art glass. Discover the main characteristics of Victorian interiors as Meghan takes you to Wheeling, WV to see them first-hand. (04:07)

Build Great Application For iPhone Using COCOS2D

Outsource iPhone development teams a can now build great apps for all models of the iPhone. This software can now facilitate iPhone application development by simplifying the creation.

By:
dharmeshtalaviyal

Computers>
Programmingl
Oct 01, 2011

Important Branding Tips For Sharepoint 2010

The knowledge framework for sustaining the SharePoint 2010 implementations. It is therefore essential to know how SharePoint 2010 operates when creating various branding tips. Companies can consult about SharePoint 2010 implementation so as to satisfy the needs for maintaining proper documentation. It was only possible to develop a gallery layout with the folder list that is always visible on the left side. With the newly invented SharePoint development.

By:
dharmeshtalaviyal

Computers>
Programmingl
Sep 30, 2011

Is HTML5 Development proving to be a risk for Flash and Silverlight?

HTML5 is a groundbreaking upgrade to how the web was being presented and can serve to be an effective game-changer to the era of web application development. So where do RIA technologies like Adobe Flash, Microsoft Silverlight, etc. stand?

By:
Elan Technologiesl

Computers>
Programmingl
Sep 29, 2011

The Benefits of Ecommerce Design Kent

A good business website should be attractive and user friendly for the viewer/customer, but should also be easy for the business owner. Building a great website shouldn’t be left to chance.

By:
Grahaml

Computers>
Programmingl
Sep 28, 2011

Making Use of the Skills and Expertise of your Programmers

Of course, other programming language can be used but you should be able to know which one will work best for your web application development; this will not only save you time but also resource and effort.

By:
Jimmy Hiltonl

Computers>
Programmingl
Sep 28, 2011

Add new Comment

Your Name: *

Your Email:

Comment Body: *

 

Verification code:*

* Required fields

Submit

Your Articles Here
It’s Free and easy

Sign Up Today


Author Navigation

My Home
Publish Article
View/Edit Articles
View/Edit Q&A
Edit your Account
Manage Authors
Statistics Page
Personal RSS Builder
My Home
Edit your Account
Update Profile
View/Edit Q&A
Publish Article
Author Box


Real IT Solutions has 1 articles online

Contact Author

Subscribe to RSS

Print article

Send to friend

Re-Publish article

Articles Categories
All Categories

Advertising
Arts & Entertainment
Automotive
Beauty
Business
Careers
Computers
Education
Finance
Food and Beverage
Health
Hobbies
Home and Family
Home Improvement
Internet
Law
Marketing
News and Society
Relationships
Self Improvement
Shopping
Spirituality
Sports and Fitness
Technology
Travel
Writing

Computers

Computer Forensics
Computer Games
Data Recovery
Databases
E-Learning
File Types
Hardware
Information Technology
Intra-net
Laptops
Networks
Operating Systems
Programming
Security
Software

]]>

Need Help?
Contact Us
FAQ
Submit Articles
Editorial Guidelines
Blog

Site Links
Recent Articles
Top Authors
Top Articles
Find Articles
Site Map
Mobile Version

Webmasters
RSS Builder
RSS
Link to Us

Business Info
Advertising

Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2011 Free Articles by ArticlesBase.com, All rights reserved.

About the Author: This article was provided by Real IT Solutions, a Derbyshire based Derby Web Design, Software Development and Internet Marketing company.

Information Technology , , ,

2 Quick Tips For Profitability Using Erp Software Solutions

October 15th, 2010

Given today’s economic climate, it’s critical to do all you can for your business behind the scenes with your information technology and ERP software tools to stay ahead of the pack. The competition out there is as fiercer than ever both domestically and overseas. Businesses in this new decade are not only competing with their neighbors they are competing globally, and in many occasions with companies not traditionally in their respective industry or service.

Companies have utilized technology, particularly ERP modules and ERP software solutions for almost five decades now. Merely having an ERP system or ERP vendors at your side was enough to stay best of breed and ahead of the competition a few years ago. Now with SaaS (software as a service) ERP vendors and applications on the market, the once too pricey ERP software apps are now affordable to almost everyone. Businesses of all walks of life can now utilize and capitalize on the benefits of full scale ERP software solutions or ERP modules with a minimal budget.

The next level of enterprise systems advantage are ERP vendors and ERP software apps that help companies become even more flexible and able to adapt quickly to new information technologies and infrastructures. To meet this increasing performance demand, ERP vendors are developing ERP software applications on a service oriented architecture (SOA) foundation for their enterprise applications. Service oriented architecture enables companies to implement IT systems that meet challenging business goals faster and better than traditional approaches. With the SOA methodology of a business services perspective, enterprise systems and business processes can develop a common language for better and faster communication to address and capitalize on changing business needs.

The key benefit summary is that the SOA approach to building ERP module and enterprise systems is that by implementing ERP software with this infrastructure allows companies to leverage their existing assets to their fullest potential by reusing services to address business requirements that constantly change. SOA based ERP software apps speeds up and simplifies the automation of business processes by delivering the functionality as a service offering. The ERP software functionalities are delivered through a standards based interface which goes around the need to change any backend systems. The services can are also flexible and can be grouped in multiple combinations to automate business processes.

Open source applications are also quite effective when implementing services oriented architecture as it reduces the cost of tools and usually come with a wide range of alternative solutions from different ERP vendors and ERP modules to choose from. With Open source technologies companies can avoid the risk associated with getting trapped in with an ERP software vendor or software application and the open source community is a robust network to tap into for resources. Companies can also have the option of commercial open source tools available on the market for more choices.

Companies are looking to software oriented architecture ERP software to get information faster, easier, and at a much more cost effective manner than traditional methods. In areas of aggregating information from disparate IT systems and databases, increasing speed of information flow, or integrating disparate legacy ERP systems, companies must get a cost effective solution to their needs. SOA based ERP solutions deliver the value and return on investment companies are scrambling for in today’s business climate.

Learn More:

Learn more about ERP Modules and ERP Vendors at Erp.com

Sudhani works as a copy writer, specializes in promoting websites for highly competitive keywords like ERP.

ERP , , , , ,

How to Make Money Using Free Torrents

August 2nd, 2010

Okay, so everybody knows that torrents are free(or at least you do now). I can’t think of a single torrent site that charges users to join. A majority of the sites make there money by providing advertising space to high paying customers.  So if your a small entrepreneur making money with paid advertising is a little bit out of the question unless you have surprisingly deep pockets.  Of course if you had surprisingly deep pockets then you couldn’t really call yourself a small entrepreneur.

So for all the truly small entrepreneurs you have to find another way to make money on torrent sites. And the way to do that is to “invest” in the fee torrents themselves.  Using pay per install you can make money from every torrent that you upload that receives a download.  All you have to do is make sure that your file is semi-popular and maintain a good connection to the internet so that people can download the file.

The number of files that you upload is totally up to you, but the amount of money that you make will be greater if you upload a lot of files.  Some entrepreneurs are already using Pay Per Install and there making good profits.  Some are making 150-300 dollars a day.  Which is quite easy to do if you create a good torrent that people are modestly interested in. 

With the millions of visitors that torrent sites receive everyday you won’t have to do any other work besides uploading torrents and checking to make sure that your uploads are still good and receiving downloads from time to time.  All of the advertising that you would need to do if you were promoting a regular product on the internet is done for you already by the torrent sites.  So that’s one hassle that you will never have to endure if you use pay per install to make money on torrent sites.

To learn how you can use pay per install to make money with free torrents visit – http://www.seegarsproducts.com/payperinstallrevealed

I enjoy writing and building businesses.

.htaccess , , ,

How to Make Money Using a Torrent Downloader

July 17th, 2010

After people get a torrent downloader client the first thing that people usually do is find a popular torrent site and begin searching and downloading torrents.  Torrent downloaders aren’t just downloaders there also uploaders that are used to share files with people around the world.  And uploading torrents and sharing files is big business for Pay Per Install affiliates.

Pay Per Install affiliates are paid a commission for every torrent file of theirs that receives a download. The affiliate merchants give the affiliates a file to bundle with there torrent upload and every time there file is downloaded the download is tracked and the affiliate receives credit in his account.  All the affiliate has to do is make sure that the install package that he receives is attached to all the files that he uploads.

Affiliates are paid 10-25 cents for there downloads and all they need to do to keep getting paid is check to make sure that there files are still being downloaded and replace file that aren’t being downloaded.  The more files they have uploaded the better.  The great thing about making money using torrents is the fact that all of the advertising for the torrents is already taken care of by the torrent sites. They receive millions of visitors a month and a majority of the visitors are searching for torrents to download.

The average torrent file will receive a few thousands downloads if it’s slightly popular and easily put a few hundred dollars into the pocket of a Pay Per Install affiliate.  And because there’s no limit to the amount of files that an affiliate can upload and have downloading.  The affiliates pay is totally up to them.

To learn how you can make money with torrent downloaders visit – http://www.seegarsproducts.com/payperinstallrevealed

I enjoy writing and building businesses.

.htaccess , , ,

Run Windows on Your Mac using VMWare Fusion

July 8th, 2010

What is VMWare Fusion?

VMWare Fusion is a Mac software that will let you run multiple operating systems on your Mac computer such as Windows, Solaris, and Linux. With VMWare Fusion, you can run other operating systems along side the Mac OS X even without rebooting your computer or laptop. It allows you to share information quickly and smoothly between two different OS environments.

NOTE: The VMWare Fusion Mac software usually comes free when you buy a new Mac from the Apple store.

Windows in a Mac Body

When you use the VMWare Fusion software, it’s like working on a familiar environment using a non-familiar platform. The drag and drop function of Windows still applies, but it is the Mac keyboard shortcuts that you have to use. It might require some getting used to, but at least you’re already done with the first half, especially if you’ve been working on Windows for too long now.

To launch the Windows application, use the VMWare Fusion Launch Palette or Spotlight. To switch to another operating system, use the Expose. Finally, to keep applications you like, use the Dock.

Freeze and Turn Back Time

The VMWARE Fusion software has an innovative feature called the Snapshot that lets you capture and save the exact condition of your application. Just in case your Windows system becomes unresponsive, you can use the software’s Snapshot feature to go back to the last known stable condition of the application.

Mac Hardware to Boost Your Windows OS

Because Mac computers are often equipped with hardware of the best performance and highest quality, they can boost the performance and flexibility of your Windows OS. You can take advantage of the 64-bit multi-core processor of your Mac computer to improve the action of other operating systems. With VMWare Fusion, running 64-bit OS such as the Windows Vista Ultimate Edition will be as easy as a piece of cake!

Not Just One, Not Just Two, But Multiple!

VMWare Fusion lets you run not just one or two operating systems but as many as you like or need. Even if you are already running Windows side by side Mac OS X, you can still Linux or Solaris alongside the two – with ease and comfort. Plus, with this powerful Mac software, you can easily copy and paste texts or drag and drop items between OS.

Bring Back the Familiar Face

While you have finally decided to move on and move forward by using a Mac computer or laptop, do not forget to bring back what you first learned and experienced. Get the VMWare Fusion software from Apple store now and bring back the old familiar faces of Windows and Linux on you’re your modern Mac computer!

Heide Lynne Canlas is a blogger, writer, editor, author, SEO specialist, and online marketer, sidelining as a QA officer. So when she notices something wrong with what you say or do and asks you to correct it, forgive her. She’s just so used to doing her job.

Information Technology , , ,

How to Make Money Using Bit Torrents

June 23rd, 2010

Torrents are a very popular form of sharing files on the internet.  Most torrent users find there torrents on popular torrent search engine sites and download them from there.  This torrents sites are frequented by millions of computer users everyday looking for bit torrents. And will all of the hustle and bustle that goes on at these sites you can make a lot of money from uploading torrents.

A little while ago a form of making money on the internet using free torrents become popular. People make money by becoming affiliates of companies that pay them every time a torrent file that they uploaded gets download.  They usually pay between 10-25 cent.  And with the amount of visitors that torrent sites receive that 10-25 cent can easily turn into hundreds of dollars a day with if an affiliate has a popular torrent for download. 

All downloads are tracked by the affiliate site and payments are paid out once by some companies and twice a month by others. There’s no limit on the amount of files that you can upload and downloads that you can receive so you set your on pay according to the amount of work that you put in.  And because people go to torrent sites specifically to download torrents your guaranteed to get a high number of downloads every time you upload a torrent file.

To be successful all you really need is a torrent client, a working computer, and a good internet connection.  The rest of the work is taken care of by your affiliate merchant and the torrent site that your using.  You just have to stick to uploading files and keeping your computer running so that people can download the files from you.

To learn how you can make money with torrents visit – http://www.seegarsproducts.com/payperinstallrevealed

I enjoy writing and building businesses.

.htaccess , ,

How to Make Money Using Torrent Search Engines

June 7th, 2010

Without Torrent Search Engines there torrents would be the number one way to share files around the world.  Sure you can use the latest torrent client to search for files on the network that your on.  But there are hundreds of torrent networks to choose from so you never know if your getting all of the files that are out there if you use the build in search engines that come with torrent programs.

That’s were torrent search engines come in. They organize things into easily browsable categories for users to search through and some search engines organize torrents from around the internet all over the world in to one central index that user can search through.  That’s why there so popular, and that’s why millions of people visit them daily.

And you can make a good amount of money providing searching torrent site users with the torrents that their looking for.  There are affiliate programs on the internet that pay affiliates money every time one of there torrents is downloaded.  So if you find a popular torrent site and upload torrents in it and your working for one of those companies you can make money giving people free torrents that there looking for.  And because there already looking for the torrent that your offering you never have to worry about advertising.

The affiliate companies that pay you every time you receive torrent downloads are Pay Per Install companies.  Once you sign-up to be an affiliate for there they will give you a simple install package to include with your files for download and from there every thing is set.  You just have to make that your torrents are always active and replace anyones that are not receiving a good amount of downloads.  It’s your choice how many torrents you create but the more torrents you have the better because you will have a higher profit potential if you have a lot of files available for download.

To learn how you can make money on Torrent Search Engines visit – http://www.seegarsproducts.com/payperinstallrevealed

I enjoy writing and building businesses.

.htaccess , , , ,

Using the Microsoft Baseline Security Analyzer – Part 4 of 5 in Troubleshooting for Windows Vista

April 13th, 2010

Another excellent tool that’s freely available to Windows Vista administrators (or anyone else, for that matter) is the Microsoft Baseline Security Analyzer (MBSA). This tool scans a system and quickly identifies security holes such as missing software patches or accounts with a blank or weak password.

Better yet, it recommends corrective action. The only bad news of sorts is that it’s not built into Windows Vista. You have to download this one from the Microsoft web site. The newest version of this tool at the time of this writing was released in May of 2008, Version 2.1. This updated version provides additional features which are detailed at the Microsoft website.

However, legacy Microsoft products are not supported by MBSA 2.1. Because of this, Microsoft has teamed-up with Shavlik Technologies to offer a free companion tool for MBSA 2.1. This will allow users of MBSA 2.01 to still receive security updates.

For the MBSA 2.01, the install steps are straightforward; just follow the steps in the wizard. During installation, the MBSA places a shortcut on the desktop by default. To launch the tool and perform a scan, follow these steps:

Double-click the desktop icon, and then, from the MBSA home page, choose Scan a Computer. Note here that admins can also use the MBSA to scan multiple computers in a network from a central location. In the Computer to Scan page, you should see the local machine listed if you’ve chosen the “Scan a computer” option. (The other selection produces a page from which you can select a range of machines.) Furthermore, the options in this screen let you specify exactly what components get checked during the scan. Once you verify the machine to scan, click the “Start scan” link. You’ll now see a Scanning page with a progress bar that can take several minutes to complete. When the scan finishes, you’ll see a report screen.

As you can see, this provides extremely valuable information to administrators who are interested in doing everything they can to stop problems before they start. For example, the administrator of this machine has been very diligent about installing necessary software updates, it seems, and has gotten passing grades in most areas of computer security. But the MBSA scan generates a failing grade…how is this possible? The MBSA makes it easy to investigate the exact nature of the failing grade by clicking the “Result details” link, revealing the dialog box. In this case it reveales a very significant (yet usually hidden) threat: local user account passwords are weak, thus generating the failing grade.

If you’d like to get my book “Windows Vista Administration: The Definitive Guide” by Brian Culp, (or any of my other books and tutorials), you can pick it up at my website, www.TheAnswerHub.com or at most major book chains. In addition, I’m always happy to provide additional assistance for free (within reason, mind you…don’t go thinking this is some sort of a free ride). Visit me at my website and submit your questions to me. I’ll get back to you with an answer as soon as possible.

Up Next: in the conclusion of this 5-part series, we’ll be discussing the removal of malicious software using the Malicious Software Removal Tool within Windows Vista.

Brian Culp, MCSE, MCT, is a recognized Microsoft expert who has been teaching and writing about Windows for many years. He is author/coauthor of: seven books including Windows XP Power Tools (Sybex) and Outlook 2003 Bible (Wiley); four MCSE study Guides (McGraw-Hill); and numerous tutorials for the Virtual Training Company. Mr. Culp provides instruction on various administration and networking topics throughout the United States, but can always be reached via his website, http://www.TheAnswerHub.com

Troubleshooting , , , , , , , ,

Using Trends to Drive Traffic – Joomla Hack Vs. WordPress Hack

April 12th, 2010

Although I usually post on topics related to business strategy or marketing, a few weeks back I posted an article about my experience of getting hacked and a related tutorial on how I went about recovering from my Joomla site hack.

Apparently I wasn’t alone.  In the ensuing weeks, it has become my most visited post and has encouraged more people to sign up for my feed than any other article I have written.

That got me thinking about the power of trends and how I might go about using what people are already searching for to grab peoples attention.

Paris and Britney can help you…maybe

This article is not about recovering from your site getting hacked.  Instead is about trends, how to find out what they are, and how to take advantage of them to help drive visitors to your site.

To track what is hot (no Paris pun intended), I usually use Google Trends.
http://www.google.com/trends

This is a free service and allows you to compare different search terms for relative search volume, where these searches come from, and for more popular terms, they also link relevant news articles to search volume peaks.

I have never been a trend marketer

It’s not that I can’t or that I find it morally offensive.  The simple fact is that I have never been particularly hip, trendy, or ahead of the curve on the newest fad.  I tend to stick to long term marketing strategies with tried and true metric analysis.  My method is similar to how I invest.  I don’t day trade and I prefer to plan on the 10% long-term average rather than looking at my portfolio every day (Thank god since my balance is in the crapper over the last year)  It’s not sexy, it’s not hip, but it has worked in every business I have run and made me a millionaire in the process.  That’s cool enough in my book.

But I also realize that blogging is a new game. Especially for me.  I have only been doing this for a few months, so I am also in the experimentation stage. I am starting to understand that there may be real marketing value in occasionally chasing after the shiny new firetruck to roll down the street.

Here is how I use trends to drive traffic:

OK. My own stats prove that waaaay more people are searching for help on recovering for a site hack than they are for advice on how to build a solid marketing strategy.  I get it.  I’m sad, but I get it. So, assuming I am going to hop on the trend band wagon, how do I decide what trend to follow, and how do I incorporate it into my area of expertise?

Here is what I did:

I know my site got hacked.

I know that people are interested in the topic

I know that I have sites that use both Joomla! And WordPress

I know that both types of sites have similar weaknesses

So I pulled out my trusty google trend search and compared the search volume for “wordpress hack” and “joomla hack”  What I found was that Joomla was searched a bit more often and there seemed to be a spike back in Q3 of 2008.  Because there was not much news coverage on the events, there were no links tied to the spikes, but if you search some other topics: For example Bush vs Obama, you will see that there are usually specific events tied to peaks and valleys.

So how does this help me?

Well for starters, it lets me know that Joomla seems to be searched for a little bit more often than WordPress, especially in Q3 of ’08 for some reason. At that point, I might want to try to dig into the details further by seeing what actually happened during that time period.

What I was hoping to see was a huge difference in popularity which would give me a clear cut direction on which topic to focus on.

For example: In the case below, if I wanted to find some way to incorporate a train-wreck whore into my article, the choice is pretty clear.  Paris is the slut of choice.

 
So going back to my Joomla Hack Vs WordPress Hack, my plan is to create a tutorial for BOTH  now that I have this information.  Since there is no clear cut winner, but both have a decent amount of search traffic, I might as well proceed with a tutorial that can help visitors deal with the pain in the ass of a hack on either platform.

The second thing I plan to do is what you are reading right now.  That is – write an article in my area of expertise that ties in poplar search terms with my content. Now there is the danger of this article being completely irrelevant to those searching, and that is a real risk.  But the relative small amount of time it takes to create an article, and my own results proving that people will sign up for my marketing and strategy feed based on a technical tutorial seem to be proving me wrong.   My stats will ultimately prove this one way or another.

Isn’t this another “Punch the Monkey” banner?

In case you haven’t seen it 10 million times already, the “punch the monkey” banner is a slick and clever banner ad featuring a monkey that scrolls back and forth and you have to use your mouse to “punch” it with a giant boxing glove.  This click then takes you to whatever website the banner is pointed to.  This banner has been used on everything from dating sites to mortgage brokers.  Granted the click through rate is HUGE (everybody loves to punch a monkey apparently) but there is usually zero relevance to the final site and whatever goal the site owner had for your visit is rarely fulfilled. (Would you submit a mortgage application from this banner?) Granted some miniscule percentage of the population may be looking to refinance their home at the time, but chances are, most clicks are wasted.

The key to using trends to help boost your marketing is to actually offer something related to the hot keyword.  In my example, I DO have content on my site that teaches someone how to recover from a site attack.  In addition, many of the people suffering from the same attacks I had are also small business owners, bloggers, and marketing folks that could benefit from seemingly unrelated content on my site.

As a funny closing note, I also have proof that complete irrelevance will NOT boost sign-ups.  It goes like this:  When I first started my blog I wrote an article called  “The Jennifer Lopez Model vs. the Dolly Parton Model vs. the Kim Kardashian Model.”  At that point I wasn’t concerned at all about driving traffic to my site and in no way was trying to use those name searches to drive visitors to my site.  The goal was simply to be clever (The article is about different marketing approaches…big back end, big front end, big front and back end)  I still think it’s funny, but that’s me.

Anyway, lots of people enjoyed the article, but I can tell you that it’s also the highest abandon rate page on the entire site. That tells me that many of the visitors were in no way interested in what I had to say..and rightfully so.

The key is relevance. You CAN make popular search terms relevant to your content. You CAN make strategic decisions based on trend results. You just need to be smart about how you do it.

As always, I’d love to hear what you think or comments on your own experiences using trends as a diving board.  I’m usually pretty solid in my ideas on what works, but in this case, I’m just throwing crap on the wall to see what sticks.  I’ve been proven wrong plenty of times before. I have no issues with it happening again.

JJ Kennedy is CEO of Evil Genius TV, the small business coaching and strategy arm of Evil Genius Interactive, a web and marketing development firm located in Gainesville, FL. He is an MBA, happily married to a Veteranarian, and is hoping to have a few little ones soon.

Google , , , , , ,

Critical Techniques to Successful Sales Lead Generation, Using Google Optimization

April 3rd, 2010

Some website owners are more frustrated about Google optimization than for other search engines. They feel it is harder to perform search engine optimization for Google.
 
Whether you are making direct sales from your website or sales lead generation (or both), optimizing for Google doesn’t need to be that hard.
 
In fact, in time you may find it easier to perform SEO for Google than for other search engines.
 
 
Remember that Google is Much Smarter than the other Search Engines
 
 
Since Google is more intelligent, you have to treat them differently.
 
If you’re trying to spam them, their intelligence is going to be a problem for you. If you’re playing by the rules and providing valuable content for searchers, then you should have no problem.  
 
What Google wants is valuable content that satisfies their users’ search queries. They want searchers to find what they’re looking for, not clicking the back button quickly, but who stay on the sites they visit.
 
There are some in the SEO community who believe time your visitors spent on your site is one of the calculations Google uses right now in their algorithm to assign organic rankings.
 
Whether this is the case or not is really irrelevant: we should all want to deliver quality content that meets our searchers query, keeps them on our sites and that leads to a conversion, a sale or sales lead generation.
 
 
Are You Optimizing for Yahoo! Search and Live Search, too? 
 
 
With Yahoo! Search and Live Search (formerly MSN) you need to have the keyword phrase you optimize for on the page. There may be some exceptions, but this is a solid rule to follow.
 
The order of the keywords makes a difference with them, too.
 
As an example, with Google, Blue Widget and Widget Blue are treated the same way. Not so with Yahoo! and Live, they are treated as completely different search phrases.
 
Given the very high market share that Google has, you may want to just optimize for Google and not Yahoo! or Live. After all, depending on whose numbers you’re looking at, Google’s market share is basically 60% to 70% of all U.S. searches!
 
(And there are hundreds of other much smaller search engines, with such small market shares that they aren’t normally worth worrying about.)
 
But if you decide to also optimize for Yahoo! Search and for Live Search, then you will likely have to create more pages, to cover all your keyword phrases.
 
So, as you create more pages for your keywords, you clutter up the Internet, unless those pages are really unique, valuable content.
 
And then there is that duplicate content filter that Google has…you don’t want to run afoul of that.
 
If you do optimize for the other engines, unless the additional content is very unique, you might be advised to keep Google out of those pages (using your robots.txt file).
 
 
Knowing that Google is More Intelligent, How do We Optimize Differently for Google?
 
 
With Google’s use of LSI (Latent Semantic Indexing), your pages do NOT actually have to contain the keyword phrase(s) you’re optimizing for. But your pages had better contain words strongly related to your chosen keyword phrases. 
 
In fact, it is common to see high ranking pages where the keyword phrase isn’t in any of the HTML tags and where it also isn’t in the page text, either. Common keyword density numbers for top ranking pages in Google range from 30% all the way down to 0% keyword density.
 
Why is this and how do we benefit performing Google optimization? 
 
Google is smart enough to understand similar words and phrases (now is when we get to use that word Synonym from English class). Thus, the actual keyword phrase doesn’t have to be on the page. But words related to the same theme as your keyword phrases need to be on the page.
 
But if our keywords don’t actually have to be on the page for Google to understand the page is about our subject (our keyword phrases), how does Google make that determination?
 
 
Off-Page SEO is the Key to Your Google Optimization and to Your Sales Lead Generation 
 
 
The links from other websites to your Web pages and what these links say about your pages is the KEY to optimizing for Google. Remember, links need to be pointed towards your interior pages, not just to your home page.
 
And those links need anchor text.
 
Anchor text is the wording that people click on to go to your Web page, when the actual link doesn’t show your website url (and file name, if going to an interior page).
 
Anchor text tells Google (and to a lesser degree, other search engines) what your Web page is about.
 
Even if the actual keyword phrases aren’t used on your page, the theme of the page text should match the anchor text pointed to that page. You want the wording to be compatible and complimentary.
 
You don’t want to confuse Google as to your pages’ themes. That can cause real problems.
 
 
Quantity Versus Quality
 
 
When considering links to your Web pages, quantity is important. You will have to research your competition to give you an idea as to the number of links you may need.
 
Two tools you can look into are SEO Elite and OptiLink. You can Google both. 
 
But MUCH more important is the quality of your links. The better quality your links, the fewer you will need versus your competition.
 
Part of how you can evaluate quality of potential links to your site is that site’s home page Google Page Rank.
 
Now, Google Page Rank is on a page-basis, not a site-wide basis. But the home page Page Rank can tell you if Google considers that site to be an “authority site”.
 
You can install the free Google toolbar if you haven’t already and activate the Page Rank feature. While the information is literally months old, it’s the easiest way to view a page’s Page Rank.
 
You want some links to your site from websites with a home page Google Page Rank of at least 5.
 
One thing you do want to watch: Don’t have to high a percentage of your links containing the same anchor text. Aim for no more than 50% of your anchor text to any page being the same exact anchor text.  
 
 
Wrapping it Up
 
 
For effective Google optimization, start by pointing enough quality links to your Web pages. One-way links are much more effective than reciprocal links, where you link back to the site that has linked to you.
 
Stay away from triangulated or 3-way links schemes. This is where site A links to site B which in turn links to site C. This is a “no-no” which Google can catch and will penalize for.
 
Use your keywords as anchor text for your links. Hold down the percentage…don’t have 70% of your links to one page using the same exact anchor text!
 
Even if you don’t have the keyword phrases on your page, you can still have top rankings, as long as your links’ theme matches your Web page content those links are aimed at.
 
Following this strategy, you can also optimize your pages for more than one keyword phrase. And without creating dozens and dozens of junk pages, just to cover all your keywords.
 
You’ll be able to increase your online sales and your sales lead generation, more easily. 
 
I’ll be following up shortly with another article, with a specific checklist sharing how I structure my link campaigns for maximum results.

Are you using

sales lead generation
to increase your sales? Paul Marshall offers Google optimization, to increase your visibility on Google,increasing your leads. Receive your Free Introductory Consultation, just visit: http://strategicwebmarketing.net

Google , , , , , , , ,

Powered by Yahoo! Answers