Search

Sunday, July 8, 2012

Jquery - Benefits, Examples and Free Ebook


What is jQuery?

Directly taken from the website of jQuery -” jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages”.It is basically a JavaScript framework for writing huge task of JavaScript with few lines of code.

What are the benefits of jQuery?

1) 5 lines of code of jQuery can perform better task than 25 lines of traditional Javascript code.
2) Various number of plugins are available and a large community support this project it is better to use jQuery in your project compared to other JavaScript frameworks like prototype.js or moottools .
3) jQuery’s website contains very good documentation with useful examples.
4) It simplifies the Ajax Development. Just have to write 5 or 6 lines to call the Ajax. Isn’t that easy??
Well these are just few benefits of jQuery but if you start using jQuery then you’ll come to know about the actual benefits of using jQuery. And believe me, It worth using jQuery in your web applications otherwise just blame me.

Basic Examples of jQuery :

$(document).ready(function()
{
    $(".button").click(function ()
    {
      $("p").hide("slow");
    });
});
In the above example, when a element with class “button” is clicked, all the paragraph element (“p”) will be hidden in the whole document in slow movement i.e. with slight animation.
$(document).ready(function()
{
      $("#divid").load("sample.php");
});
Above is the example Ajax using jQuery, look how simple it is to use ajax using jquery.The response got from the sample.php file is filled inside the element whose id is “divid”.

Free Ebook for download :

Well I’ve downloaded a E-book of jQuery in chm format.It contains chm version of the document found in docs.jquery.com. This E-book contains the very good documentation as well as useful examples.

6 free ajax-php chat applications


While talking about chat application, these days people hate those kind application made in PHP which need page refreshing. In this post, I’ll show you six different free Ajax chat applications which might be very useful if you’ve to use Ajax based chat application. Depending upon the requirement of your chat application, you can use them. I might have missed another good Ajax based chat application, if you find any the please post it to the comments.

Ajax Chat from http://blueimp.net

Free Ajax chat application using PHP
A powerful Ajax chat application with a lot of features at free of cost. Customize the layout and Use it in your project.

Ajax- IM

It is not a only a chat application, it is a instant messenger that’s why it is named as Ajax-IM. Very useful for implementing in community based websites.

PHPfreeChat


Another great Ajax chat application build in PHP.Very easy to customize and use. You can even create rooms for chatting as well.

Chatr

Another simple ajax chat application with limited functionality built in PHP.

Ajax chat from Ajax-chat.org

Very simple, lightweight and easy to use another Ajax chat application built in PHP.

Ajax chat from Blogoscopted

Fancy and avatar based ajax chat application built in PHP. As you can see in the above image, it looks like you’re really inside a chat room for chtting.

Saturday, July 7, 2012

Google Trends - Did you know?

Did you know there is a google page where you can check the most frequent words and phrases searched on google on a given day?


Well, now you know :)

Google Trends


Google Hot Trends

Enjoy

10 Most Visited Websites 2011-2012


google-facebook-yahoo

The prevalent language for communication on the Internet has been English. This may be a result of the origin of the Internet, as well as the language’s role as a lingua franca. Early computer systems were limited to the characters in the American Standard Code for Information Interchange (ASCII), a subset of the Latin alphabet. After English (27%), the most requested languages on the World Wide Web are Chinese (23%), Spanish (8%), Japanese (5%), Portuguese and German (4% each), Arabic,French and Russian (3% each), and Korean (2%).By region, 42% of the world’s Internet users are based in Asia, 24% in Europe, 14% in North America, 10% in Latin America and the Caribbean taken together, 6% in Africa, 3% in the Middle East and 1% in Australia/Oceania. The Internet’s technologies have developed enough in recent years, especially in the use of Unicode, that good facilities are available for development and communication in the world’s widely used languages. However, some glitches such as mojibake(incorrect display of some languages’ characters) still remain. Overall Internet usage has seen tremendous growth. From 2000 to 2009, the number of Internet users globally rose from 394 million to 1.858 billion. Well, what websites are getting all these viewers?


1. Google

