9lessons Programming Blog - Tutorials about Angular, ReactJS, PHP, MySQL and Web Development
Showing posts with label Technology. Show all posts
Showing posts with label Technology. Show all posts
Thursday, September 25, 2008

Google Search Architecture Overview

Friends just imagine with out Google Search we can't ! Most of Google is implemented in C or C++ for efficiency and can run in either Solaris or Linux.

In Google, the web crawling (downloading of web pages) is done by several distributed crawlers. There is a URLserver that sends lists of URLs to be fetched to the crawlers. The web pages that are fetched are then sent to the storeserver. The storeserver then compresses and stores the web pages into a repository.Every web page has an associated ID number called a docID which is assigned whenever a new URL is parsed out of a web page. The indexing function is performed by the indexer and the sorter. The indexer performs a number of functions. It reads the repository, uncompresses the documents, and parses them. Each document is converted into a set of word occurrences called hits.

High Level Google Architecture


The hits record the word, position in document, an approximation of font size, and capitalization. The indexer distributes these hits into a set of "barrels", creating a partially sorted forward index. The indexer performs another important function. It parses out all the links in every web page and stores important information about them in an anchors file. This file contains enough information to determine where each link points from and to, and the text of the link.

The URLresolver reads the anchors file and converts relative URLs into absolute URLs and in turn into docIDs. It puts the anchor text into the forward index, associated with the docID that the anchor points to. It also generates a database of links which are pairs of docIDs. The links database is used to compute PageRanks for all the documents.



The sorter takes the barrels, which are sorted by docID, and resorts them by wordID to generate the inverted index. This is done in place so that little temporary space is needed for this operation. The sorter also produces a list of wordIDs and offsets into the inverted index. A program called DumpLexicon takes this list together with the lexicon produced by the indexer and generates a new lexicon to be used by the searcher. The searcher is run by a web server and uses the lexicon built by DumpLexicon together with the inverted index and the PageRanks to answer queries.



Next Article LinkGoogle Search Major Data Structures Documentation
Tuesday, September 23, 2008

Web.xml Deployment Descriptor

Web.xml mapping servlet names improve web app's flexibility and security..The deployment descriptor (DD), provides a "declarative" mechanism for customizing your web applications without touching source code!

Tomcat Directory Structure

Login.java


import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;

public class Login extends HttpServlet{

public void doGet(HttpServletRequest request,
HttpServletResponse response)throws IOException{

PrintWriter out=response.getWriter();
java.util.Date tody=new java.util.Date();
out.println("out put html tags");

}
}


<servlet>Maps internal name to fully-qualified class name.


<servlet-mapping>Maps internal name to public URL name.

web.xml



<servlet-mapping> which servlet should i invoke for this requested URL?


<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd" version="2.4">

<servlet>
<servlet-name>Servlet_login</servlet-name>
<servlet-class>Login</servlet-class>
</servlet>

<servlet>
<servlet-name>Servlet_inbox</servlet-name>
<servlet-class>inbox</servlet-class>
</servlet>


<servlet-mapping>
<servlet-name>Servlet_login</servlet-name>
<url-pattern>/signin.do</usr-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>Servlet_inbox</servlet-name>
<url-pattern>/view.do</usr-pattern>
</servlet-mapping>

</web-app>


signin.do file mapping to Login.class. So the client or users to get to the servlet.. but it's a made-up name that is NOT the name of the actual servlet class.
Saturday, September 20, 2008

What is FOREIGN KEY? Easy Lesson

What's in a Database?

a database is a container that holds tables and other SQL structures related to those tables.


An easier way to diagram accout table.


Every one having different hobbies. Remove the hobbiles column and put it in its own table


Add name colum that will let us identify which hobbies belong to which person in the account table.



Linking two tables in a diagram

Connecting Two tables

The problem we're trying to use name field to somehow let use connect the two tables. But what if two people in the accout table have the same name ?



Foreing Key Facts :

A foreign key can have a different name that the primary key it comes form.

The primary key used by a foreign key is also knownas a parent key. the table where the primary key is from is knows as a parent table.

The foreing key can be used to make sure that the rows in on table have corresponding rows in another table.

Foreign key values can be null, even thugh primary key values can't.

Foreign key don't have to be unique - in facts, they ofter aren't



CREATE TABLE accout(
user_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(20),
email VARCHAR(30),
birthday DATE,
gender VARCHAR(10),
city VARCHAR(30));





CREATE TABLE hobbies(
hob_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,hobby VARCHAR(100) NOT NULL,
user_id INT NOT NULL,
CONSTRAINT account_user_id_fK
FOREIGN KEY(user_id)
REFERENCES accout(user_id));


