Directory
Technology
Blog Details for "Programming Tutorials, Resources and Sample Codes"
Programming Tutorials, Resources and Sample CodesProgramming Tutorials, Resources and Sample CodesVisit this site for PHP Tutorials, MySQL Tutorials, Java Tutorials, Technical Articles on PHP, Java, C, and general how-tos on Linux and various technical stuff Articles
C Tutorial - Operators in C
2008-05-25 10:43:00 An operator is a symbol that operates on a certain data type and produces the output as the result of the operation. In C, you can combine various operators of similar or different categories and perform an operation. In this case the C compiler tries to solve the expression as per the rules of precedence. More About: Tutorial , Operators
C Tutorial - Constants, Variables and Data Type Modifiers
2008-05-25 09:46:00 Constant A constant can be defined as ?a quantity that does not change during the execution of a program?. #include <stdio.h> void main(void) { int a = 10; printf(?%d?,a); } Program Output 10 Here we are declaring a variable a with its initial value 10. 10 here is an ... More About: Tutorial , Data , Type , Variables
C Tutorial - Fundamental Data Types
2008-05-22 06:08:00 In this C Tutorial we will learn what Fundamental Data Types are and how to use them. We develop programs to accept an input from the user and then run the input through a series of processes and produce the output on screen or on the printer, etc.
Introduction to C Programming
2008-05-18 16:53:00 As a programming language, C is rather like Pascal or Fortran. Values are stored in variables. Programs are structured by defining and calling functions. Program flow is controlled using loops, if statements and function calls. Input and output can be directed to the terminal or to files. Related data can be stored together in arrays ... More About: Programming , Introduction
Writing Website Scrapers in PHP
2008-02-26 16:35:00 This article discusses about how to write a website scraper using PHP for web site data extraction. The concepts taught can be applied and programmed in Java, C#, etc. Basically any language that has a powerful string processing capability. This article will teach you the basics of website scraping. The article will further cover a ... More About: Programming , Website , Writing , Scrapers
Will ?Made in India? Software Products Become a Reality?
2008-02-20 16:04:00 A discussion with my friends brought about this topic. The discussion initially started with talks on the condition of Software Exports and the amount of revenue it brings to the India n Economy as a whole. Though the Software Exports business (by way of consulting projects) has been good over the past so many years and ... More About: Business , Products , Reality
7 habits of highly effective freelance programmers
2008-02-18 18:45:00 I have developed these based on my freelancing experience. Though I have discontinued freelancing, but would like to share my practices with you. These are basic practices and have been developed over time with experience (good and bad). Please feel free to leave your experiences and comment on this article. More About: Management , Habits , Freelance , Effective , Programmers
PHP 5 Tutorial - Handling Exceptions in PHP5
2008-02-14 09:58:00 In this tutorial we will cover the following: What is an exception? The use of a try…catch block Anatomy of PHP5 Exception class Extending the Exception class A note on unhanded exceptions More About: Tutorials , Tutorial
PHP 5 Tutorial - Final Class and Methods
2008-02-14 07:41:00 In this PHP tutorial we will understand the following: Meaning of Final Class Meaning of Final Method When to declare a class as final When to declare a method as final More About: Tutorials , Tutorial , Methods
PHP 5 Tutorials - Static Data Members and Methods
2008-02-12 10:47:00 In this tutorial you will learn all about static data members and methods Meaning of static data members Meaning of static methods Defining static data members in PHP5 Defining static methods in PHP5 Accessing static data members in PHP5 Accessing static methods in PHP5 Rules to keep in mind for static methods More About: Tutorials , Data , Methods , Static , Members
PHP5 OOPS Tutorials - Polymorphism
2008-02-11 08:09:00 In this tutorial we will learn the following: Meaning of Polymorphism Why method polymorphism cannot be achieved in PHP PHP 5 Object Polymorphism More About: Tutorials
PHP5 Tutorials - Abstract Class and Interface
2008-02-03 09:26:00 In this post, we learn what is an abstract class and an interface. What is an Abstract Class ? Private methods cannot be Abstract What is an Interface ? Defining an Interface Abstract Class v/s Interface More About: Tutorials , Tutorial
12 common programming mistakes to avoid
2007-11-16 16:28:00 Programming is an art and science and like all art and science the only way to learn is from mistakes. I have made many… and I would like to share with you the mistakes that I have made over my journey with development. More About: Programming , Common , Avoid , Stakes , Mista
PHP Script to print nested array
2007-11-16 06:28:00 Here is a script that will allow you to print a nested array upto any level. Can I request you to please review this and let me know how this can be further optimized. More About: Script , Print , Array
PHP5 Tutorial - Inheritance in PHP5
2007-11-15 06:21:00 In the tutorial we will understand what is Inheritance in general and how to inherit classes in PHP5. Definition of Inheritance: Inheritance is the mechanism of deriving a new class from an existing class. It allows a sub-class / child class to share/inherit the attributes and behaviors of a base-class or parent class. These inherited attributes and ... More About: Tutorial
PHP5 Tutorial - Defining Class Constants
2007-11-15 05:46:00 In PHP4 the only constants that we would declare were global constants. In PHP5 it is possible to define a class level constant. These constants are specific to the class and hence don’t clutter the global level constant space. More About: Tutorial , Class
PHP5 Tutorial - instanceOf Operator Explained
2007-11-15 04:52:00 PHP5 introduces a new operator by the name of instanceOf. instanceOf is used to check if two objects passed as operands belong to the same class. This check can also happen when an object is compared with a class name. In PHP4 a similar functionality existed with a method is_a(), which has been replaced by the ... More About: Tutorial , Operator
PHP5 Tutorial - $this variable explained
2007-11-14 16:17:00 $this variable is a pointer to the object making the function call. $this variable is not avialable in static methods. We will learn more about static methods in the next series of tutorials. More About: Tutorial
PHP Script to Extract Email Address from any text
2007-11-14 13:14:00 I have developed a function that you can embed in your PHP applications that will help you extract email addresses from a given piece of text. I have tested this on a string of (actually 4 - 5 paragraphs) text and this has performed very well. Please feel free to use this code in your applications and ... More About: Programming , Email , Script , Text , Address
Stack Implementation in PHP5 - Stack Class
2007-11-13 21:47:00 Refer to the code below which is a PHP5 Stack Class - an implementation of Stacks. You are free to use it in your programs. More About: Implementation
PHP5 Tutorial - Function - Method Type Hinting in PHP5
2007-11-13 20:11:00 PHP5 Introduces Method Type Hinting. Type Hinting allows a function to force parameters to be objects of a particular class by specifying the name of the class in the function prototype. Type Hinting is optional in all cases except catch block. More About: Tutorial , Function
PHP5 Tutorial OOPS - PHP5 Class Access Specifiers - public, private and pro
2007-11-13 20:02:00 In the earlier tutorials we have witnessed keywords like public, private and protected. These are nothing but access specifiers. So, lets understand what access specifiers are. Definition of Access Specifiers Access specifiers specify the level of access that the outside world (i.e. other class objects, external functions and global level code) have on the class methods and ... More About: Tutorial , Public , Private , Class
PHP5 Tutorial OOPS - Creating a PHP5 Destructor __destruct()
2007-11-13 19:46:00 Definition of a Destructor A destructor is a special function of a class that is automatically executed whenever an object of a class is destroyed. What does this all mean? Let’s revisit that definition in more simple terms. A destructor is a special function - this means that a destructor is a function; but its special. But, why ... More About: Tutorial , Creating
PHP5 Tutorial - Creating a PHP5 Constructor __construct()
2007-11-13 19:34:00 Definition of a Constructor A constructor is a special function of a class that is automatically executed whenever an object of a class gets instantiated. What does this all mean? Lets revisit that definition in more simple terms. A constructor is a special function - this means that a constructor is a function; but its special. But, why ... More About: Tutorial , Creating |



