Tuesday, 29 July 2014

Database Languages


A database system provide Data Definition Language(DDL) to specify Database schema and Data Manipulation Language(DML) to express Database queries and updates. They are a part of a single Database language, such as the widely used SQL language.



Data Manipulation Language (DML)

DML allows users to acces and manipulate data as organized by the appropriate

data models.The types of access are,

* Retrieval of data

* Insertion of data

* Deletion of data

* Modification of data



Basically there are two types of DMLs,

1) Procedural DML

Here user need to specify what data and how to access that data

2) Declarative DML (Non procedural DML)

Here user need to specify what the data is and the DML will find an effective way to access those data



Therefore users mostly prefer Declarative DMLs since it is easier to learn and it can efficiently carry out data access.



Data Definition Language (DDL)

We specify database schema by a set of definitions and additional properties of data using DDL. We specify the storage structure and access methods used by Database system by a set of statements in a special type of DDL called data storage and definition language.

The DDL provides facilities to specify certain consistency constraints. Database system implement integrity constraints that can be tested with minimal overhead.



* Domain Constraints

Declaring an attribute like int, char as a specific domain acts as constraints on the values it can take. They are checked whenever new data items are entered.



* Referential integrity

There occurs some cases where we want a value appearingin one relation must appear in another relation. In some cases database modification cause violation in Referential integrity. When that happens, the action that causes the violation is rejected.



* Assertion

Assertion is any condition that a database must always satisfy. Domain constraints and Refrential integrity are other forms of assertions. When an assertion is created, system tests for its validity. If it is valid, database allows further modification if it does not cause any violation.



* Authorization

Users are differentiated according to type of access that they have to the database. This differentiation among the users are expressed in terms of Authorization.

The different types of authorizations are,

  • Read authorization
  • Insert authorization
  • Update authorization
  • Delete authorization

Data dictionary is a special type of table that can be accessed and updated by the database system itself. The database system consults the data dictionary before reading and modifying the data.

Friday, 4 July 2014

Web Syndication

Common Web feed icon
    First of all, what is Syndication? Basically syndication is the supply of material for reuse and integration with other material, often through a paid service subscription. The best example of web syndication is Newspaper. News agencies distribute contents to newspapers, they reformat it and integrate it with other copies and publish it.
    Web syndication refers to the websites providing information and the websites displaying it. ie, A section of a website is made available for other websites to use. For the providing sites, it is an exposure across numerous online platform. For the receiving sites, it is an effective way of adding depths to their sites and making it more attractive. Online content syndication is a rapid growing industrial sector in both hardware and software field. In the early days, syndication was a heavy manual process. Then an agreement reached favouring both supplier and customers reached. According to the agreement the customers would simply copy the desired content from the supplier's Web site and paste it into their own. Thus it became an easy process.
    In order to implement this new communication process, a series of XML files are defined. There is no standard format for Web syndication. To use this technology, site owners create or obtain specialized software (such as a content management system) which, in the machine-readable XML format, presents new articles in a list, giving a line or two of each article and a link to the full article or post. Web logs and news websites are common sources for web feeds, but feeds are also used to deliver structured information ranging from weather data to "top ten" lists of hit tunes. The term syndication is used to describe making available a feed for an information source. Like syndicated print newspaper features or broadcast programs, webfeed contents may be shared and republished by other web sites.

Tuesday, 1 July 2014

A Movie Review

THIRA


Thira is 2013 released movie directed by Vineeth Sreenivasan. It casts Dhyan Sreenivasan, Shobhana- the cenral character. The movie deals with human trafficking. This movie is an eye-opener against such crimes taking place in different parts of the country.

The film makes the debut of Vineeth Sreenivasan’s young brother Dhyan Sreenivasan and the return of actress Shobhana to Malayalam cinema after almost a decade. Vineeth Sreenivasan was inspired by the life of Sunitha Krishnan an Indian activist and founder of ‘Prajwal’ an institution that assist trafficked women and girls in finding the shelter.
Movie begins with the introduction of a cardiologist, Rohini Pranab (Shobhana), who apart from her job of a doctor also runs an organization for women which acts against women trafficking and helps orphaned girls. Things get into trouble when some girls from the organization get kidnapped.
Rohini sets out on a mission to find those who are behind her husband's murder and who have trafficked the girls. On the same path, we are introduced to Naveen (Dhyan Sreenivasan), who is in search of his kidnapped sister. Naveen and Rohini meet by chance and come to know that they have the same goal. Rest of the movie focuses on their mission to find the lost ones. The story is set in Kerala and Goa. Both of them finally identify the secret place where the trafficked girls are kept and release with the wise help from Rohini and action from Naveen.
Thira merely reminds us that even those with eyes, see only that which they want to see through the scene of girl being kidnapped in the middle of the city in a day.
The main issue with stories of these kinds is that they have a predictable pattern with real events happening only at the beginning and then towards the end. What keeps the viewers glued on to such films are the portions that connect these two ends. Rakesh Mantodi's script (co-written by Vineeth Sreenivasan) barely manages to make things interesting and gripping beyond a point. Also, the dialogues have been written in an old fashioned style.

