Académique Documents
Professionnel Documents
Culture Documents
BECHELOR OF TECHNOLOGY
(Computer Science and Engineering)
SUBMITTED BY
VARUN MOHAL
1348266
SEP 2015
Address :( house no.252, sec-3c
Block-c,mgg)
Email: mohalvarun@gmail.com
Under the Guidance of
Dr. Raman Chadha Professor and Head (CSE)
CERTIFICATE
I hereby certify that the work which is being presented in the project report entitled
EDUCARE by . in partial fulfillment of requirements for the award of
degree of B.Tech. Computer Science & Engineering submitted in the Department of
Computer Science and Engineering at CGC TECHNICAL CAMPUS, Jhanjeri, Mohali
under PUNJAB TECHNICAL UNIVERSITY, JALANDHAR is an authentic record of
my own work under the supervision of Dr. RAMAN CHADHA.
DATE:
SignatureoftheSUPVISOR
DR. RAMAN CHADHA
CGC Technical Campus, Jhanjeri
DATE:
ACKNOWLEDGEMENT
Working on this project is a great experience and for this I owe sincere thanks to my
faculty members. It is a great opportunity to work under guidance of Dr. Raman Chadha.
It would have not been possible to carry out the work with such ease without his immense
help and motivation. I consider my privilege to express my gratitude, respect and thanks to
all of them who are behind me and who guide me in choosing this project. I express sincere
gratitude to our HOD for this everlasting support towards the students for providing us this
opportunity and his support.
Varun Mohal
1348266
To assist web development team in the design, coding, and testing of technical solutions.
Understand project and development plans and clearly articulate roles, project goals, and
timelines.
To take part in the initial planning of a Web site, meeting with the client to discuss ideas for
the layout and organization of the site, the types of colors or images to use (photos, illustrations,
videos, etc.), and other matters concerning overall graphic design .
To ensure that above job is successfully accomplished fundamental training was provided in
various technologies.
The job was divided into three modules:
Module1
In this module HTML and PHP were studied. HTML is a prerequisite for learning PHP
This module aims to provide a framework for development of interactive web pages.
Module2
SQL was studied to achieve proficiency in relational database concepts. So that data can be
stored or retrieved from the database (MYSQL).
Module3
Introduction to JavaScript
Module4
Introduction to xampp server.
MODULE 1:
IV.1.1
HTML
HTML, which stands for Hyper Text Markup Language, is the predominant markup
language for web pages. It provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists etc as well as for links, quotes,
and other items. It allows images and objects to be embedded and can be used to create
interactive forms.
It is written in the form of HTML elements consisting of "tags" surrounded by angle
brackets within the web page content. It can include or can load scripts in languages such as
JavaScript which affect the behavior of HTML processors like Web browsers; and Cascading
Style Sheets (CSS) to define the appearance and layout of text and other material.
The W3C, maintainer of both HTML and CSS standards, encourages the use of CSS over
explicit presentational markup. Hyper Text Markup Language (HTML) is the encoding scheme
used to create and format a web documents.
IV.1.2
PHP
PHP: Hypertext Preprocessor, is a widely used, general-purpose scripting language that was
originally designed for web development, to produce dynamic web pages. It can be embedded
into HTML and generally runs on a web server, which needs to be configured to process PHP
code and create web page content from it. It can be deployed on most web servers and on almost
every operating system and platform free of charge. PHP is installed on over 20 million websites
and 1 million web servers.
PHP was originally created by RasmusLerdorf in 1995 and has been in continuous
development ever since. The main implementation of PHP is now produced by The PHP Group
and serves as the de facto standard for PHP as there is no formal specification.PHP is free
software released under the PHP License, which is incompatible with the GNU General Public
License (GPL) because of restrictions on the use of the term PHP.
PHP has evolved to include a command line interface capability and can also be used in
standalonegraphical applications.
One of the strongest and most significant features in PHP is its support for a wide range
of databases. Writing a database-enabled web page is incredibly simple.
The following databases are currently supported:
MSQL
DIRECT MS-SQL
MYSQL
ODBC
USAGE
PHP is a general-purpose scripting language that is especially suited for web
development. PHP generally runs on a web server. Any PHP code in a requested file is executed
by the PHP runtime, usually to create dynamic web page content. It can also be used for
command-line scripting and client-sideGUI applications. PHP can be deployed on most web
servers, many operating systems and platforms, and can be used with many relational database
management systems. It is available free of charge, and the PHP Group provides the complete
source code for users to build, customize and extend for their own use.
PHP primarily acts as a filter, taking input from a file or stream containing text and/or
PHP instructions and outputs another stream of data; most commonly the output will be HTML.
Since PHP 4, the PHP parser compiles input to produce byte code for processing by the Zend
Engine, giving improved performance over its interpreter predecessor.
Originally designed to create dynamic web pages, PHP now focuses mainly on serverside scripting, and it is similar to other server-side scripting languages that provide dynamic
content from a web server to a client, such as Microsoft's Active Server Pages, Sun
Microsystems' Java Server Pages, and mod Perl. PHP has also attracted the development of many
frameworks that provide building blocks and a design structure to promote rapid application
development (RAD).
Syntax:
PHP only parses code within its delimiters. Anything outside its delimiters is sent directly
to the output and is not processed by PHP; however, non-PHP text is still subject to control
structures described within PHP code. The most common delimiters are:
<? php
<script language="php">
shortened forms <? Or <?= (which is used to echo back a string or variable) and ?> as well as
ASP-style short forms <% or <%= and %>.
While short delimiters are used, they make script files less portable as their purpose can
be disabled in the PHP configuration, and so they are discouraged. The purpose of all these
delimiters is to separate PHP code from non-PHP code, including HTML.
The first form of delimiters, <?php and ?>, in XHTML and other XML documents,
creates correctly formed XML 'processing instructions'. This means that the resulting mixture of
PHP code and other markup in the server-side file is well-formed XML.
Variables are prefixed with a dollar symbol and a type does not need to be specified in
advance. Unlike function and class names, variable names are case sensitive. Both double-quoted
("") and heredoc strings allow the ability to embed a variable's value into the string. PHP treats
newlines as whitespace in the manner of a free-form language (except when inside string
quotes), and statements are terminated by a semicolon.
PHP has three types of comment syntax: /* */ marks block and inline comments; // as
well as # are used for one-line comments. The echo statement is one of several facilities PHP
provides to output text (e.g. to a web browser).
In terms of keywords and language syntax, PHP is similar to most high level languages
that follow the C style syntax.If conditions, for and while loops, and function returns are
similar in syntax to languages such as C, C++, Java and Perl.
Data types
PHP stores whole numbers in a platform-dependent range. This range is typically that of
32-bit signedintegers. Unsigned integers are converted to signed values in certain situations; this
behavior is different from other programming languages.
Integer variables can be assigned using decimal (positive and negative), octal, and
hexadecimal notations. Floating point numbers are also stored in a platform-specific range. They
can be specified using floating point notation, or two forms of scientific notation.
PHP has a native Boolean type that is similar to the native Boolean types in Java and C+
+. Using the Boolean type conversion rules, non-zero values are interpreted as true and zero as
false, as in Perl and C++.The null data type represents a variable that has no value. The only
value in the null data type is NULL.
Variables of the "resource" type represent references to resources from external sources.
These are typically created by functions from a particular extension, and can only be processed
by functions from the same extension; examples include file, image, and database resources.
Arrays can contain elements of any type that PHP can handle, including resources,
objects, and even other arrays. Order is preserved in lists of values and in hashes with both keys
and values, and the two can be intermingled.
PHP also supports strings, which can be used with single quotes, double quotes, or
heredoc syntax.
IV.2 MODULE 2:
IV.2.1
DATABASE
Its scope includes data query and update, schema creation and modification, and data
access control.
IV.2.2
QUERIES
The most common operation in SQL is the query, which is performed with the declarative
statement. SELECT retrieves data from one or more tables, or expressions. Standard
SELECT
SELECT
Data control
The Data Control Language (DCL) authorizes users and groups of users to access and
manipulate data.
Its two main statements are:
IV.3
MODULE 3:
IV.3.1
JAVASCRIPT
Structured
loops, switch statements, etc.). One partial exception is scoping: C-style block-
level scoping is not supported (instead, JavaScript has function-level scoping). JavaScript
1.7, however, supports block-level scoping with the let keyword. Like C, JavaScript
makes a distinction between expressions and statements. One syntactic difference from C
is automatic semicolon insertion, in which the semicolons that terminate statements can
be omitted.
Dynamic
As in most scripting languages, types are associated with values, not variables.
For example, a variable x could be bound to a number, and then later rebound to a string.
JavaScript supports various ways to test the type of an object, including duck typing.
Functional
First-class functions:
Functions are first-class; they are objects themselves. As such, they have properties and
can be passed around and interacted with like any other object.
Inner functions and closures:
Inner functions (functions defined within other functions) are created each time the outer
function is invoked, and variables of the outer functions for that invocation continue to
exist as long as the inner functions still exist, even after that invocation is finished (e.g. if
the inner function was returned, it still has access to the outer function's variables) this
is the mechanism behind closures within JavaScript.
Window
MySQL
PHP
Window, Apache, MySQL, and PHP each component plays a specific and important role:
The Wamp web server intercepts HTTP requests and either serves them directly or passes
them on to the PHP interpreter for execution.
The PHP interpreter parses and executes PHP code, and returns the results to the web
server.
The MySQL RDBMS serves as the data storage engine, accepting connections from the
PHP layer and inserting, modifying, or retrieving data.
Joe pops open his web browser at home and types in the URL for his online Webmail client.
After looking up the domain, Joes browser (the client) sends an HTTP request to the
corresponding server IP address.
The Apache web server handling HTTP requests for the domain receives the request and
notes that the URI ends with a .php suffix. Because the server is programmed to
automatically redirect all such requests to the PHP layer, it simply invokes the PHP
interpreter and passes it the contents of the named file.
The PHP interpreter parses the file, executing the code in the special PHP tags. If the code
includes database queries, the PHP interpreter opens a client connection to the MySQL
RDBMS and executes them. Once the script interpreter has completed executing the script, it
returns the result to the browser, cleans up after itself, and goes back into hibernation.
The results returned by the interpreter are transmitted to Joes browser by the Apache server.
LIVE PROJECT :
Project overview:
Future successor is a project in which many information seekers can
Make contact with various companies and make their future in right direction with
their abilities .
That why this project contain many fields like:
Home page
About us
Signup
Submit resume
Frequently ask questions
Contact us
career
Glossary
Term
Administrator
Definition
A login id representing a user with user administration
privileges to the software.
xampp Server
Cascading Style Sheet
Database
Hyper Text Markup
Language
JavaScript
Hypertext Preprocessor
Structured Query Language
User
name of author.
Abbreviations
CSS:
HTML:
JS:
JavaScript
PHP:
Preprocessor Hypertext
SQL:
Technologies
(20pt)
Introduction
This page will provides the different options to the user such as
myaccount,change password,ppt,ppf and logout.
TO CHANGE THE PASSWORD:
The user can simply click the change password option,then the
page will appears and user can change the password.The view is:
User panel:In this user can acces the site according to its need.In
this the user can see the notes of html,css,javascript and php
through the gallery option.
Admin panel:In admin panel ,the complete control of site is done
such as manage user,add user ,add ppt,manage ppt,add
pdf,manage pdf,delete user,delete ppt,delete pdf,upload
ppt,upload pdf etc.
EDUCARE IS :
Wankyu Choi ,Allan Kent ,Chris Lea, Ganesh Prasad ,Chris Ullman .Beginning
PHP5.Indiana :Wiley publishing,2004
<