Thursday, September 17, 2009

xml vs database

XML can be used as databases. But the question is that why should I use it or why should I avoid it? XML has the properties of storage, portability, schemas. Xml is self describing means the elements, attributes tells what the data it contains. It also describes data in tree or graph structure.
Xml provides many qualities of databases.
1. Storage: Xml documents.
2. Schemas: DTDs, Xml schemas.
3. Query languages: Xpath, Xquery.
4. Programming interfaces: SAX, DOM.
And it also lacks some of the cool features of databases.
1. Security.
2. Integrity.
3. Indexes.
4. Transaction.
5. Efficient storage.
6. Multi user access.
7. Triggers.
8. Queries across multiple documents.
So, xml can be used as a database for few users, small amount of data. But for product environment where there will larger data, huge user, need data integrity, there needs databases. So, there is very little advantage to use xml as a database.

List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

No comments: