Browsing articles by " Haneez Haroon"
Oct
2
2011

How to connect to your web server via SSH

terminal

SSH or Secure Shell is a UNIX-based network protocol that allows data to be exchanged using a secure channel between two networked devices. SSH is actually a suite of three utilities – slogin, ssh, and scp – that are secure versions of the earlier UNIX utilities, rlogin, rsh, and rcp. SSH commands are encrypted and secure in several ways. Both ends of the client/server connection are authenticated using a digital certificate, and then the passwords [...]

Sep
3
2011

How to increase your iPhone’s Battery Life

iphone-battery

We love to use a lot of applications on our smart phones most of the time but managing them with the battery span before you have to plug into the wall socket or the USB charger can be annoying. What we have here is a few tips that can help you get the maximum use of your battery. They might sound pretty obvious but they can make a big impact if you practice them often. [...]

Sep
19
2010

Functional programming definition and origin

Functional Programming

Programming Paradigm A programming paradigm is a paradigmatic style of programming (compare with a methodology, which is a paradigmatic style of doing software engineering). A programming paradigm provides (and determines) the view that the programmer has of the execution of the program. For instance, in object-oriented programming, programmers can think of a program as a collection of interacting objects, while in functional programming a program can be thought of as a combination of stateless function [...]

Sep
17
2010

Design Patterns : Composite pattern

Composite Pattern

Motivation Frequently programmers develop systems in which a component may be an individual object or it may represent a collection of objects. Intent Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. Applicability Use the Composite pattern when; You want to represent part-whole hierarchies of objects You want clients to be able to ignore the difference between compositions of objects and individual objects. Clients [...]

Sep
12
2010

Design Patterns : Iterator pattern

Iterator Pattern

What is iteration? In computer science, an iterator is an object which allows a programmer to traverse through all the elements of a collection, regardless of its specific implementation. An iterator is sometimes called a cursor, especially within the context of a database. Intent Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. Diagram Applicability Use Iterator pattern To access an aggregate object’s contents without exposing its internal [...]