PHP intro

Māris Ozoliņš
Mind Map by Māris Ozoliņš, updated more than 1 year ago
Māris Ozoliņš
Created by Māris Ozoliņš over 6 years ago
102
0

Description

Pārskats par Udemy kursu 'Introduction to PHP Programming Language'

Resource summary

PHP intro
  1. Sintakse

    Annotations:

    • http://www.w3schools.com/php/php_syntax.asp
    1. Pēdiņas
      1. ( ' ... ' ) Rakstītais netiek interpretēts (kā teksts)
        1. ( " ..." ) Ietvertie operatori darbojas
        2. Komentāri
          1. /* ... */ Bloks - no ... līdz
            1. // Rinda - lidz r. beigām
            2. Teksta dalījums
              1. ( ; ) rindas beigas
                1. Funkcijas bloks { ... }
              2. Variabļi

                Annotations:

                • http://www.w3schools.com/php/php_variables.asp
                1. = "Teksts pēdiņās", skaitlis
                  1. $_variablis, $veelViens
                    1. Case-sensitive, A-z, 0-9, _
                      1. local, global, static
                        1. local global static
                        2. Operatori
                          1. Arithmetic Compraison String Assignment Combination

                            Annotations:

                            • http://www.w3schools.com/php/php_operators.asp
                            1. assignment op. " = "
                              1. string concatenation op. " . "
                                1. vienāds " == ", nav vienāds " != ", identisks " === " ( vērtība un tips )
                                  1. x += y ( x = x + y ) ; x -= y ( x = x - y )
                                    1. ++$x ( $x +1 ) --$x ($x - 1 )
                                    2. Funkcijas > 1000

                                      Annotations:

                                      • http://www.w3schools.com/php/php_functions.asp
                                      • Besides the built-in PHP functions, we can create our own functions. A function is a block of statements that can be used repeatedly in a program. A function will not execute immediately when a page loads. A function will be executed by a call to the function.
                                      1. NOT case-sensitive
                                        1. argument ~= variable
                                          1. function familyName($fname)
                                            1. function MyFunction($myArgs)
                                              1. function MyFunc($arg1, $arg2, $arg3 = "Default value")
                                              2. Masīvi

                                                Annotations:

                                                • http://www.w3schools.com/php/php_arrays.asp
                                                • PHP 5 Array Functions  http://www.w3schools.com/php/php_ref_array.asp
                                                1. Indexed - with a numeric index
                                                  1. Associative - with named keys
                                                    1. Multidimensional containing one or more arrays
                                                    2. Cikli
                                                      1. while Loops

                                                        Annotations:

                                                        • http://www.w3schools.com/php/php_looping.asp
                                                        1. for Loops

                                                          Annotations:

                                                          • http://www.w3schools.com/php/php_looping_for.asp
                                                        2. Nosacījumu vadība: if..else, switch

                                                          Annotations:

                                                          • http://www.w3schools.com/php/php_if_else.asp http://www.w3schools.com/php/php_switch.asp
                                                          1. Konstantes

                                                            Annotations:

                                                            • http://www.w3schools.com/php/php_constants.asp
                                                            1. define(name, value, case-insensitive)
                                                            2. String Functions
                                                              1. strlen, str_word_count
                                                              2. External PHP

                                                                Annotations:

                                                                • include and require http://www.w3schools.com/php/php_includes.asp
                                                                1. include "<filename>" include_once "<fn>" require "<fn>" require_once "<fn>"
                                                                Show full summary Hide full summary

                                                                Similar

                                                                Test I. Introduction to web technologies
                                                                Angel Martínez Rodriguez
                                                                Front-End Web Development
                                                                Chanthy Ngin
                                                                OpenSource Programming
                                                                Faheem Ahmed
                                                                Evaluación de Programación (MYSQL y PHP)
                                                                Mitchel Romero C
                                                                Examen Html 5
                                                                Yuszeff Salazar Morales
                                                                JavaScript DOM API - Funções Basicas - Interactive Web Pages
                                                                Victor Bini
                                                                8º - Internet and Ethical use of Technology
                                                                Julian Perez
                                                                Programming
                                                                Herbert Fortes
                                                                HTML + CSS
                                                                Justina Sadikova
                                                                Gestor de Imagen Web / Introducción
                                                                Rodrigo Charnichart
                                                                INTERNET
                                                                FIDEL ANTONIO BE