Tuesday, February 28, 2012

Generating PDF files from Database using CodeIgniter

Posted by on Tuesday, February 28, 2012
Before we start here is a brief information about CodeIgniter. 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.

Wednesday, February 22, 2012

RGB Color Chooser Applet Java Code

Posted by on Wednesday, February 22, 2012
A RGB Color Chooser shows three sliders that the user can manipulate to set the red, green, and blue, components of a color. A color box shows the selected color, and there are three labels that show the numerical values of all the components. Values are in the range 0 to 255. The initial color is black.

Monday, February 20, 2012

A quick overview of Variables in PHP

Posted by on Monday, February 20, 2012
As we all know every language whether it be a scripting language or a programming language has variables in it. php which is a server-side HTML embedded scripting language also has variables which help it to store values anytime it wants it to. 

Tuesday, February 14, 2012

JDBC : Accessing Result Sets - Part I

Posted by on Tuesday, February 14, 2012
This is my 3rd post on JDBC TUTORIAL. Today we will be learning about how to access the results that we get for a query using ResultSet

Whenever we execute a query to retrieve data from a table using a Java application, the output is stored in a ResultSet object in a tabular format. The ResultSet object maintains a cursor that helps us to move to and fro in the rows stored in the object and the cursor intially points before the first row.

Thursday, February 2, 2012

Regular Expressions in Java

Posted by on Thursday, February 2, 2012
A regular expression is a kind of pattern that can be applied to text (String, in Java). Java provides the java.util.regex package for pattern matching with regular expressions. Java regular expressions are very similar to the Perl programming language and very easy to learn.

A regular expression either matches the text ( or a part of it) or it fails to match.
* If regular expression matches a part of text then we can find it out which one.
** If regular expression in complex, then we can easily find out which part of the regular expression matches with which part of the text.
© 2010 Code 2 Learn