Wednesday, 14 September 2011

OOP dreams





Object-oriented Programming (OOP) focuses on building programs from a set of 'smart' custom data types.This code helps save your time and makes it easier to reuse your code share it with others.I'll quick run through the syntax that is associated with OOP in PHP.You must understand the most basic concepts behind OOP.


>?php
$mybox=new Box('Rajesh');
echo $mybox ->get_what_is_inside();
?>









The variable $mybox stores a reference to a special 'smart'box built by new.

Tuesday, 13 September 2011

HTML_inside_PHP

You have to check for double quotation marks.Using the ECHO statement may involve the use of double quotation marks because HTML also uses double quotation marks,you can do one of two things to avoid problems:

Escape your HTML double quotation marks with a backslash,as in the following:
echo"

";




Use single quotation marks around your html.This can help improve the readability of your code if you have many quotes:

echo'

';




Remember that you have still to follow's rules:Follow the PHP guidelines and end your sentences with a semicolon,as well as close all quotes.


Don't try cram too much HTML into your PHP:

EXAMPLE:

echo'';
echo'';
echo'';
echo'';
echo'';
echo'
';
echo'First Name:';
echo'
';
echo $_POST['fname'];
echo'
';
?>


Php was really needed for was to provided the value represented by $_POST['fname'] and display it on the screen.The rest of the related code was just to output HTML.In this case ,You're better off just staying in HTML and pulling out the PHP line when you need it.

PHP_server-side-scripting_language




PHP is a server-site-scripting language that allows your web site to be fantastic Dynamic.PHP stands for PHP:Hypertext Preprocceser.It's OPEN SOURCE language.It's flexible and relative small learning curve(especially for programmer who have a backgroundin other programming languages like,JAVE AND PERL)make its one of the most popular scripting language programming used today.



PHP's popularity continues to increase as business individuals everywhere like,blogs and E_COMMERCE site.You can follow the rules on the site at WWW.PHP.NET.

Monday, 5 September 2011

Canonical Tags- Get the credit you deserve!

Written By
Does copied content within your own site hamper your site’s ranking? How do you authorize others to use your content and still make sure that you get the search engine credits for the same? These are some of the questions which our SEO experts often face and we have tried to answer these questions here.

Google introduced the concept of the Canonical Tag way back in 2009. It intended to eliminate problems arising due to self-created duplicate content. Web site owners would be able to, by utilizing canonical url tags, give hints to search spiders on which pages to consider original and index higher.

How does it work for you?

The canonical tag is a link that is placed in the HTML header of a web page.

For eg:



This link is to be placed on the copied page. On encountering this link on a web page, search spiders would treat this page as a copy of the original namely http://www.myseopandit.com All the link metrics now flow to the original page. By using this tag, you can ensure that the right content is treated as original and gets the necessary credits for the same.

How is it different from 301 redirects?

Even 301 perform a similar function except that it redirects the visitor to the original page. Canonical tags, however, keeps the visitor on the same page while transferring the link metrics to the original page. In short, 301 redirects both visitor and search engine spider while canonical tag only redirects the spider.

Also from a technical perspective, 301 needs the expertise of a developer while canonical tags only need a basic understanding of HTML.

A word of caution:

DO NOT USE CANONICAL TAGS TO TRANSFER THE LINK CREDITS FROM YOUR INTERNAL PAGES TO YOUR HOMEPAGE. It is not at all a very SEO friendly decision. Your Home Page ideally should not be the only important page on your site
While placing the canonical link in your code, ensure correct formatting and double check the url of the original web page. A wrong url may do a lot of damage.

And now coming back to where we started, you can add canonical links to the copied pages on your site and advice search spiders not to crawl those pages but transfer all link credits and link juices to the original page. You can allow others to publish your content provided they are ready to add canonical links on their site page transferring all link credits to your page.

For more questions on canonical tags, you can post your query as a comment and we would be happy to explore the topic further together!

