Archive

Posts Tagged ‘mechanism’

Sphinx

March 3rd, 2009 Jigish Thakar No comments

Sphinx is a full-text search engine, distributed under GPL version 2. Commercial license is also available for embedded use.

Generally, it’s a standalone search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL or PostgreSQL, or using XML pipe mechanism (a pipe to indexer in special XML-based format which Sphinx recognizes).

As for the name, Sphinx is an acronym which is officially decoded as SQL Phrase Index. Yes, I know about CMU’s Sphinx project.

for more information click here

Create RSS Feeds for your Website

November 22nd, 2008 Jigish Thakar No comments

RSS is a method of distributing links to content in your web site that you’d like others to use. In other words, it’s a mechanism to “syndicate” your content.

To understand syndication, consider the “real world” situation where artist Scott Adams draws a daily Dilbert cartoon. The cartoon is made available to any newspaper that cares to run it, in exchange for a fee — and 2,000 papers in 65 countries do so.

Unlike Scott Adams, syndication of web content via RSS is unlikely to make you rich. However, it can be an easy way to draw attention to your material, bringing you some traffic and perhaps a little net fame, depending on how good your information is.

What Is RSS?

How does RSS syndication work? Say you publish a new web page about a particular topic. You want others interested in that topic to know about it. By listing the page as an “item” in your RSS file, you can have the page appear in front of those who read information using RSS readers or “news aggregators” (explained more in my sidebar article, RSS: Your Gateway To News & Blog Content). RSS also allows people to easily add links to your content within their own web pages. Bloggers are a huge core audience that especially does this.

What does RSS stand for? There’s a can of worms. RSS as introduced by Netscape in 1999 then later abandoned in 2001 stood for “Rich Site Summary.” Another version of RSS pioneered by UserLand Software stands for “Really Simple Syndication.” In yet another version, RSS stands for “RDF Site Summary.”

History buffs might be interested that there’s been some rivalry over who invented RSS. This is why we have both different names and indeed different “flavors” or versions of RSS. Mark Pilgrim’s written an excellent article, What Is RSS, that charts the different versions with recommendations on which to use. I’ll also revisit the version choice you’ll need to make. But first, let’s look more closely at some basics of what goes into any RSS file.

for more information click here

Opera study: only 4.13% of the web is standards-compliant

October 17th, 2008 Jigish Thakar 1 comment

opera icon Opera study: only 4.13% of the web is standards compliantBrowser maker Opera has published the early results of an ongoing study that aims to provide insight into the structure of Internet content. To conduct this research project, Opera created the Metadata Analysis and Mining Application (MAMA), a tool that crawls the web and indexes the markup and scripting data from approximately 3.5 million pages.

Statistical analysis of the data collected by MAMA has provided Opera’s engineers with a unique understanding of emerging trends in web development and the way that standards-based web technologies are used on the Internet. Opera plans to take the project to the next level by building a search engine on top of the indexed data so that web designers, browser implementers, and standards experts can easily obtain information about real-world usage of web technologies. Read more…

Object Oriented Programming in PHP

October 7th, 2008 Jigish Thakar No comments

This article introduces Object Oriented Programming (OOP) in PHP. I will show you how to code less and better by using some OOP concepts and PHP tricks.
Concepts of object oriented programming:

· Abstract data types and information hiding
· Inheritance
· Polymorphism

Read more…