Tuesday, 31 July 2012

Introduction to PHP


What is PHP?

  • PHP stands for PHP: Hypertext Preprocessor
  • PHP is a server-side scripting language, like ASP
  • PHP scripts are executed on the server
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • PHP is an open source software
  • PHP is free to download and use

What is a PHP File?

  • PHP files can contain text, HTML tags and scripts
  • PHP files are returned to the browser as plain HTML 
  • PHP files have a file extension of ".php", ".php3", or ".phtml"

What is MySQL?

  • MySQL is a database server
  • MySQL is ideal for both small and large applications
  • MySQL supports standard SQL
  • MySQL compiles on a number of platforms
  • MySQL is free to download and use

Click Here  Introduction to PHP 

Introduction to classes of PHP


Object-oriented PHP
If you have used an object oriented language before, you know that the subject is complex. I will present object-oriented PHP in a very simplistic manner but enough that you can learn to use objects in your scripts in a matter of minutes. Like any object-oriented language, PHP involves using classes to define objects and then using object instances to perform a task. The main purpose of a class is to provide instructions that define the functionality of an object. The class “Fruit” will provide information on a fruit such as shape and color. Let’s look at the definition of a class called Fruit.
<?
class Fruit {
// these are the instance variables
var $shape;
var $color;
// this is the constructor
function Fruit($shape=NULL, $color=NULL) {
$this->color = $color;
}
// the remaining functions are member functions
// to set or retrieve the state of the object
//ACCESSOR MTHODS
function getColor() { return $this->color; }
function getShape() { return $this->shape; }
//MUTATOR METHODS
function setColor($color) { $this->color = $color; }
function setShape($shape) { $this->shape = $shape; }
//A PRINT UTILITY
function printVar () {
echo “. variables are: ($this->shape) and ($this ->color)”;
}
}
?>
The class Fruit has two instance variables ($shape and $color), a constructor (function Fruit()), accessor and mutator functions. The instance variables describe the properties of a Fruit object. The constructor is used to create new Fruit objects. Constructors of a class always have the same name as the class. Here in the Fruit class, the constructor can take two optional parameters to create a new Fruit. The parameters are optional because they are each given a default value (null in our case) in the definition of the constructor. The member functions either get or set the values of the instance variables. Here is an example of how to create and use Fruit objects:
<?
Click Here For More    Introduction to classes of PHP

Sunday, 22 July 2012

HUMAN RESOURCE MANAGEMENT Ebook, presentation and lecture notes covering full semester syllabus


  • HUMAN RESOURCE FUNCTION
  • TRENDS IN HRM
  • LINE AND STAFF FUNCTIONS
  • JOB ANALYSIS
  • RECRUITMENT AND SELECTION PROCESS
  • BUILDING EMPLOYEE COMMITMENT
  • EMPLOYEE TESTING AND SELECTION
  • ORIENTATION & TRAINING
  • DEVELOPING MANAGERS
  • PERFORMANCE APPRAISAL
  • MANAGING CAREERS
  • ESTABLISHING PAY PLANS
  • PAY FOR PERFORMANCE AND FINANCIAL
  • INCENTIVES
  • BENEFIT AND SERVICES
  • INDUSTRIAL RELATION
  • COLLECTIVE BARGAINING
  • GRIEVANCES HANDLING
  • LABOUR WELFARE


  • Click Here     HUMAN RESOURCE MANAGEMENT Ebook, presentation and lecture notes covering full semester syllabus

    Saturday, 21 July 2012

    Manual on compressors


    Manual on comressors and compressed air systems


    Electrical Engineering Interview Questions


    What is thyristor?

    For an 100kw generator, only 50kw of load is connected. Will the generator generate only 50kw or 100kw. If it generate 100kw what happens to rest of the 50kw. What happens if we connect more than 100kw of load?

    Why the suply frequency in INDIA is 50HZ

    What is the power ratio between power in Star and Delta circuit?

    What is the difference between earth and neutral

    What is the difference between Earthing & grounding

    What is a u.p.s

    At what condition a synchronous motor acts as a synchronous condenser?

    How is a 100 MVA transformer cooled?

    What is the instantaneous value of voltage in a 3-phase balanced star connected circuit?

    What is the difference between regulator and stabiliser.

    Whats happens when we give DC to a induction motor?

    Describe How energy is stored in a inductor on electronic level

    How do we select a cable for a machine as per standards. Is there is any standard to select a cable as per voltage, or as per KVA and as per amps ratings?

    Is it possible for a feedback surge to travel over a wireless connection? Would the answer be different in a vacuum?
    .
    What is the voltage drop for 100kw motor if the length of the cable is 200m and what is the cable size.
    Regards & Thanks
    Baazigar

    Read more:   Electrical Engineering Interview Questions

    Power Electronics - IIT Kharagpur Lecture Notes Download

    Lecture Notes of Power Electronics from IIT Kharagpur.

    Full Course Covered!


    Click     Power Electronics - IIT Kharagpur Lecture Notes Download

    Basics of Circuit Breakers PDF Download - Siemens Step Course



    Welcome to another course in the STEP series, Siemens Technical Education Program, designed to prepare our distributors to sell Siemens Energy & Automation products more effectively. This course covers Basics of Load Centers and related products.


    Click  Basics of Circuit Breakers PDF Download - Siemens Step Course

    Electrical machines - EEE branch


    An electrical machine is the generic name for a device that converts mechanical energy to electrical energy, converts electrical energy to mechanical energy, or changes alternating current from one voltage level to a different voltage level.
    Electrical machines as employed in industry fall into three categories according to how they convert energy. Generators convert mechanical energy to electrical energy. Motors convert electrical energy to mechanical energy. Transformers change the voltage of alternating current.



    click here    Electrical machines - EEE branch

    Transmission line parameters and distribution... power system introduction

    tis is the pdf that covers only introduction of transmission line parameters and also cover basics of distributionAttachment 11165Attachment 11166Transmission%20Line%20Parameters.pdfDistribution.pdf


    Click Here   Transmission line parameters and distribution... power system introduction

    Computer graphics..notes

    .

    What is Computer Graphics? 
    Cornell University Program of Computer Graphics
    Cornell Seal 

    The term computer graphics includes almost everything on computers that is not text or sound. Today almost every computer can do some graphics, and people have even come to expect to control their computer through icons and pictures rather than just by typing.Here in our lab at the Program of Computer Graphics, we think of computer graphics as drawing pictures on computers, also called rendering. The pictures can be photographs, drawings, movies, or simulations -- pictures of things which do not yet exist and maybe could never exist. Or they may be pictures from places we cannot see directly, such as medical images from inside your body.
    We spend much of our time improving the way computer pictures can simulate real world scenes. We want images on computers to not just look more realistic, but also to BE more realistic in their colors, the way objects and rooms are lighted, and the way different materials appear. We call this work "realistic image synthesis", and the following series of pictures will show some of our techniques in stages from very simple pictures through very realistic ones.




      
    Click here  This is easy...and helpful...