Thursday, August 21, 2008

Web 3.0 Search Engine Evolution

Searchme

Searchme is a new search engine that uses 3D visual search and category refinement. I think it will help you find what you’re looking for, faster, with a lot less spam.



It’s a new way to search that takes advantage of the size and bandwidth of today’s Internet and the increasingly visual way that we all interact online.

Cuil

the world’s biggest search engine. The Internet has grown. I think it’s time search did too.



The Internet has grown exponentially in the last fifteen years but search engines have not kept up—until now. Cuil searches more pages on the Web than anyone else—three times as many as Google and ten times as many as Microsoft.

Foxscan



Foxscan is a leading fasstest stylish search engine on the web. Millions of people turn to Foxscan to get what they are looking for internet everyday. Foxscan is recognized for evolution in search technology and search simple interface design.
Sunday, August 17, 2008

Table of Contents

The following list is the table of contents of all tutorials you can find on 9lessons. Tutorials are about Java, Programming, PHP, Database, Hacking, Technology and Design.

Last Update - 08th May 2014

Most Popular Articles Click Here


Web Design - jQuery / Ajax /javascript / CSS

Login or Signup with Jquery and PHP

Jquery Duplicate Fields Form Submit with PHP.

Live Character Count Meter with Jquery.

Loading Banner Advertisements with Jquery

Replace URL with HTML Link with Javascript and Jquery Plugins

Flash Effect Image Loading with Jquery.

Facebook Like Profile Edit with Jquery

Youtube like Rating with Jquery and Ajax

Chatting with Jquery and Ajax.

Facebook Like Extracting URL Data with Jquery and Ajax

Collapsed Image with Jquery and CSS.

Facebook Style Tag Friends with Jquery, Ajax and PHP

Create Bit.ly Short URLs Using Jquery and Ajax.

Dynamic Dependent Select Box using Jquery and Ajax

Website Design for Mobile Devices

Adobe Air Application using Flash CS3

Pagination with Jquery, PHP , Ajax and MySQL.

New Twitter Design Expanding URLs with Jquery, Ajax and PHP

New Twitter Design with CSS and JQuery.

Youtube Instant Search with Jquery and Ajax

Twitter Oauth Home Timeline Display with Jquery and PHP.

Magical feedback form with Jquery

Status Message Design with CSS

Typing Game with jquery

CSS3 for Web Design Part-1

Delete Records with Color Change Effect using jQuery and Ajax

Base64 Encoding for Images.

Blog Design with CSS and HTML

Facebook Graph API Connect with PHP and Jquery

Yahoo Oauth Login Connect

User Signup using Facebook Data

Gravity Registration Form with Jquery

Flickr like Title Edit with Jquery and Ajax

Multiple Ajax Requests with Jquery

Yahoo Instant Search with Jquery and Ajax

Bing Instant Search with Jquery and Ajax

https://www.9lessons.info/2011/03/drag-and-drop-template-management-with.html

Live Table Edit with Jquery and Ajax

Background Image Change on Refresh with Javascript

Geo Location with HTML5 and Jquery

Live Design Changing with Jquery

Facebook Wall Script 3.0 with PHP and Jquery

https://www.9lessons.info/2011/05/tab-style-login-and-signup-with-css.html

Live Table Edit, Delete with Pagination using Jquery

Google Plus Style Animations with Jquery and CSS3

Submit Form without Refreshing Page with Jquery

Ajax Image Upload without Refreshing Page using Jquery.

HTML5 Snake Game

Jquery Notification Plugin.

How to Create a Jquery Plugin

Facebook Wall Script 4.0 Release

Google Plus Style Drag and Drop adding Groups

CSS3 Logo Design

Jquery AnchorCloud Expanding Link Plugin.

Amazon EC2 Multi Domain Setup and Technology Behind 9lessons

jQuery Mobile Framework Tutorial.

Text Effects using CSS3

Access Websense Blocked Articles.

Amazon Simple Email Service SMTP using PHP Mailer.

The New 9lessons Labs Application.

Facebook Timeline Design using JQuery and CSS.

Login with Instagram OAuth using PHP.

Facebook Style Emotions Jquery Plugin

Bootstrap Registration Form Tutorial.

File Upload Progress Bar with Jquery and PHP.

Bootstrap Tutorial for Blog Design.

Simple Drop Down Menu with Jquery and CSS

Facebook Style Dynamic Timeline for Wall Script.

Gravatar Login Box Design with Jquery, CSS and PHP.