googlelogok 10 Most Visited Websites 2011 2012
Page rank: 1
Daily Pageviews: 8,322,375,115
Daily Visitors: 191,857,050
Country: USA
Net Worth: $5.5 Billion

Google Search or Google Web Search is a web search engine owned by Google Inc. Google Search is the most-used search engine on the World Wide Web, receiving several hundred million queries each day through its various services. The order of search results on Google’s search-results pages is based, in part, on a priority rank called a “PageRank”. Google Search provides many options for customized search, using Boolean operators such as: exclusion (“-xx”), inclusion (“+xx”), alternatives (“xx OR yy”), and wildcard (“x * x”). The main purpose of Google Search is to hunt for text in Web pages, as opposed to other data, such as with Google Image Search. Google Search was originally developed by Larry Page and Sergey Brin in 1997. Google Search provides at least 22 special features beyond the original word-search capability. These include synonyms, weather forecasts, time zones, stock quotes, maps, earthquake data, movie showtimes, airports, home listings, and sports scores. There are special features for numbers, including ranges (70..73),prices, temperatures, money/unit conversions (“10.5 cm in inches”), calculations (“3*4+sqrt(6)-pi/2″), package tracking, patents, area codes, and language translation of displayed pages. In June 2011, Google introduced “Google Voice Search” and “Search by Image” features for allowing the users to search words by speaking and by giving images.
—————————————————————————————————————

2. Facebook

facebooklogodb 10 Most Visited Websites 2011 2012
Page rank: 2
Daily Pageviews: 23,023,205,668
Daily Visitors: 168,117,950
Country: USA
Net Worth: $4.8 Billion

Facebook is a social networking service and website launched in February 2004, operated and privately owned by Facebook, Inc. As of July 2011, Facebook has more than 800 million active users. Users may create a personal profile, add other users as friends, and exchange messages, including automatic notifications when they update their profile. Facebook users must register before using the site. Additionally, users may join common-interest user groups, organized by workplace, school or college, or other characteristics, and categorize their friends into lists, e.g. “People From Work”, or “Really Good Friends”. The name of the service stems from the colloquial name for the book given to students at the start of the academic year by university administrations in the United States to help students get to know each other. Facebook allows any users who declare themselves to be at least 13 years old to become registered users of the website.
—————————————————————————————————————

3. Youtube

4176459448aa68a36c1a 10 Most Visited Websites 2011 2012
Page rank: 3
Daily Pageviews: 7,621,914,928
Daily Visitors: 118,256,600
Country: USA
Net Worth: $3.4 Billion

YouTube is a video-sharing website, created by three former PayPal employees in February 2005, on which users can upload, share and view videos. The company is based in San Bruno, California, and uses Adobe Flash Video and HTML5 technology to display a wide variety of user-generated video content, including movie clips, TV clips, and music videos, as well as amateur content such as video blogging and short original videos. Most of the content on YouTube has been uploaded by individuals, although media corporations including CBS, BBC, VEVO, Hulu, and other organizations offer some of their material via the site, as part of the YouTube partnership program.
—————————————————————————————————————

4. Yahoo

yahoologo 10 Most Visited Websites 2011 2012
Page rank: 4
Daily Pageviews: 1,813,459,921
Daily Visitors: 94,128,650
Country: USA
Net Worth: $2.7 Billion

Yahoo! Search is a web search engine, owned by Yahoo! Inc. and was as of December 2009, the 2nd largest search engine on the web by query volume, at 6.42%, after its competitor Google at 85.35% and before Baidu at 3.67%, according to Net Applications. Originally, Yahoo! Search started as a web directory of other websites, organized in a hierarchy, as opposed to a searchable index of pages. In the late 1990s, Yahoo! evolved into a full-fledged portal with a search interface and, by 2007, a limited version of selection-based search. Yahoo! Search, originally referred to as Yahoo! provided Search interface, would send queries to a searchable index of pages supplemented with its directory of sites. The results were presented to the user under the Yahoo! brand. Originally, none of the actual web crawling and storage/retrieval of data was done by Yahoo! itself. In 2001 the searchable index was powered by Inktomi and later was powered by Google until 2004, when Yahoo! Search became independent. On July 29, 2009, Microsoft and Yahoo! announced a deal in which Bing would power Yahoo! Search. All Yahoo! Search global customers and partners are expected to be transitioned by early 2012.
—————————————————————————————————————

