Batra Computer Centre is An ISO certified 9001:2008 training Centre in Ambala.
We Provide PHP Training in Ambala. BATRA COMPUTER CENTRE provides best training in C, C++, S.E.O, Web Designing, Web Development and So many other courses are available.
3. Content
Introduction
MySQL
Dreamweaver
Usage, Speed Optimization, Resources
Who use PHP?
What does PHP code Look Like?
Operators, Comparison, Functions
Advantages
How PHP works?
About US
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
4. Introduction
What is PHP?
• PHP is a scripting language that was originally
designed for web development to produce dynamic
web pages.
• For this purpose, PHP code is embedded into HTML
• PHP was created by Rasmus Lerdrof in 1995.
• PHP originally stood for “Personal Home Page”.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
5. MYSQL
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
• MYSQL is currently the most popular open
source database server in existence
• On top of that, it is very commonly used in
conjunctions with PHP scripts to create powerful
and dynamic server-side applications.
6. Dreamweaver
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
• Macromedia Dreamweaver 8.0 is a powerful tool and
a vital upgrade for Web Designers, especially those
who create dynamic sites.
• Macromedia Dreamweaver 8.0 is a sophisticated
Web design app that best server professionals
incorporating multimedia elements and database-
driven content into their sites.
7. Usage
• PHP is a general-purpose scripting language that is
especially suites for server-side web development where
PHP is generally runs on web server.
• PHP code in a requested file is executed by the PHP
runtime, usually to create dynamic web page content.
• PHP is also used for command-line scripting and client-
side GUI applications.
• PHP can be deployed on most web servers, many
operating systems and platforms, and an be used with
many relational database management systems.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
8. Speed Optimization
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
• PHP scripts are stored as human-readable source code and
are compiled on-the-fly to an internal format that can be
executed by the PHP engine.
• Code optimization aim to reduce the runtime of the
compiled code by reducing its size and making other
changes that can reduce the execution time with the goal
of improving performance.
9. Resources
• PHP includes free and open source libraries.
• PHP is a fundamentally Internal-aware system.
• Many database servers, embedded SQL libraries such as
PostgreSQL, MySQL and SQLite, LDAP servers, and
others.
• PHP allows developers to write extensions in C to add
functionality to the PHP language.
• These can then be compiled into PP or loaded
dynamically at runtime.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
10. Who use PHP?
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
• Yahoo!
• Facebook
• 20+ million other domain names
11. What does PHP code Look Like?
• Structurally similar to C/C++
• Supports procedural and object oriented paradigms(to
some degree)
• All PHP statements ends with semi-colon(;)
• Each PHP script must be enclosed in the reserved PHP
tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
<?php
...
...
?>
14. Functions
• Functions MUST be defined before then can be
called
• Function headers are of the format
– Not that no return type is specified
• Unlike variables, function names are not case
sensitive (foo(…) == Foo(…) == FoO(..))
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
function functionName($arg_1, $arg_2, …, $arg_n)
15. Functions Example
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
16. Advantages of PHP
• Only Web Development
• Open Source
• There are good tools available
• Codes and solutions are easily available
• Fast installation and setup for development
• Lots and lots of knowledge and documentation
• Widely available
• Speed of development
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
17. How PHP Works?
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com
21. About Us
Batra Computer Centre is not too old, but the
glorious five years are the best with good response
from our students and clients.
The Centre offer Training and Coaching in various
computer software Courses. And the credit directly
goes to our teachers, because they are the one who
make the students satisfied with their experience. it’s
true that the experience of the person speaks about
his/her capability.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
BATRA COMPUTER CENTRE Email: info.jatinbatra@gmail.com