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=" | ||
+ | ====== PHP ====== | ||
+ | <data programminglanguage> | ||
+ | Full Name: Hypertext Preprocessor | ||
+ | Short Name: PHP | ||
+ | Description: | ||
+ | Company: Unkown | ||
+ | Web: Yes | ||
+ | Mobile: No | ||
+ | Enterprise: No | ||
+ | Embedded : No | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <panel title=' | ||
+ | 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. | ||
+ | </ | ||
+ | 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. | ||
+ | </ | ||
+ | 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. | ||
+ | </ | ||
+ | Some popular PHP frameworks and libraries for web development include Laravel, Symfony, CodeIgniter, | ||
+ | </ | ||
+ | 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. | ||
+ | </ | ||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{wp> | ||
+ | <callout type="" | ||
+ | * https:// | ||
+ | |||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | ===== Hello World ===== | ||
+ | |||
+ | <sxh php> | ||
+ | <?php | ||
+ | echo ' | ||
+ | ?> | ||
+ | </ | ||
+ | <WRAP column right>< | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | === ## ToDo ## === | ||
+ | * FIXME | ||
+ | * Variables | ||
+ | * Control structures | ||
+ | * Arrays | ||
+ | * Functions | ||
+ | * Object-oriented programming (OOP) | ||
+ | * Classes | ||
+ | * Inheritance | ||
+ | * Polymorphism | ||
+ | * Interfaces | ||
+ | * Abstract classes | ||
+ | * Namespaces | ||
+ | * Error handling | ||
+ | * Exception handling | ||
+ | * Input/ | ||
+ | * 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: | ||
+ | |||
+ | {{tag> |