[PHP] PHP basic
페이지 정보
작성자 sbLAB 댓글 0건 조회 4,330회 작성일 22-12-26 19:15본문
Full PHP 8 Tutorial
https://github.com/ggelashvili/learnphptherightway-outline
https://www.youtube.com/watch?v=sVbEyFZKgqk&list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
array option append
PHP __invoke()
https://www.php.net/manual/en/language.oop5.magic.php#object.invoke
https://silnex.github.io/blog/php-invoke-method/
PHP Magic Methods
https://velog.io/@hyeonseop/PHP-OOP-4.-%EB%A7%A4%EC%A7%81-%EB%A9%94%EC%84%9C%EB%93%9C-Magic-Methods
PHP DI
https://www.slimframework.com/docs/v4/concepts/di.html (Slim4)
https://akrabat.com/dependency-injection-in-slim-4/
http://sebom.com/gb/bbs/board.php?bo_table=gallery&wr_id=67
PDO Fetch Modes
https://phpdelusions.net/pdo/fetch_modes#FETCH_OBJ
[PHP] 클로저(Closure)
https://spiderwebcoding.tistory.com/11
https://m.blog.naver.com/maestrois/221600444469
callable in PHP - (클래스,메서드, 함수)를 파라미터 처럼 사용가능하게 함. (Callable은 익명, 일반 function 모두 사용가능)
https://stackoverflow.com/questions/29730720/type-hinting-difference-between-closure-and-callable
라우팅에 자주사용됨.
function post($pattern, callable $handler) {
$this->routes['post'][$pattern] = $handler;
return $this;
}
https://stackoverflow.com/questions/54166666/what-does-the-keyword-callable-do-in-php
Http Method(GET, POST, PUT, DELETE)
https://velog.io/@yh20studio/CS-Http-Method-%EB%9E%80-GET-POST-PUT-DELETE
GET |
POST |
PUT |
DELETE |
SELECT |
INSERT |
UPDATE |
DELETE |
/user/1 |
/user |
/user/1 |
/user/1 |
URL |
body : {date : "example"} Content-Type : "application/json" |
body : {date : "update example"} Content-Type : "application/json" |
URL |
PDO
https://inpa.tistory.com/entry/PHP-%F0%9F%93%9A-DB-%EB%8B%A4%EB%A3%A8%EA%B8%B0-MySQL-PDO
PHP 3분 핵심 요약집
https://wikidocs.net/book/5793
네임스페이스 - autoload
55 프로젝트
[brus 폴더생성 후 그안에 Sample.php] = D:/55/brus/Sample.php
[루트 폴더에 autoload.php] = D:/55/autoload.php
[Result]
http://localhost/55/autoload.php
my name is brus. and my age is 10 .
my name is brus. and my age is 15 .
PHP 8.1: Enums
https://php.watch/versions/8.1/enums
https://www.php.net/manual/en/language.enumerations.basics.php
User-defined functions - function 안에 function 있을때 function call
https://www.php.net/manual/en/functions.user-defined.php
댓글목록
등록된 댓글이 없습니다.