dev:php

Differences

This shows you the differences between two versions of the page.


Previous revision
dev:php [2023/05/01 17:27] (current) – [Hello World] Henrik Yllemo
Line 1: Line 1:
 +<button type="primary" size="xs" icon="glyphicon glyphicon-bookmark">[[programming_lagugages| Programming Language]]</button> 
 +====== PHP ======
  
 +<data programminglanguage>
 +Full Name: Hypertext Preprocessor
 +Short Name: PHP
 +Description: PHP is a server-side scripting language designed primarily for web development
 +Company: Unkown
 +Web: Yes
 +Mobile: No
 +Enterprise: No
 +Embedded : No
 +</data>
 +
 +<accordion>
 +<panel title='What is PHP?'>
 +PHP is a server-side scripting language that is commonly used for web development. It is open-source and free to use, and can be embedded in HTML code to create dynamic web pages.
 +</panel><panel title='What are some features of PHP?'>
 +PHP includes features such as dynamic typing, automatic memory management, and support for object-oriented programming. It also includes built-in functions for a wide range of tasks, including file handling, database access, and regular expressions.
 +</panel><panel title='How is PHP used in web development?'>
 +PHP is commonly used in web development for server-side scripting, creating dynamic web pages, and interacting with databases and other web services. It can be used with a wide range of web frameworks, including Laravel, Symfony, and CodeIgniter.
 +</panel><panel title='What are some popular PHP frameworks and libraries?'>
 +Some popular PHP frameworks and libraries for web development include Laravel, Symfony, CodeIgniter, and CakePHP.
 +</panel><panel title='Is PHP still relevant today?'>
 +Yes, PHP is still widely used today, particularly for web development. It is estimated that over 75% of all websites on the internet use PHP in some capacity.
 +</panel><panel title='What is the difference between PHP and other server-side scripting languages such as ASP.NET or JSP?'>
 +PHP, ASP.NET, and JSP are all server-side scripting languages that are commonly used for web development. However, they have different syntax and features. PHP is open-source and can run on a wide range of web servers, while ASP.NET and JSP are proprietary and are typically used with specific web servers such as IIS or Tomcat.
 +</panel></accordion>
 +
 +
 +{{wp>PHP}}
 +<callout type="" title="GitHub Topics" icon="fa fa-github">
 +  * https://github.com/topics/php
 +
 +PHP is a popular general-purpose scripting language that's particularly suited for server-side web development. PHP runtime is generally executed by webpage content, and can be added to HTML and HTML5 webpages. PHP was originally developed in 1994 by Rasmus Lerdorf.
 +</callout> 
 +
 +
 +<jumbotron>
 +===== Hello World =====
 +
 +<sxh php>
 +<?php
 +    echo 'Hello, world!';
 +?>
 +</sxh>
 +<WRAP column right><wrap lo>Source: [[https://en.wikibooks.org/wiki/Computer_Programming/Hello_world|Wikibooks]]</wrap></WRAP>
 +</jumbotron>
 + 
 +
 +
 +=== ## ToDo ## ===
 +  * FIXME
 +  * Variables
 +  * Control structures
 +  * Arrays
 +  * Functions
 +  * Object-oriented programming (OOP)
 +  * Classes
 +  * Inheritance
 +  * Polymorphism
 +  * Interfaces
 +  * Abstract classes
 +  * Namespaces
 +  * Error handling
 +  * Exception handling
 +  * Input/output operations
 +  * File handling
 +  * Regular expressions
 +  * Sessions and cookies
 +  * Forms handling
 +  * Database connectivity
 +  * MySQL
 +  * PDO (PHP Data Objects)
 +  * PHP frameworks (e.g., Laravel, Symfony)
 +  * Content Management Systems (e.g., WordPress, Drupal)
 +
 +
 +
 +See also: [[dev:programming_lagugages]]
 +
 +{{tag>programminglanguage dev-web}}