<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>askbirbals.com</title>
	<atom:link href="http://just.askbirbals.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://just.askbirbals.com</link>
	<description>Just Ask </description>
	<pubDate>Fri, 12 Dec 2008 22:35:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Moving Towards PHP5</title>
		<link>http://just.askbirbals.com/?p=16</link>
		<comments>http://just.askbirbals.com/?p=16#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:35:30 +0000</pubDate>
		<dc:creator>atul</dc:creator>
		
		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://just.askbirbals.com/?p=16</guid>
		<description><![CDATA[
The support for creating objects was from era of PHP3 but there was only the limited support of OOPS. Originally OOPS support was only meant to provide grouping of both data and functions together. As the PHP popularity grew the OOPS need also grew.
There were many significant changes in PHP5. Earlier was a very little [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>The support for creating objects was from era of PHP3 but there was only the limited support of OOPS. Originally OOPS support was only meant to provide grouping of both data and functions together. As the PHP popularity grew the OOPS need also grew.<span id="more-16"></span></p>
<p>There were many significant changes in PHP5. Earlier was a very little support of encapsulation, and was only limited to grouping of data and functions or I can say that all the implementation was visible outside the class. But in PHP5 the concept of private and protected member variables and methods was introduced. Now the data protection is also possible with PHP5. The public, private and protected provide the various access levels.</p>
<p>PHP5 provide support for the constructors and destructors via member functions __construct and __destruct(). Constructors are the member functions that are automatically called when the instance of class in created. The earlier version of PHP the constructors were with the same name as of the class name. This unified constructor scheme helps in encapsulation of overridden subclass constructors. PHP 5 introduces a destructor support similar to that of other object-oriented languages, such as C++. The destructor method will be called as soon as all references to a particular object are removed or when the object is explicitly destroyed.</p>
<p>In PHP5 provides the concept of abstract classes and interfaces. For an abstract class we cannot create an instance of a class. Only non-abstract classes can be instantiated. For a methods defined abstract, only the method&#8217;s signature can be defined not their implementation. Interface allows you to define certain methods, which a class must implement. In interface we provide only the signature of member functions but the definitions are provided in the class that implements interface. The class that provides the implementation of an interface must define all the methods of interface otherwise the error will rise.</p>
<p>Like other programming languages there is also the support for final and static keywords in PHP5.The final keyword does not allow class and the member functions to be further extended. The classes declared with final keyword cannot further extended. The member or method declared with static keyword can&#8217;t be accessed by the instance of object. Since static methods are callable without an instance of the object created, so $this is not available inside the method declared as static.</p>
<p>PHP5 has better error handling support. It provides exception model similar to that of other programming languages like java or C#. An exception can be <em>throw</em>n and caught. Code is surrounded by <em>try</em> block, to catch various exceptions. Each <em>try</em> must have at least one corresponding <em>catch</em> block. Normal execution (when no exception is thrown within the <em>try</em> block, or <em>catch</em> the matching exception thrown.</div>
]]></content:encoded>
			<wfw:commentRss>http://just.askbirbals.com/?feed=rss2&amp;p=16</wfw:commentRss>
		</item>
		<item>
		<title>Web Services - An Introduction</title>
		<link>http://just.askbirbals.com/?p=14</link>
		<comments>http://just.askbirbals.com/?p=14#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:34:19 +0000</pubDate>
		<dc:creator>atul</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://just.askbirbals.com/?p=14</guid>
		<description><![CDATA[Today the Internet connectivity is increasing the day by day. Earlier the connectivity was limited only to the computers that were using same hardware and software technologies. But this limited functionality was insufficient to fulfill the ever-growing needs. So there was necessity of such kind of a system can allow inter platform communications, or I [...]]]></description>
			<content:encoded><![CDATA[<p>Today the Internet connectivity is increasing the day by day. Earlier the connectivity was limited only to the computers that were using same hardware and software technologies. But this limited functionality was insufficient to fulfill the ever-growing needs. So there was necessity of such kind of a system can allow inter platform communications, or I can say that the communications should be independent of the Operating Systems and Programming Languages. To address this issue the concept of web services was introduced.<span id="more-14"></span></p>
<p>A web service has list of methods and procedures that can be used by any of the applications irrespective of the programming languages, OS, hardware used to develop them. Any type of applications can access the functionality provided by the web service and such functionality is called web methods or web APIs.</p>
<p>A web service allows the communication via internet standards XML and HTTP.Thus I, can say that any computer that has an access to the internet can have access to the web service. Once the web service is deployed on the Internet it can be used by any of the clients using HTTP and XML. There can be a web service, which provide the details of any person based on its social security number. This service can be readily available to any clients who need to access it.</p>
<p>The fundamental requirements for a web service are listed as under.</p>
<ul>
<li>A common format for data representation so that the communication or data exchange should be platform agnostic.</li>
<li>A standard specification for sending messages to web service and receiving responses from web services.</li>
<li>A standard format to describe a web service.</li>
<li>A standard for publishing and discovering web services enabling applications to access     them.</li>
</ul>
<p>The various requirements described above are based on the open standards such as XML, SOAP, WSDL and UDDI.</p>
<ul>
<li>Since XML (eXtensionable Markup Language) is considered as cross platform standard for transferring data over Internet because it is understand by any hardware and software. The XML also describes the data.</li>
<li>In order to communicate there must be a common protocol to exchange the information. SOAP (Simple Object Access Protocol) is Microsoft implementation, responsible for transporting messages between network applications and includes protocols such as HTTP, HTTPS, SMTP and MIME. It uses the XML for information exchange. The messages received or returned by SOAP are called Request and Response envelopes. These are strictly based on XML and described in WSDL for that web service.</li>
<li> WSDL (Web Services Description Language) describes, publicly available methods provided by the web service. The information it provides such as the name of methods, parameters passed to the web services and the values it returns. It is a standard for describing the web service methods. WSDL is a XML format that is used to describe web services.The following are the elements of WSDL.
<ul>
<li> definitions: This is the root element and has web service name and its target namespace.</li>
<li> types: This element defines the data types used by the web services. WSDL uses W3C XML Schema syntax to define data types.</li>
<li> message: This describes the request and response messages.</li>
<li> portType: It is most important element of web service. This defines the operations such as the input and output/Request and Response messages involved.</li>
<li> bindings: In bindings element we define the way messages are transported i.e. binding style and transport protocol.</li>
<li> documentation: It will provide the brief description of the service.</li>
</ul>
</li>
<li>UDDI (Universal Description, Discovery and Integration) provides a mechanism for clients to dynamically discover services available. When a service provider wants to make a web service publicly available it registers it in UDDI directory and provides WSDL for describing the web service.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://just.askbirbals.com/?feed=rss2&amp;p=14</wfw:commentRss>
		</item>
		<item>
		<title>HTTP - Hypertext Transfer Protocol</title>
		<link>http://just.askbirbals.com/?p=12</link>
		<comments>http://just.askbirbals.com/?p=12#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:33:20 +0000</pubDate>
		<dc:creator>atul</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://just.askbirbals.com/?p=12</guid>
		<description><![CDATA[
HTTP is one of the most successful and widely used protocols on the Internet today. It is application-layer protocol used to transmit and receive hypertext pages. HTTP allows a client usually a web browser to send a simple request and receive response back from the server. Whenever you write a URL in address bar of [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>HTTP is one of the most successful and widely used protocols on the Internet today. It is application-layer protocol used to transmit and receive hypertext pages. HTTP allows a client usually a web browser to send a simple request and receive response back from the server. Whenever you write a URL in address bar of you browser, your browser firstly contacts the web server, web server locates the requested page and sends the appropriate response. These requests and responses are issued in HTTP.<span id="more-12"></span></p>
<p>Each HTTP cycle has following steps:</p>
<p><strong>Connection</strong></p>
<p>The connection is established between a web browser and a web server. The connection is established via TCP/IP protocols over particular port generally port 80 is used. However, HTTP is not used to establish connection, it only defines the rules that specify how they communicate.</p>
<p><strong>Request</strong></p>
<p>The web browser sends a request to server, specifying the resource to retrieve. HTTP defines the set of rules for sending the request. Every HTTP request consists of Request-Line, Request-Headers and Message-Body. Sample HTTP request is shown below.</p>
<p>GET /index.htm HTTP/1.1</p>
<p>HOST: www.google.com</p>
<p>Accept: text/html, text/plain</p>
<p>User-Agent: Mozilla/4.0</p>
<p>Each HTTP request has request line and consists of request methods, URI, and HTTP version. After Request-Line, Request-Header starts and providing the characteristics associated with data returned.</p>
<p><strong>Response</strong></p>
<p>It is the response send by the web server to client. The server firstly locates the requested document and sends the appropriate response. However there is a format specified by HTTP to send the response from server. Every HTTP response consists of Status-Line, Response-Headers and Message-Body. Sample HTTP response is shown below.</p>
<p>HTTP/1.1 200 OK</p>
<p>Server: Apache/1.3.3.7</p>
<p>Date: Mon, 23 May 2005 22:38:34 GMT</p>
<p>Accept-Ranges: bytes</p>
<p>Content-Type: text/html</p>
<p>Content-Length: 512</p>
<p>Last-Modified: Tue, 18 Jan 2007 10:12:30 GMT</p>
<p>Connection: close</p>
<p>&amp;lt;html&amp;gt;</p>
<p>&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;hello world&amp;lt;/title&amp;gt;</p>
<p>&amp;lt;meta http-equiv=&#8221;Content-type&#8221; content=&#8221;text/html; charset=ISO-8859-1&#8243;&amp;gt;</p>
<p>&amp;lt;/head&amp;gt;</p>
<p>&amp;lt;body&amp;gt;</p>
<p>Hello world</p>
<p>&amp;lt;/body&amp;gt;</p>
<p>&amp;lt;/html&amp;gt;</p>
<p>The first line of the every HTTP response is called the Status-Line and consists of numeric status code returned along with reason phrase. It is the response returned associated with the HTTP request. After Status-Line, Response-Header starts and providing the characteristics associated with data returned.</p>
<p><strong>Close</strong></p>
<p>Finally connection is closed. After each request and response cycle the connection is closed. Each time the web browser makes request, new connection is established. There is no account for the previous requested resource on web server or I can say that there is no session maintained. This makes HTTP a stateless protocol.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://just.askbirbals.com/?feed=rss2&amp;p=12</wfw:commentRss>
		</item>
		<item>
		<title>Interactive Web 2.O</title>
		<link>http://just.askbirbals.com/?p=9</link>
		<comments>http://just.askbirbals.com/?p=9#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:30:29 +0000</pubDate>
		<dc:creator>atul</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://just.askbirbals.com/?p=9</guid>
		<description><![CDATA[
People are always confused about the WEB 2.0, most people consider that it is a new technology - development platform, for developing the new generation websites. It is confusion in their mind, WEB 2.0 is only a concept discovered at a conference session between O&#8217;Reilly and MediaLive International in year 2004.
It is a successor to [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>People are always confused about the WEB 2.0, most people consider that it is a new technology - development platform, for developing the new generation websites. It is confusion in their mind, WEB 2.0 is only a concept discovered at a conference session between O&#8217;Reilly and MediaLive International in year 2004.<span id="more-9"></span></p>
<p>It is a successor to traditional WWW (Collection of static pages with limited functionality). Most of the technology components of WEB 2.0 have belong to early days of the Web. Web 2.0 is a strong combination of several technologies and aims to enhance creativity, information sharing, user interaction, and innovation, rich desktop experience, thus making the application usage faster and simpler.</p>
<p>The technology infrastructure that WEB 2.0 includes several techniques such content syndication, Rich Internet Application Techniques, Inter site Communication Techniques, Mashups, and rich Server softwares.</p>
<ul>
<li>The Rich Internet Applications techniques produce the rich desktop experience, making the web pages more interactive and responsive. Web page can update alter the content of web page without reloading or refreshing. RIAs also provide dynamic effects and animations on web page making it more and more eye catching. Several technologies are evolved such as Style Sheets, DMTML, AJAX, Adobe Flash, Flex, Java, ActiveX, Silverlight providing rich user-experience in browser-based applications.</li>
<li>Inter site Communication is the most important feature of WEB 2.0. It involves use of web apis (web services) and make the application highly distributed. SOAP and REST are most popular and common approaches to achieve.</li>
<li>Mashup are the web applications that integrate the content from multiple resources at a single location. Web Services (API), public interfaces, RSS feeds are used to fetch content from different resources. Importing the photos from FLICKER using SOAP based API is meshup example.</li>
<li>XML and RSS Content Syndication is an important WEB 2.0 feature. It uses XML to present site content in different formats such as RSS, RDF, and Atom. With RSS usage users not only hyper-link to page but subscribes to it, with notification occurs every time the content changes.</li>
</ul>
<p>Conclusion</p>
<p>WEB 2.0 has revolutionized World Wide Web, making applications more interactive easy to use, simpler and stylish. The differing but complementary approaches provide Web 2.0 with information-storage, creation, and dissemination capabilities that go beyond what the public formerly expected of websites and its going to be a new experience altogether.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://just.askbirbals.com/?feed=rss2&amp;p=9</wfw:commentRss>
		</item>
		<item>
		<title>MySQL - Ultimate Choice For The Web</title>
		<link>http://just.askbirbals.com/?p=6</link>
		<comments>http://just.askbirbals.com/?p=6#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:27:55 +0000</pubDate>
		<dc:creator>atul</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://just.askbirbals.com/?p=6</guid>
		<description><![CDATA[
MySQL is the world&#8217;s most popular open source relational database management system. It is widely used web applications due to fast performance, high reliability and scaliblity, cost-effectiveness. Several powerful and smart features make MySQL the ultimate choice for web applications.
MySQL is especially designed to support indexing and Full-text searching. Indexes are created on specific fields [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>MySQL is the world&#8217;s most popular open source relational database management system. It is widely used web applications due to fast performance, high reliability and scaliblity, cost-effectiveness. Several powerful and smart features make MySQL the ultimate choice for web applications.<span id="more-6"></span></p>
<p>MySQL is especially designed to support indexing and Full-text searching. Indexes are created on specific fields of a table and MySQL stores the records sorted based on the index fields created. Below I mention some of the features that makes it popular for web apps where mining of data is required from huge datastores.</p>
<ul>
<li>Full-text searching is ideal for extremely large databases that contain thousands or even millions of rows. Computations are performed faster and rows can be ranked based on search relevance, which is returned as a decimal number by MySQL.</li>
<li>Noise words and any words that are 3 characters or less in length such as the, and, etc are removed from the search query. This means that more accurate results are returned. If you searched for &#8220;as the people&#8221;, then the noise words &#8220;the&#8221; and &#8220;as&#8221; will automatically be removed from your query.</li>
<li>In addition to simple searches, full-text searches can also be performed in Boolean mode. Boolean mode allows searches based on and/or criteria, such as &#8220;%2Bperson %2BMitchell&#8221;, which would only return all records that contained the words person AND Mitchell. We will look at Boolean searches later in this article.</li>
<li>The query is case-insensitive, meaning that &#8220;cat&#8221; is ranked the same as &#8220;Cat&#8221;, &#8220;CAT&#8221; and &#8220;cAT&#8221;.</li>
</ul>
<p>A unique storage-engine architecture data managing capabilities with different performance and scaliblity features. Some of the popular storage engines are MyISAM, InnoDB, Memory, NDB. Developers can choose from multiple storage engines each table, according to the requirements.</p>
<ul>
<li>MyISAM is a disk based storage engine. Aiming for very low overhead, it does not support transactions. MyISAM is default storage engine of MySQL.</li>
<li>InnoDB is also disk based, supports ACID transactional capabilities. It has strong referential integrity. InnoDB requires more disk space than MyISAM to store its data, and this increased overhead is compensated by more aggressive use of memory caching, in order to attain high speeds.</li>
<li>Memory (formerly called &#8220;HEAP&#8221;) is a storage engine that utilizes only RAM. The tables are memory-based and very fast.</li>
<li>NDB, the MySQL Cluster Storage engine, connects to a cluster of nodes, offering high availability through redundancy, high performance through fragmentation (partitioning) of data across multiple node groups, and excellent scalability through the combination of these two. NDB uses main-memory only, with logging to disk.</li>
</ul>
<p>MySQL has exceptional high performance query engine that can easily handle ever-increasing volume of users, transactions and data. Further data insertion is also very fast . All these make it suitable for high-traffic web sites.</p>
<p>MySQL uses features like main memory tables, B-tree and hash indexes, and compressed archive tables that reduce storage requirements by up to eighty-percent make MySQL a strong standout for both web and business intelligence applications.</p>
<p>MySQL has many Plug-in libraries, so it can support nearly every application. All the major programming languages including PHP, Java, Perl, Python, .NET, and C etc has MySQL Plug-in libraries to access MySQL databases. But MySQL&#8217;s popularity is closely tied to PHP,Perl and Python.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://just.askbirbals.com/?feed=rss2&amp;p=6</wfw:commentRss>
		</item>
	</channel>
</rss>