5. Baidu

baidulogo300x2241 10 Most Visited Websites 2011 2012
Page rank: 5
Daily Pageviews: 3,079,134,653
Daily Visitors: 40,567,450
Country: China
Net Worth: $1.1 Billion

Baidu, Inc.  simply known as Baidu and incorporated on January 18, 2000, is a Chinese web services company headquartered in the Baidu Campus in Haidian District, Beijing, People’s Republic of China. Baidu offers many services, including a Chinese language search engine for websites, audio files, and images. Baidu offers 57 search and community services including Baidu Baike, an online collaboratively-built encyclopedia, and a searchable keyword-based discussion forum. Baidu was established in 2000 by co-founders, Robin Li and Eric Xu. Both of the co-founders are PRC nationals who studied and worked overseas before returning to China. In June 2011, Baidu ranked 5th overall in the Alexa Internet rankings. During Q4 of 2010, it is estimated that there were 4.02 billion search queries in China of which Baidu had a market share of 56.6%.China’s internet-search revenue share in second quarter 2011 by Baidu is 76% In December 2007, Baidu became the first Chinese company to be included in the NASDAQ-100 index. Baidu provides an index of over 740 million web pages, 80 million images, and 10 million multimedia files. Baidu offers multimedia content including MP3 music and movies, and is the first in China to offer Wireless Application Protocol (WAP) and personal digital assistant (PDA) based mobile search.
—————————————————————————————————————

6. Wikipedia

wikipedialogo 10 Most Visited Websites 2011 2012
Page rank: 6
Daily Pageviews: 313,997,828
Daily Visitors: 55,386,100
Country: USA
Net Worth: $1.5 Billion

Wikipedia  is a free, web-based, collaborative, multilingual encyclopedia project supported by the non-profit Wikimedia Foundation. Its 19.7 million articles (over 3.7 million in English) have been written collaboratively by volunteers around the world. Almost all of its articles can be edited by anyone with access to the site, and it has about 90,000 regularly active contributors. As of July 2011, there are editions of Wikipedia in 282 languages.
—————————————————————————————————————

7. Blogger

blogger2 10 Most Visited Websites 2011 2012
Page rank: 7
Daily Pageviews: 624,202,064
Daily Visitors: 292,790,652
Country: USA
Net Worth: $1.4 Billion

Blogger is a blog-publishing service that allows private or multi-user blogs with time-stamped entries. It was created by Pyra Labs, which was bought by Google in 2003. Generally, the blogs are hosted by Google at a subdomain of blogspot.com. Up until May 1, 2010 Blogger allowed users to publish blogs on other hosts, via FTP. All such blogs had (or still have) to be moved to Google’s own servers, with domains other than blogspot.com allowed via Custom URLs. In July of 2011 a news outlet announced that Google intends to change the name of the service from “Blogger” to “Google Blogs,” as part of a larger plan to re-brand or retire all non-Google brands in its portfolio of products and services.
—————————————————————————————————————

8. Windows Live

windows20liveb 10 Most Visited Websites 2011 2012
Page rank: 8
Daily Pageviews: 684,728,105
Daily Visitors: 45,464,650
Country: USA
Net Worth: $1.3 Billion

Windows Live is the collective brand name for a set of services and software products from Microsoft, part of their software plus services platform. A majority of these services are Web applications, accessible from a browser, but there are also client-side binary applications that require installation. There are three ways in which Windows Live services are offered: Windows Live Essentials applications, web services, and mobile services.
——————————————————————————————————————

9. Twitter

 twitterlogovw 10 Most Visited Websites 2011 2012
Page rank: 9
Daily Pageviews: 253,299,926
Daily Visitors: 39,766,650
Country: USA
Net Worth: $1.1 Billion

