Tuesday, May 22, 2012

Starting with CodeIgniter : Hello World App.

Posted by on Tuesday, May 22, 2012
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.

Monday, May 21, 2012

Transaction Isolation Levels in JDBC

Posted by on Monday, May 21, 2012
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. 



Thursday, May 10, 2012

PHP Operators

Posted by on Thursday, May 10, 2012

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

Tuesday, May 8, 2012

A Tutorial on Arrays in PHP

Posted by on Tuesday, May 8, 2012
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.


Sunday, May 6, 2012

Algorithm Tutorials - Part 1 : Ad-Hoc Problems

Posted by on Sunday, May 6, 2012
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."


Wednesday, May 2, 2012

Cloud Computing : The Future of Web

Posted by on Wednesday, May 2, 2012
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. 

© 2010 Code 2 Learn