5/21/12

Starting with CodeIgniter : Hello World App.

CodeIgniter is an open source web application framework built for PHP coders who want to develop a full-feature web application. It has libraries which help us to perform many tasks very easily. It works on the MVC Pattern.


Model–View–Controller (MVC) is a design pattern for computer user interfaces that divides an application into three areas of responsibility:
  1. the Model : the data structures that represent the application's state.
  2. the View : which observes the state and generates output to the users.
  3. the Controller : which translates user input into operations on the model.


5/20/12

Transaction Isolation Levels in JDBC

The transaction isolation levels in JDBC help us to determine whether the concurrently running transactions in a DB can affect each other or not. If there are 2 or more transactions concurrently accessing the same DataBase, then we need to prevent the actions of the transactions from interfering with each other.

The above is achieved using the isolation levels in JDBC. 




5/9/12

PHP Operators

Fighting With PHP operators:



In all programming languages, operators play a key role in performing tasks with variables and values. You might have knowledge about "." or assignment operator"=".


There are many operators in PHP. Here these are categorized as :

  1. Assignment Operators
  2. Arithmetic Operators
  3. Comparison Operators
  4. String Operators
  5. Increment / Decrement Operators
Here, i will shed light on each of them with a code example. so let us go


5/7/12

A Tutorial on Arrays in PHP

Arrays in all languages whether Java, C++, Python, C etc are the same. 


Definition, Arrays are complex variables that store a group of values under a single variable name.



Creating Arrays


Its difficult for a person who is new to PHP to create an array, because arrays every language is created differently though they do the the same thing. This was a problem which I also had initially when I started coding in php.



5/5/12

Algorithm Tutorials - Part 1 : Ad-Hoc Problems

I will start with the very basic of Algorithms.

Before moving on to the different algorithms, let's first see what does an algorithm actually mean?



Definition


A process or set of rules to be followed in calculations or other problem-solving operations, esp. by a computer.  


Aho, Hopcroft and Ullman, had stated in their book on algorithms, named, "The Design and Analysis of Computer Algorithms" that "Perhaps the most important principle for the good algorithm designer is to refuse to be content."



5/2/12

Cloud Computing : The Future of Web

This is not a tutorial with codes, its a tutorial to make people aware about Cloud Computing, later posts will have tutorials with examples of App Engine. Before we move into Cloud Computing and its characteristics. Lets take the word cloud.

CLOUD


Cloud is a place or an area where we have all the components of cloud computing, basically its a metaphor for the Internet. By components I mean Server (Application/Back-up), Database, Back-up Storage, Network etc.