Twitter is an online social networking and microblogging service that enables its users to send and read text-based posts of up to 140 characters, informally known as “tweets”. Twitter was created in March 2006 by Jack Dorsey and launched that July. Twitter rapidly gained worldwide popularity, with 200 million users as of 2011, generating over 200 million tweets and handling over 1.6 billion search queries per day. It is sometimes described as the “SMS of the Internet.” Twitter Inc., the company that operates the service and associated website, is based in San Francisco, with additional servers and offices in San Antonio, Boston, and New York City.
—————————————————————————————————————

10. QQ.com

 tencentqq 10 Most Visited Websites 2011 2012
Page rank: 10
Daily Pageviews: 1,092,194,208
Daily Visitors: 27,388,900
Country: China
Net Worth: $788 Million

Tencent QQ, generally referred to as QQ, is the most popular free instant messaging computer program in mainland China. As of July 11, 2011, the active QQ users accounts for QQ IM totaled 812.3 million,possibly making it the world’s second largest online community. The number of simultaneous online QQ accounts exceeded 100 million.
—————————————————————————————————————

How to start a blog

How to start a blog - by B.Jones

Friends and family members often ask me how to start a blog, and I always enjoy explaining the advantages of a blog over a traditional website, but it is a lot information to take in over dinner. I thought I would document the process to make it easier to understand.

I recently created a video that documents some of what is discussed in this article.

1. Decide What You Want To Blog About

There are a lot of bloggers on the web already. If you want to attract readers, you are going to need to establish your credibility. Don't just blog about anything. Pick a topic you are are passionate about. Something that you have lots of experience with.

Decide: To Host or Not To Host

When it comes to starting a blog, your biggest decision will be whether you want to host the blog yourself, or use a free blogging service that is hosted for you.


Free Blogging Services
Yes, it's free, but nothing is really free. When you start a blog with a free blogging service, you don't get your own domain. You get something like mygreatblog.blogspot.com (where there are a million other blogs at blogspot.com) and you don't actually own the blog. If you ever do decide to move to your own domain, you have no way to take your readers with you, because you have no control over the site.

Cheap - Host your own blog using WordPress free Blog software
This is the method I suggest, because it offers much more flexibility and freedom to do what you want. You will have your own domain name, like mygreatblog.com. You can get this for as little as $30 per year. In my experience, WordPress is excellent free blog software that allows you flexibility and room to grow.

If you want to go the free blogging service route, check out links to free blogging services. If you want to host the blog yourself, read on.

Find a Domain Name

For me this part is fun. You know what your theme is already, so now you have to find a good domain name.

Find a Web Host for Your Blog

By far, the easiest way to get a website is to go with a hosting company that offers "1 click installs", or instant installations for Blogging and Forum software. Blogs and Forums make it possible for someone with no experience to get good content up fast.


"1-click" (easy) Installation
Dreamhost Hosting
For beginners, I recommend Dreamhost, because they tend to care, where as many other huge hosting companies don't. They cost a bit more, about $119 for a year, but it is worth it. Edit: I actually used a promo code and was able to get 1 year for about $60. Go to: Dreamhost.com and enter Promo Code: WMLGS1 to save $50.

