Advertisement
Guest User

PHP from Harijs Kursits

a guest
Jul 23rd, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.29 KB | None | 0 0
  1. Harijs Kursits [1:14 PM]
  2. >--------------------------------------------------------------------------
  3. >
  4. >Getting started
  5. >
  6. >--------------------------------------------------------------------------
  7. >
  8. >https://stackoverflow.com
  9. >https://www.php.net/manual/en/
  10. >https://learnxinyminutes.com/docs/php/
  11. >
  12. >PHP - Turn on error reporting
  13. >https://www.google.lv/search?q=php+turn+on+error+reporting
  14. >
  15. >PHP - Get logs
  16. >https://www.google.lv/search?q=php+get+logs
  17. (edited)
  18. >--------------------------------------------------------------------------
  19. >
  20. >Basics
  21. >
  22. >--------------------------------------------------------------------------
  23. >
  24. >*Variables & values*
  25. >
  26. >PHP - Variable scope
  27. >https://www.google.lv/search?q=php+variable+scope
  28. >
  29. >PHP - Global variables (Superglobals)
  30. >https://www.google.lv/search?q=php+global+variables
  31. >
  32. >PHP - Associative array vs. Numeric array
  33. >https://www.google.lv/search?q=php+associative+array+vs+numeric+array
  34. >
  35. >PHP - Null vs. False vs. 0
  36. >https://www.google.lv/search?q=php+null+vs+false+vs+0
  37. >
  38. >PHP - Type casting
  39. >https://www.google.lv/search?q=php+type+casting
  40. >
  41. >PHP - References
  42. >https://www.php.net/manual/en/language.references.php
  43. >
  44. >*Information output*
  45. >
  46. >PHP - Return vs. Echo
  47. >https://www.google.lv/search?q=php+return+vs+echo
  48. >
  49. >PHP - var_dump vs. var_export vs. print_r
  50. >https://www.google.lv/search?q=php+var_dump+vs+var_export+vs+print_r
  51. >
  52. >*Error handling*
  53. > PHP - Exceptions
  54. >https://www.w3schools.com/php/php_exception.asp
  55. >http://php.net/manual/en/spl.exceptions.php
  56. >
  57. >*Control structures*
  58. >
  59. >PHP - If/Else vs. Elseif
  60. >https://www.google.lv/search?q=php+if+else+vs+elseif
  61. >
  62. >PHP - If/Else vs. Switch
  63. >https://www.google.lv/search?q=php+if+else+vs+switch
  64. >
  65. >PHP - Ternary operators
  66. >https://www.google.lv/search?q=php+ternary+operators
  67. >
  68. >*Loops*
  69. >
  70. >PHP - While vs. For vs. Foreach vs. Do While
  71. >https://www.google.lv/search?q=php+while+vs+for+vs+foreach+vs+do
  72. >
  73. >PHP - array_map vs. array_walk vs. array_filter
  74. >https://www.google.lv/search?q=php+array_map+vs+array_walk+vs+array_filter
  75. >
  76. >*Built-in’s and utilities*
  77. >
  78. > PHP - Built-in functions
  79. >https://www.google.lv/search?q=php+built-in+functions
  80. >
  81. > PHP - Filters
  82. >https://www.php.net/manual/en/book.filter.php
  83. >
  84. >--------------------------------------------------------------------------
  85. >
  86. >Objects & classes
  87. >
  88. >--------------------------------------------------------------------------
  89. >
  90. >PHP - Array vs. Object
  91. >https://www.google.lv/search?q=php+array+vs+object
  92. >
  93. >PHP - Method vs. Function
  94. >https://www.google.lv/search?q=php+method+vs+function
  95. >
  96. >PHP - Class vs. Abstract class vs. Interface
  97. >https://www.google.lv/search?q=php+class+vs+abstract+class+vs+interface
  98. >
  99. >PHP - Public vs. Private vs. Protected
  100. >https://www.google.lv/search?q=php+public+vs+private+vs+protected
  101. >
  102. >PHP - Static vs. Non-static methods
  103. >https://www.google.lv/search?q=php+static+vs+non+static
  104. >
  105. >PHP - Class name resolution via ::class
  106. >https://www.google.lv/search?q=php+class+name+resulution+via+class
  107. >
  108. >PHP - Type hinting
  109. >https://www.google.lv/search?q=php+type+hinting
  110. >
  111. >PHP - Return type declaration
  112. >https://www.google.lv/search?q=php+return+type+declaration
  113. >
  114. >PHP - Magic methods
  115. >https://php.net/manual/en/language.oop5.magic.php
  116. >
  117. >PHP - __construct vs. __destruct
  118. >https://www.google.lv/search?q=php+__construct+vs+__destruct
  119. >
  120. >*Object Oriented Programming*
  121. >
  122. >PHP - Basic dependency-injection and S.O.L.I.D principles
  123. >https://phptherightway.com/#basic_concept
  124. >
  125. > PHP - PSR Code standards
  126. >https://www.php-fig.org/
  127. >
  128. >--------------------------------------------------------------------------
  129. >
  130. >PHPTHERIGHTWAY.COM
  131. >https://phptherightway.com/
  132. >
  133. >--------------------------------------------------------------------------
  134. >--------------------------------------------------------------------------
  135. >
  136. > Application architecture
  137. >https://en.wikipedia.org/wiki/List_of_software_development_philosophies
  138. >
  139. >--------------------------------------------------------------------------
  140. >https://en.wikipedia.org/wiki/Law_of_Demeter
  141. >https://en.wikipedia.org/wiki/Principle_of_least_astonishment
  142. >https://en.wikipedia.org/wiki/Domain-driven_design
  143. >
  144. >*S.O.L.I.D*
  145. >
  146. > - Single responsibility principle
  147. > - Open/Closed principle
  148. > - Liskov substitution principle
  149. > - Interface segregation principle
  150. > - Dependency inversion principle
  151. >https://phptherightway.com/#dependency_injection
  152. >https://github.com/wataridori/solid-php-example
  153. >
  154. >*Design patterns*
  155. >
  156. >https://designpatternsphp.readthedocs.io/en/latest/
  157. >
  158. >*Books*
  159. >
  160. > Gang of four - “Design Patterns: Elements of Reusable Object-Oriented Software”
  161. >https://www.amazon.com/dp/0201633612/
  162. >
  163. > Alan Shalloway - “Design Patterns Explained: A New Perspective on Object-Oriented Design”
  164. >https://www.amazon.com/dp/0201715945
  165. >
  166. > David Powers - “PHP Object-Oriented Solutions”
  167. >https://www.amazon.com/dp/1430210117
  168. >
  169. > Eric Evans - ”Domain-Driven Design: Tackling Complexity in the Heart of Software”
  170. >https://www.amazon.com/dp/0321125215
  171. >
  172. > Martin Fowler - “Patterns of Enterprise Application Architecture:”
  173. >https://www.amazon.com/dp/0321125215
  174. >
  175. > Bill Karwin - “SQL Antipatterns: Avoiding the Pitfalls of Database Programming”
  176. >https://www.amazon.com/dp/1934356557/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement