Posts

Showing posts from November, 2014

SSD

Image
SSD  :- A solid-state driveis a data storage device using integrated circuit assemblies as memory to store data persistently. SSD technology uses electronic interfaces compatible with traditional block input/output (I/O) hard disk drives, thus permitting simple replacement in common applications. SSDs have no moving (mechanical) components. This distinguishes them from traditional electromechanical magnetic disks such as hard disk drives (HDDs) or floppy disks, which contain spinning disks and movable read/write heads. SSDs are still roughly seven to eight times more expensive per unit of storage than HDDs. SSDs use NAND-based flash memory, which retains data without power. SSD includes a controller that incorporates the electronics that bridge the NAND memory components to the host computer. SSDs have no moving parts and therefore are basically silent, although electric noise from the circuits may occur. Susceptibility to environmental factors-No moving ...

Notes on php

The limitations of cookies :- 1) the cokkie specification says that  I) no cookie can exceed 4KB in size, II) only 20 cookies are allowed per domain , III) and a total of 300 cookies can be stored on the client side 2) There is no control over when the browsers actually expire cookies. Type juggling :- 1) The conversion of a value from one type to another is called casting. 2) This kind of implicit casting is called type juggling in PHP. Regular expressions:- 1) Definition :- A regular expression is a string that represents a pattern .The regular expression functions compare that pattern to another string and see if any of the string matches the pattern .Some functions tell you whether there was a match, while others make changes to the string. 2) PHP provides support for two different types of regular expressions : 1) POSIX and  2) Perl- compatible 3) POSIX regular expressions are less powerful and sometimes slower , than the Perl - compatible ...

Design pattern

Image
Why design pattern? To make project new libraries are created. New classes can be used for further program i.e. Classes are reusable. Thus the problem which is reusable is design pattern. Definition Design Pattern Each pattern describes a problem which occurs over and over again in our environment and then describes the code of the solution to that problem in such a way that you can use this solution a million times over without ever doing it the same way twice. Elements of design pattern :- 1) Pattern name 2) Problem 3) Solution 4) Consequences The person requires documentation for design pattern i.e. Describing design pattern. For this there are as follows:- 1) Pattern name and classification 2) Intent 3) Also known as ( different names for them e.g. Abstract class has user class name ) 4) Motivation ( why person problem to motivate for design pattern ) 5) Applicability ( Real life situations where used ) 6) Structure ( data structures ) 7) Participants ( o...

LAN wire configuration

Image
Cat 5 is required for basic 10/100 functionality, you will want Cat 5e for gigabit (1000BaseT) operation. The ethernet cable, are 8 color coded wires. These wires are twisted into 4 pairs of wires, each pair has a common color theme. One wire in the pair being a solid or primarily solid colored wire and the other being a primarily white wire with a colored stripe (Sometimes ethernet cables won't have any color on the striped wire, the only way to tell which is which is to check which wire it is twisted around). Examples of the naming schemes used are: Orange (alternatively Orange/White) for the solid colored wire and White/Orange for the striped cable. The twists are extremely important. RJ45 :- RJ-45 conductor data cable contains 4 pairs of wires each consists of a solid colored wire and a strip of the same color. There are two wiring standards for RJ-45 wiring: T-568A and T-568B. Although there are 4 pairs of wires, 10BaseT/100BaseT Ethernet uses only 2 pairs: Orange and Gr...