Archive for July, 2006

Today I Picked up My Honours Certificate !!!

Wednesday, July 19th, 2006

After a long time I received my graduation certificate. I finished my Exam in June 2004 and got Result in October, 2004 and awarded for “The Best Student Award” in February 2006 . Finally I received my certificate today. It’s really a great feeling when I got that in my hand.

Today When Zaman Sir asked me if I want to go abroad or not. I answeared him “No”. I have some tasks to do here . I’ll complete Zend Certification within short time and I have some ideas which need to be implemented within short time. And I really don’t have time to think about abroad now. I wanna stay here as long as I can . I want to stay here although I don’t know if I can stay here for long or not.

Life is Strange!!

Javascript Flash Player detection and embed script

Thursday, July 13th, 2006

Few days ago when i was validating a site for W3 Standard and i was fixing error one by one. I saw that the < object > tag doesnt support W3 standard . And i was in deep trouble to fix those problem . But at least i got a Javascript thats detect flash player and helps me from removing that bugs.

this is very easy to use and configure. You just have to include a JS file and put the following line :

[For the further help, you can view the raw javascript here.]

Javascript Code ::

------------------
var so = new SWFObject("movie.swf", "mymovie", "200", "100%", "7", "#336699");
so.addParam("quality", "low");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");
---------

Here You can find the details about it . http://blog.deconcept.com/swfobject/

I really loved it !!!!

Generate a random alphabetic word

Saturday, July 8th, 2006

Many times we need to create a random word in variable length . Then it seems complex to us cos php’s Rand() function return only random numbers not alphabatic charecter . And after getting a post at phpResource i have discovered a simple function for this problem . here is the code .

——————————-

function rand_word($length)
{
$word = “”;
for(
$ix = 1; $ix <= $length; $ix++)
{
$word .= chr(rand(97, 122));
}
return($word);
}

————————-
All you need to call this function with the desired langth . Its soo simplee……..
Example : rand_word(5);


PHP Object code generator

Friday, July 7th, 2006

Today when i was roaming on net i found a very cool site from where we can generate full object oriented code . Its provide clean and tasted code for CRUD method.

About Php Object Generator

PHP Object Generator, (POG) is an open source PHP code generator which automatically generates clean & tested Object Oriented code for your PHP4/PHP5 application. Over the years, we realized that a large portion of a PHP programmer’s time is wasted on repetitive coding of the Database Access Layer of an application simply because different applications require different objects.

By generating PHP objects with integrated CRUD methods, POG gives you a head start in any project. The time you save can be spent on more interesting areas of your project.

Visit : http://www.phpobjectgenerator.com/

Top Ten SEO Mistakes

Wednesday, July 5th, 2006

These days SEO is more of a professional practice now than any time in the past. In the past, SEO was nothing more than simple Google bombing. Nowadays you have to pay attention and spend much hours reading SEO forums and articles to understand search engine optimization.

There is lot of SEO commentary, but the essentials are sometimes overlooked. Here are the top ten SEO mistakes to avoid mention by Peter Da Vanzo -

1. No Marketing Plan - if you don�t know who your market is, and what they want, rankings will not help you. They�ll just help chew bandwidth and raise your opportunity cost.

2. Selecting Keyword Terms Based Only On Traffic Volume - you need to be number #1 for �cars�, because the term �cars� recieves a lot of search queries and you sell �cars�? That won�t do you a lot of good if you only sell cars in Fiji. See #1.

3. Selecting Keyword Terms That Have Little To Do With Your Service - the days of drag-net SEO using off-topic keyword terms are long gone. Be specific. If you sell cars in Fiji, you want �car dealers Fiji�, and semantic variations thereof.

4. Failure To Use Keywords Your Market Is Actually Using - the copywriting printed in your corporate brochure isn�t how your customers speak. It certainly isn�t the way they phrase search queries. Listen to how customers ask for your goods and services. Those are your keyword terms. Find variations of these terms using keyword research tools.

5. Thinking All Search Engines Are The Same - they�re not. What pleases Yahoo! and MSN does not necessarily please Google. If your audience uses MSN, then work out what MSN wants and deliver it. The solutions can be complex and varied, depending on how�cough�determined you are, however, if you want to hit a middle ground, they all tend to like keywords in the links (at the time of writing).

6. Relying on Keyword Density - a redundant technique. Instead, stay on-topic and incorporate your keyword terms. How often do you use them? If you read your copy aloud, and it sounds odd, you�ve overdone it.

7. Poor Titles - When a visitor looks at a SERP, they have 10 or more choices. Think of titles like newspaper headlines. Repeat the search keyword term and make the title enticing. Think Adwords. In fact, look at how the Adwords advertisers have written their ads for your chosen keyword terms. Chances are, those Adwords on the top have high click-thru rates. They�ve got their titles right.

8. Not Getting Links - links are really important. Really. Really, links are really important. Did I mention that links are important? Link aquisition is essential strategy. Depending on your area, you probably don�t need many, but you do need some.

9. Thinking That Hacking Code Will Solve All Problems - For most sites, advanced SEO trickery isn�t necessary. Stick to the search engine guidelines, keep your visitor in mind, write like they speak, ensure your site can be crawled, network in your space, get links. Repeat.

10. Not Thinking Beyond SEO - After a visitor arrives, what then? If you�re not serving their needs after they arrive, then your SEO effort and expense has been wasted. See #1.

Good SEO has a lot in common with good marketing :)