Sunday, 4 September 2011

Quality-Inbound_links-or-Backlinks





Links are necessary for sensible search engine ranking and hence, link popularity may be a good way to assist your web site get sensible page rank. Link popularity shows the amount of external links to your web site. Popularity of 1 web site is very dependant on sizable amount of Inbound Link( back links) .


The process of developing an inbound-linking program is way a lot of Admin Panel. The most important think is you wish to concentrate throughout link building is that it ought to turn out quality traffic for your web site. The inbound links you're obtaining ought to be substantially relevant to the theme of your web site. an honest link building strategy can completely assist you to boost your ranking in search engines. So main think is link building is that great way to process that guests are drawn to click on your link? And consistent with that you simply ought to build your strategy that one can assist you in obtaining your objective.

Tuesday, 23 August 2011

Google expands search results to include deeper site links

Written By Mail to Navjot

Search engine result page element, Google sitelinks has been pushed forward with an extension for showcasing major webpages' popular sub-pages. It would therefore mean that the size and number of the sitelinks are on the rise.

Browsers can now dig deeper into the websites showcased in search engine results, thanks to Google adding more details of sub-pages within popular sites in its rankings.

The move will especially boost searches for particular products or brands, because such searches will now showcase results from deeper within a particular site.

Listings of sub-pages displayed in this way include a title and a snippet of the meta description for each page. The more certain Google is that the site presented is the one being searched for, the more deep-page links will be presented – up to a maximum of 12, according to some site

The sitelinks will also group together results from pages from the site concerned which would normally appear lower in the search rankings.

More detailed sub-page listings will improve the service offered to searchers who know approximately what they're looking for. "When Google predicts your target site accurately, the sitelinks work as a quick access point to the core elements of the site,"

Meta descriptions and titles would now be of much more importance which is a point worth noting. The optimization of the said aspects for the space provided would even be a point to think of as a googler.

Sunday, 21 August 2011

Importance of Do Follow and No Follow


What is Do follow?

Do Follow is the internet terminology which can be used for Search Engine Optimizations Techniques to improve the popularity of the websites. The purpose to use Do Follow to increase the outbound links and make them website famous. More backlinks give the more popularity to the websites. There are several Seo Techniques which can be used for different purpose, but the most important part we choose how can we increase the popularity of the websites and get the sales directly without doing any extra effort. This type of situation always occurs during the optimization of the websites. Do follow is the only terminology which can hold the complete situation itself.


What is No follow?

No Follow is just opposite  to Do Follow.To build the outbound links by Do Follow and to protect from spam or unwanted outbound links called “No Follow”. Spamming is talking about something is wrong and opposite to optimization. But still no-one cares about.


Importance of Do Follow and No Follow


The terminology should decrease the unwanted outbound links from other websites that is more reliable for optimization. That is the important factor of “No Follow”. Do Follow is very importance for the purpose of optimization and to build the quality outbound links. Building backlinks to your websites is very important but what outbound links we getting from other websites that is very important for the optimizer. Do Follow is the only Seo Techniques which can give you a quality backlinks and give them sure the website become so popular. Do Follow tag is depend on the links which link is important and which going to be optimize for the marketing purpose. Do Follow tag allow to spiders to crawl the link. Spiders are checking the condition of Do Follow and No Follow.

You can see below the regular syntax for an HTML link:

1.HTML tag like use -





This is the complete process of Do Follow you can easily use and Apply it on the website.
If you don’t want spiders to crawl the link from your site, you have to use a no-follow tag which is very important and it can be work like as it follows:



Why No Follow

Now a days spamming is the big deal to sort out by the optimizers.No Follow is the only Seo Techniques which can help you to protect from unwanted outbound links from other websites. Without use of No Follow it means to destroy itself. To Build the outbound links depends on the factors. All outgoing links from their website to “protect the site from page rank leakage” and give the quality backlinks always.