Create Animated GIF Banner using Photoshop.

Upload Files to Amazon S3 using PHP

ECommerce Menu Design with JSON Data.

MySQL Event Scheduler

Login with Google Account OAuth

Multiple File Drag and Drop Upload using HTML5 and Jquery.

Responsive Web Design for Menu, Image and Advertisements

Responsive Web Design using CSS3

Jquery Photo Zoom Plugin

Backbone.js Router Hashing Tutorial

Better way to Integrate Facebook Like Button

Login with Facebook and Google.

iPhone Application Table View

JSON Input String using JavaScript.

iPhone Application Development

Login with Microsoft Live OAuth Connect

HTML5 Input Types for Mobile.

MongoDB PHP Tutorial

Facebook Like System with Jquery, MySQL and PHP.

Facebook Style Messaging System Database Design.

Play Notification Sound using Jquery.

HTML5 Template Design for Blog.

HTML5 Application Cache.

Oauth Login for Linkedin, Facebook, Google and Microsoft

AngularJS Tutorial Two Way Data Binding

Create Custom Facebook Application

AngularJS Tutorial RESTful JSON Parsing

Multiple Ajax Image Upload without Refreshing Page using Jquery.

Jquery Timeago Implementation with PHP.

Ajax Select and Upload Multiple Images with Jquery

Jquery Validation with Regular Expressions.

Facebook Style Wall Post Script with Expanding URLs.

Live Availability Checking with jQuery.

Twitter like Login with Jquery and CSS.

Jquery Basics Series - 1

Jquery Basics Series - 2

Jquery Basics Series - 3

Facebook Style Wall Post Application with jQuery and Ajax.

Live Update and Delete Records with Animation Effect using Jquery and Ajax

Live Preview with jQuery

Real Time Search Engine

Display Cross Domain Data with Jquery JSON Callback.

Display Collapsed Comments like Facebook with Jquery and Ajax

Twitter Style Load More Results with jQuery and Ajax.

Loading Banner Advertisements with Jquery

Loading Javascript Files with Jquery.

Facebook like Expanding Textbox with Jquery.

Connect Twitter API with OAuth using PHP.

Live Availability Checking with Java.

Pretty URLs with .htaccess Rewriting Tips.

Redirect The Sub Domain To a Sub Folder with .htaccess

URL Rewriting Tip with .htaccess File

Display JSON Data with jQuey and Ajax

Zooming with jQuery and CSS.

Favorite Rating with jQuery and Ajax.

Comment System with jQuery, Ajax and PHP (Version 2.0).

Pagination with jQuery, MySQL and PHP.

How to Implement an Animation Effect Website with jQuery

9 Most Useful jQuery Plugins.

Facebook Style Alert Confirm Box with jQuery and CSS.

Magical Sign-up Page with jQuery and CSS.

Hide and Seek with jQuery.

Auto Load and Refresh Div every 10 Seconds with jQuery.

Twitter like Search with jQuery and Ajax.

Inappropriate words Validation with Javascript.

Using jQuery Visited Plug-In.

Submit multiple forms with jQuery and Ajax.

Oursignal.com used jQuery plugins

Comment system with jQuery, Ajax and PHP.

Changing design colors with jquery

rf.sparks Interesting jQuery Plugin

Useful jQuery Documents.

Facebook like Autosuggestion with jQuery, Ajax and PHP.

Flash colors effect with MooTools Framework.

21 of the Fresh and Rich Free Icons for Web Designers

Background Change with MooTools Framework

9 Interesting jQuery Projects with Demos

Visited links strike out with CSS.

Insert a Record with animation slide down effect using jQuery and Ajax.

Draw Charts with Google Visualization API.

jQuery and Ajax best 9lesson

SMTP Feedback Mail class with jQuery Slide Effect.

Upload and Resize an Image with PHP

Delete a Record with animation fade-out effect using jQuery and Ajax.

jQuery Username Live validation.

Auto Scrolling Effect with javascript and DHTML.

Some Javascript Tips - Form Validation, Toggle Messages

Twitter Like Parsing URLs with JavaScript.

Perfect Javascript Form Validation using Regular Expressions.

Clean User Interface CSS Tips

Twitter Like Flash Message with jQuery.

Submit Checkbox values in Form with javascript

Ajax Add a Record with Button Status Change using jQuery.

Exactly Twitter like Follow and Remove buttons with jQuery and Ajax

Submit a Form without Refreshing page with jQuery and Ajax.

Twitter Like More Button with jQuery and Ajax.

Insert and Load Record using jQuery and Ajax.

PHP