(**New) GoDaddy Blog Hosting
Another great blog host I recently learned about is GoDaddy. They have a 'one click install' Economy WordPress hosting plan that is really a great deal (as low as $3 to $5/ month (that's $36 to $60/ year) depending on how long you sign up for). Go to GoDaddy to check it out.

Install WordPress

Installation Overview If you have experience with installing web applications that use mySQL, this could take as little as 5 minutes to do, and the 5 steps below may be all you need, however, I have further explained each step below for beginners.
  1. Make sure your host meets the requirements. details
  2. Make sure you have a database ready with proper username and password. details
  3. Download and unzip WordPress. details
  4. In the WordPress folder, find and make a copy of wp-config-sample.php. Rename the copy to wp-config.php and fill in your database details. Save the new file. details
  5. Upload all the files to the directory in your web host where you want the blog to live - details
  6. Run the installation file. install-folder/wp-admin/install.phpdetails
Requirements:To run WordPress your host just needs a couple of things:
  • PHP version 4.2 or greater
  • MySQL version 4.0 or greater
Create a Database
You can usually do this in your hosting control panel. If you aren't sure how to do this, ask your hosting company. After you have set it up, you should have 4 pieces of information about the database.
1. Database Name - The name of your database.
2. Username - your database user name.
3. Password - Your database password.
4. Host name - This is going to be a host name. It might be something like mysql.mydomain.com, or just localhost.

Without these 4 things, you won't be able to set up WordPress. Again, contact your hosting company's tech support if you have any trouble with this.
Download the current version of WordPress.
This is easy. Just go to wordpress.org/download/, and download the current version. You have a choice between the ZIP file or the TAR.GZ file. I think the TAR.GZ file may be smaller, but I always download the ZIP.
Uncompress the WordPress ZIP file.
Again this is easy.

Configure WordPress
Open the WordPress folder and rename the file wp-config-sample.php to just wp-config.php. Now open it and insert the 4 pieces of information about your database into the 4 fields below.

Change:
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'username'); // Your MySQL username
define('DB_PASSWORD', 'password'); // ... and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
to
define('DB_NAME', 'yourDatabaseName'); // The name of the database
define('DB_USER', 'your-username'); // Your MySQL username
define('DB_PASSWORD', 'your-password'); // ... and password
define('DB_HOST', 'your-hostname'); // 99% chance you won't need to change this value
Choose Your Install Directory and Upload Everything
If you want your WordPress blog in a separate directory of your website, like “yourdomain.com/blog”, then rename the “wordpress” folder to “blog” and upload it to the root directory with an ftp program.

If you want your blog to be in the root directory of your site, meaning the blog will be located at “yourdomain.com”, then just open the wordpress folder and upload all the files and folders into your web root. If you already have a file called index.html, or index.php, you'll need to rename it or get rid of it before you uploading everything.
Finish and Install
8. In a browser, go to the domain where you uploaded WordPress, and then to /wp-admin/install.php, and follow the simple directions there.
You will be given a username and password. Save it in a safe place.
That's it. You now have a new blog. You can now log in with your username and password, and start writing.
Download a WordPress theme
This is the fun part. Picking a WordPress theme. There are many places to find WordPress Themes. When you find one you like, just download it and unzip it just like you did with the WordPress ZIP file.

6. Add Your Theme
You can do this after you upload, but it's probably easier to just do it now.

Look for the themes folder. It's in the wordpress => wp-content => themes.
There should already be 2 theme folders in the themes folder, “classic” and “default”.
Just drop your new theme folder in with them. (remember, it must be unzipped first)

Wordpress Themes and Templates


Here are some wordpress themes:


Brian Gardner ThemesBrian Gardner has created several wordpress themes, both free and paid. They are all high quality.
Brian Gardner Wordpress Themes


New Dirt WordPress ThemesNewDirt Wordpress Themes offers several free, high quality wordpress themes.
NewDirt WordPress Themes


Node Thirty Three DesignSeveral free themes released under the CCA 2.5 license. Many of these are non wordpress, but could still be used to make wp themes.
Node Thirty Three Design


WordPress Theme ViewerWP theme viewer is a compilation of several themes that are available for download.
WP Theme Viewer

Free blogging services


Free Blogging Services



WordPress.comWordPress is one of the best, and most flexible blogging platforms. As well as distributing their blogging software, they also offer free hosting at wordpress.com.
                                Start a blog at WordPress.com


Blogger.com by GoogleBlogger.com is probbably the most popular free blogging platform. It's easy to set up, and easy to start blogging.
Start a blog at Blogger.com


MSN SpacesIf you have a Microsoft .Net Passport account, this may be the easiest way to go. MSN Spaces is easy to use and offers most of the features found elsewhere.
Start a blog on MSN Spaces


Yahoo 360Yahoo's take on free bloggig. Enables users to bring together all of their personal information and share it with their friends, family, and others.
Start a blog at Yahoo 360


AOL JournalsIf you already have an aol account or screen name, Aol Journals may be the easiest way for you to start a blog, and get started.
Start a blog at AOL Journals