. 'Thira' does require an actress of great caliber, and Shobhana delivers an incredible performance and Dhyan Sreenivasan makes a notable debut as well, though he does need to work on his dubbing skills.

Sunday, 22 June 2014

A Book Review

HOW I BRAVED ANU AUNTY AND CO-FOUNDED A MILLION DOLLAR COMPANY  -Varun Agarwaal

         Varun Agarwaal, the author of this book is a young entrepreneur of India. This book inspires the reader to live their dream. In a country like India it is hard to fulfill one’s dream on their profession.
Here Varun Agarwaal teaches us to walk in our way which we trust to be successful. We live to achieve what we want to be, not anyone else’s life.
The main character in this story is Anu Aunty, his mother’s close friend. From his child hood onwards she brainwashes his mother Poornima about his career. She believes being a techie is the best job that anyone can achieve. But, Varun wanted a complete change from what others are doing. He dreams of becoming an entrepreneur. He plans of starting a company with his close friend Rohn Malhothra. His Mal. Varun and his friends hangout at different places in Bangalore. The plan of his company was sprouted in such a meeting at Noon Wines, one of the old pub in Bangalore. Both Varun and Mal planned to work on an idea - School Merchandising, which means making hoodies, tees etc for the alumni of schools, colleges and passing out batches of institution. They proceeded with their idea while their parents and rest of their friends were ignorant about it. 
But Varun’s mother was always worried about him and his future. She is tensed that Varun has not got a job yet while his friends are pursuing MBA and applying for higher education. The repeated addition of phrases like ‘Thunder, lightening, rain, old Hindi movie soundtrack’ makes the situation funny.
       Anu aunty was always behind him. Her son Arjun is good at studies and extracurricular activities. He is a techie now. Whenever Anu aunty and Varun’s mother meet together Anu aunty injects possessiveness in her mind by comparing Varun and Arjun. 
       Varun is very much confident on his new start up. The first thing did they did was, they  searched for a manufacturer. They came across three manufacturers whom they had to strike off due to financial issues. Finally they ended up with a manufacturer from Tirupur who is Mal’s brother’s friend. He gave all the support for their start up. During the business journey Varun discovered that the best lessons of marketing and business can be learned from the kitty parties of aunties. 
     In the following days they met the manufacturer, shipped the material and their first motto was Bishop Cotton Boys’ School. Their first business went well. They declared a name for their start up- Alma Mater. They took a lot of effort for their website, business cards etc. Slowly their business spread worldwide. He discovered that the best way of marketing their product is through E-commerce. 
    He went through many challenges and difficulties for the success of their dream. It was he himself and Mal worked very hard without the help of any employees for establishing their company.

    Varun’s book reflects the life many of us are leading or forced to lead. There would be an Anu aunty in everyone’s life that becomes a hurdle for making our dream come true. What we see here is instead of simply bowing down to the pressure of Anu aunty and her friends, Varun decide to tread the unconventional path.
    So, through this book Varun gives a practical guide to entrepreneurship to all who wants to fulfill their dream. 



Tuesday, 17 June 2014

MariaDB


MariaDB is a high performance, open source database that helps the world's busiest websites deliver more content, faster, to all its users. It is developed by the developers of MySQL with the help of Free and Open Source software community and is a fork of MySQL. It offers various features and enhancements like alternate storage engines, server optimizations and patches.
The  lead developer of MariaDB is Michael "Monty" Widenius, who is also the founder of MySQL and Monty Program AB.
It is not a single person or a company that is developing the MariaDB/MySQL developments. It is the guardian of the  MariaDB  community that drives it. MariaDB foundation has the trademark of MariaDB server and owns mariadb.org. This ensures that official MariaDB development tree is always opened for the developer community. MariaDB foundation ensures that all the community patches, including MySQL source code are matched into MariaDB and also provides a lot of documentation. MariaDB is a registered trademark of SkySQL Corporation Ab used by MariaDB Foundation with permission.
It is the best choice for database professionals looking for best and robust SQL server.