PHP Login Script with Encryption.

PHP Time Stamp Function.

Load Data while Scrolling Page Down with jQuery and PHP

Voting system with jQuery, Ajax and PHP.

Delete Records with Random Animation Effect using jQuery and Ajax.

Server Side Form Validation using Regular Expressions

Facebook like suggestions with jQuery content appears and disappears.

Facebook like multi Toggle Comment Box with jQuery and PHP.

Secure PHP Login Page Example

Add Security to your PHP projects using .htaccess file

Analyzing URLs as Links to the resource using a PHP function.

Reading RSS Feed with PHP.

URLs as Links with Regular Expressions using PHP Function.

PHP Login Page Example.

Send Mail using SMTP and PHP.

Other

Must Watch TED Videos

Free Photoshop Brushes for Graphic Design

Amazon EC2 Cloud Installation.

Customize Facebook Fan Page using FBML.

Get Started Developing for BlackBerry.

How to Prepare Better Test Report.

Working with Facebook SDK Permissions.

Getting Started with Adobe Flex

SSL Certificate Installation.

Facebook Invite Friends API

Blogger Template Design

Create an Effective Facebook Banner Advertisement.

Social Meta Tags for Google, Twitter and Facebook

Getting Started with Redis, Chatting Application

Twitter OAuth Status Update using PHP.

PHP

Free SMTP Mail Server for Your Web Application.

Google Like CAPTCHA with PHP.

Redirect Mobile Devices with PHP

PHP Object Oriented Programming

PHP Captcha Code

How to Write Test Cases for Login

Login with Google Account OpenID

Payment System with Paypal

Login with Facebook and Twitter

Facebook Comments Plugin for Wordpress and Blogger

Getting Started with Ruby on Rails

Facebook Graph API to Post Status Update

How to Create a Chrome Extension.

Update Payment System with Paypal

Import GMail Contacts Google OAuth Connect with PHP.

SEO Friendly URLs with PHP

Image Upload and Cropping with PHP and Jquery

Send Mail using SMTP and PHP.

Smarty Template Engine using PHP

Working with Foreign Languages using MySQL and PHP.

PHP Image and Text Watermark

Login with Google Plus OAuth.

Memcached with PHP.

Creating ZIP File with PHP.

Login with GitHub OAuth using PHP

Block Uploads of Adult or Nude Images using PHP.

Htaccess File Tutorial and Tips.

Outlook.com on a Custom Domain

Understanding Regular Expression

Customizing Google Maps

Database

Database Design Create Tables and Relationships with SQL

Wall Database Design

Join Tables Relationships with SQL

Stored Procedure Lesson

Database Searching Techniques with SQL

Wall Database Design

Facebook Style Friend Request System Database Design.

PHP Email Verification Script.

Blogger
How To Disable Blogger Top Nav Bar

How to Customize Blogger Template

Hacking
'Onion Routing' Anonymous Network

Hacking Algorithm

Make Windows Genuine

Transmission Control Protocol (TCP) Hijack

Hack your Own Web Project ? SQL Injection

Create CON folder in Windows operating system.

Email Tracing Web Applications.

Useful jQuery plugins for Web Designers.

Implement jQuery from Google Ajax Libraries API.

Web Resources

JavaScript Frameworks and Libraries

Free Online PC

Top Free Clone Scripts

Open Source Ecommerce PHP Softwares.

Useful Jquery Plugins.

Best Resources For Webmasters

My Best Applications in Year 2008

Awesome Vector Graphics Flash Movies List.

Must Read Documents.

Creative & Concept Design Logos.

Super Creative Design Logos.

Fantastic Twitter Drawings.

Highly Used jQuery Websites.

Outstanding and Inspiring Website Backgrounds.

9lessons History

Just One Dollar Invested on 9lessons.

Introducing 9lessons iphone Web Application.

9lessons Labs Release.

9lessons articles in DreamInCode.net

Occasion of Two Thousand Visits : 9lessons Poster

First Month Traffic Details

9lessons 3d Wallpaper.

Advertising on 9lessons.

Text Links Advertising on 9lessons .

Do you like 9Lessons blog T-Shirt Design.

Java Programming
Connecting JSP To Mysql Database Lesson

Web.xml Deployment Descriptor

Analysis of a Java Class

Java (JDK) Bin Directory Files Information

Why Java is Most Popular Language?

Java Access Modifiers Lesson

Java Inheritance Easy Lesson

What Web Server Do?

Update a Record with Animation effect using JSP and jQuery.

Create a RESTful Services API in PHP.

Java MySQL Insert Record using Jquery.

