Introduuction about PHP...
PHP is a server side scripting language commonly used for web applications which is created by Rasmus Lerdorf in 1994. Many famous applications like facebook, Yahoo, Flickr etc developed in PHP.PHP has many frameworks like laravel, codeingniter, Cakephp etc and CMS like wordpress, joomla etc.
If we create any kind of software of website below rules is very useful.
If we create any kind of software of website below rules is very useful.
Software Development Life Cycle
- Requirement Gathering
- Analysis & SRS(Software Requirement Specification)
- Designing.
- Implementation.
- Testing.
- Maintenance.
About PHP
PHP (recursive acronym for PHP : Hypertext Preprocessor ) is widely used open source general-purpose scripting language is especially for web development and can be embedded into HTML.
PHP (recursive acronym for PHP : Hypertext Preprocessor ) is widely used open source general-purpose scripting language is especially for web development and can be embedded into HTML.
Basic OOPS Concept
- Class : class is a group of data members & member function.
- Object :Access to data & member function can be done using object object only
Syntax :
class ClassName extends AnotherClass
{
function __construct(argument)
{
# code...
}
}
Example :
<?php
//Created class
class abc
{
public function getData(){
echo "Hello word";
}
}
//Create object of a class
$obj = new abc();
//Call class function
$obj->getData();
?>
Output :
Hello word
Comments
Post a Comment