my saminar on php

24
Sobhasaria Engineering College, Sikar Practical Training Report Project : Job Portal Website Technology : PHP Taken At : Masters Infosoft Pvt. Ltd. , Jaipur Name : Arjun lal Kumawat Branch : CS Roll No. : 08ESOCS021

Upload: arjun-kumawat

Post on 10-Dec-2014

375 views

Category:

Documents


1 download

DESCRIPTION

seminar report and project discription

TRANSCRIPT

Page 1: My Saminar On Php

Sobhasaria Engineering College, Sikar

Practical Training Report

Project : Job Portal WebsiteTechnology : PHPTaken At : Masters Infosoft Pvt. Ltd. , Jaipur

Name : Arjun lal KumawatBranch : CSRoll No. : 08ESOCS021

Page 2: My Saminar On Php

PHP (Hypertext Preprocessor)Simple and powerful SSSLDynamic web pages.PHP scripts are executed on the serverPHP files have a file extension of ".php", ".php3",

or ".phtml".

PHP Introduction

Page 3: My Saminar On Php

PHP runs on different platforms (Windows, Linux, Unix, etc.)

PHP is compatible with almost all servers used today (Apache, IIS, etc.)

PHP is FREE to download from the official PHP resource: www.php.net

Can be placed any where within a document.PHP is easy to learn and runs efficiently on the

server side

Why PHP

Page 4: My Saminar On Php

Server Side ScriptingCan be used from a command line interfaceEspecially suited for web developmentCan be embedded into HTMLRuns on a web serverCan be deployed on most web serversSupports almost every operating system and

platform free of charge.

PHP Features

Page 5: My Saminar On Php

<?php echo ”HELLO PHP”; ?>OR<? echo “HELLO PHP”

?>

Basic PHP program structure

Page 6: My Saminar On Php

How PHP works?

PHP File

HTMl mode

(scanning continues

untill <?php is

encountered)

Php mode

(when <?php is

encountered and

continues untill php?>

is encountere

d)

Web Browser

SERVER

OUTPUT

Page 7: My Saminar On Php

PHP variables must begin with a “$” signCase-sensitive ($Foo != $foo != $fOo)Global and locally-scoped variables

Global variables can be used anywhereLocal variables restricted to a function or class

Certain variable names reserved by PHPForm variables ($_POST, $_GET)Server variables ($_SERVER)Etc.

Variables in PHP

Page 8: My Saminar On Php

Function headers are of the format

Note that no return type is specifiedUnlike variables, function names are not case

sensitive (foo(…) == Foo(…) == FoO(…))

Functions

function functionName($arg_1, $arg_2, …, $arg_n)

Page 9: My Saminar On Php

Sessions store their identifier in a cookie in the client’s browser Every page that uses session data must be proceeded by the

session_start() function Session variables are then set and retrieved by accessing the

global $_SESSION[]

Ex :-

<?php session_start(); if (!$_SESSION["count"]) $_SESSION["count"] = 0; if ($_GET["count"] == "yes") $_SESSION["count"] = $_SESSION["count"] + 1; echo "<h1>".$_SESSION["count"]."</h1>";?>

PHP Sessions

Page 10: My Saminar On Php

MySQL is the most popular open source Database server.

MySQL is developed by SUN Microsystems.MySQL is a Database and defines structure for

storing information.MySQL can retrieve data from Database.MySQL can Insert, delete & update records in

a database.

MYSQL (Database server)

Page 11: My Saminar On Php

In PHP, connection is established using the mysql_connect() function.

Syntax mysql_connect(servername,username,password); Ex :- <?php $con = mysql_connect("localhost",“root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?>

Connecting To MySQL

Page 12: My Saminar On Php

• The connection is closed as soon as the script ends. To close the connection use the mysql_close() function.

Eg. <?php $con = mysql_connect("localhost",“root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code mysql_close($con); ?>

Closing A Connection

Page 13: My Saminar On Php

Introduction To My Project

JOB PORTAL WEBSITE PROJECT

Page 14: My Saminar On Php

Objective & ScopeProblem DefinitionSystem Analysis & Design Hardware and Software Data Flow DiagramTESTING

JOB PORTAL WEBSITE PROJECT

Page 15: My Saminar On Php

Objective The purpose of designing the online job portal

is to give the job seekers a platform for finding a right and a satisfactory job according to their qualification. It also connects the job seekers with the major agencies

Scope

The scope of the online job portal includes The Online job Portal System that is to be developed provides the members with jobs information, online applying for jobs and many other facilities. The basic scope of the project is given as under

Job Seekers Area Agency's Area Administrator's panel

Objective & Scope

Page 16: My Saminar On Php

An Online Job Portal where the job seekers can register themselves at the website and search jobs which are suitable for them where as the employers register with the website and upload jobs which are vacant at their company.

Viewing available jobs, or applying for the job at the agency can be done for which job seekers has to go to the agency and check the available jobs at the agency. Job seekers check the list of jobs available and apply the job. Then the agency will show available jobs for the job seeker for his qualifications and then updates the jobs database

Problem Definition

Page 17: My Saminar On Php

System development life cycle

The System Development Life Cycle framework provides system designers and developers to follow a sequence of activities. It consists of a set of steps or phases in which each phase of the SDLC uses the results of the previous one. A Systems Development Life Cycle (SDLC) adheres to important phases that are essential for developers, such as planning, analysis, design, and implementation, and are explained in the section below. A number of system development life cycle (SDLC) models have been created: waterfall, fountain and spiral build and fix, rapid prototyping, incremental, and synchronize and stabilize. The oldest of these, and the best known, is the waterfall model: a sequence of stages in which the output of each stage becomes the input for the next.

System Analysis

Page 18: My Saminar On Php

System Development Life Cycle

Page 19: My Saminar On Php

Software Requirements Client Side:

Web Browser, Operating System (any) Server Side:

Apache Tomcat 6.0 or later IDE(Eclipse or Netbean)Database Server(MySql, Oracle)

Technologies: PHP XAMPP NetBean

Hardware & Software

Page 20: My Saminar On Php

Hardware Requirements

 Client Side

RAM : 512 MBHard Disk:-40 GBProcessor: -

Pentium IV or later

Server SideRAM : 2GBHard Disk: - 80

GB(Excluding Data Size)

Processor: - Pentium IV or later

Page 21: My Saminar On Php

The DFD takes an input process output view of a system. That

is data objects flow into the software is transformed by

processing elements, and resultant data injects flow out of the

software. The purpose of the DFD is to provide a semantic

bridge between users and semantic developers.

Similarly database design depicts the various tables that are

created according to the system to be developed. Theses tables

are collection of intenerated data organized in tabular form.

Data Flow Diagram(DFD)

Page 22: My Saminar On Php

User

New User

Login

Register

Portal

Employer

Recruitme

nt

JobseekerDetails

EmployerDetails

Profile Details

Recruitment Details

Page 23: My Saminar On Php

Before actually implementing the new system into operations, a test run of tile system is done removing all the bugs, if any. It is all important phase of a successful system. After codifying the whole programs of the system, a test plan should be developed and run on a given set of test data. The output of tile test run should match the expected results. Unit test: When tile programs have been coded and compiled and brought to working conditions, they must be individually tested with the prepared test data. Any undesirable happening must be noted and debugged (error connections).

Software Testing

Page 24: My Saminar On Php

THANK YOU