RESTful Web Services JSON API Transformer with Java

RESTful Web Services API using Java and MySQL

Java MySQL JSON Display Records using Jquery.

Database(Mysql and SQL)
What is FOREIGN KEY? Easy Lesson

Delicious Database Design: relationships

Delicious Database Design: create tables and relationships with SQL

Visual Database Design with MySQL Workbench

Backup your Web Projects Database using MySQL Administrator.

Technology
Add Your Site/Blog URL in Google Search Database.

Web 3.0 Search Engine Evolution

Google Search Architecture Diagram Overview

Google Search Major Data Structures Documentation

The Stanford WebBase Project Architecture.

Creative way to Explain Technology in Videos.

News
The Stock Market Story

The President Obama's First Speech

C Programming

Decision Control Statements .

Live Decisions in C Programming Language.

C Pointers Lesson

How will developer Fix the bug !!!

What is Printf Doing ?
Saturday, August 16, 2008

Most Popular Articles

Filter by Google Analytics ratings

Last Update - 20th Oct 2009

PHP

Load Data while Scrolling Page Down with jQuery and PHP

Voting system with jQuery, Ajax and PHP.

Delete Records with Random Animation Effect using jQuery and Ajax.

Server Side Form Validation using Regular Expressions

Facebook like suggestions with jQuery content appears and disappears.

Add Security to your PHP projects using .htaccess file

Analyzing URLs as Links to the resource using a PHP function.

Reading RSS Feed with PHP.

SMTP Feedback Mail class with jQuery Slide Effect.

Upload and Resize an Image with PHP

Facebook like multi Toggle Comment Box with jQuery and PHP.

Web Design - jQuery / mootools/ Ajax/ javascript / CSS

Display JSON Data with jQuey and Ajax

Favorite Rating with jQuery and Ajax.

Pagination with jQuery, MySQL and PHP.

9 Most Useful jQuery Plugins.

Facebook Style Alert Confirm Box with jQuery and CSS.

Magical Sign-up Page with jQuery and CSS.

Hide and Seek with jQuery.

Auto Load and Refresh Div every 10 Seconds with jQuery.

Twitter like Search with jQuery and Ajax.

Using jQuery Visited Plug-In.

Submit multiple forms with jQuery and Ajax.

Oursignal.com used jQuery plugins

Comment system with jQuery, Ajax and PHP.

Changing design colors with jquery

rf.sparks Interesting jQuery Plugin

Useful jQuery Documents.

Facebook like Autosuggestion with jQuery, Ajax and PHP.

Flash colors effect with MooTools Framework.

21 of the Fresh and Rich Free Icons for Web Designers

Background Change with MooTools Framework

9 Interesting jQuery Projects with Demos

Insert a Record with animation slide down effect using jQuery and Ajax.

Draw Charts with Google Visualization API.

jQuery and Ajax best 9lesson

jQuery Username Availability check.

Delete a Record with animation fade-out effect using jQuery and Ajax.

Some Javascript Tips - Form Validation, Toggle Messages

Twitter Like Parsing URLs with JavaScript.

Perfect Javascript Form Validation using Regular Expressions.

Clean User Interface CSS Tips

Twitter Like Flash Message with jQuery.

Ajax Add a Record with Button Status Change using jQuery.

Exactly Twitter like Follow and Remove buttons with jQuery and Ajax

Submit a Form without Refreshing page with jQuery and Ajax.

Twitter Like More Button with jQuery and Ajax.

Insert and Load Record using jQuery and Ajax.

Useful jQuery plugins for Web Designers.

Implement jQuery from Google Ajax Libraries API.

News

The Stock Market Story


Hacking
10 Free Hacking Tools

Hack your Own Web Project ? SQL Injection

Make Windows Genuine

Web Resources

Best Resources For Webmasters

Awesome Vector Graphics Flash Movies List.

Creative & Concept Design Logos.

Fantastic Twitter Drawings.


Total Tutorials




Java Programming
Connecting JSP To Mysql Database Lesson

Web.xml Deployment Descriptor

Analysis of a Java Class

Java (JDK) Bin Directory Files Information

Why Java is Most Popular Language?

Java Inheritance Easy Lesson

What Web Server Do?

Update a Record with Animation effect using JSP and jQuery.

Database(Mysql and SQL)
What is FOREIGN KEY? Easy Lesson

Visual Database Design with MySQL Workbench

Backup your Web Projects Database using MySQL Administrator.

Technology
Google Search Architecture Diagram Overview 

Google Search Major Data Structures Documentation
mailxengine Youtueb channel
Make in India
X