PHP What is OOP? OOP stands for Object-Oriented Programming > thumbnail_free

본문 바로가기

사이트 내 전체검색

뒤로가기 thumbnail_free

일상 PHP What is OOP? OOP stands for Object-Oriented Programming

페이지 정보

작성자 관리자 작성일 22-04-14 17:02 조회 25,015 댓글 9

본문

PHP What is OOP?
OOP stands for Object-Oriented Programming.

Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions.

Object-oriented programming has several advantages over procedural programming:

OOP is faster and easier to execute
OOP provides a clear structure for the programs
OOP helps to keep the PHP code DRY "Don't Repeat Yourself", and makes the code easier to maintain, modify and debug
OOP makes it possible to create full reusable applications with less code and shorter development time
Tip: The "Don't Repeat Yourself" (DRY) principle is about reducing the repetition of code. You should extract out the codes that are common for the application, and place them at a single place and reuse them instead of repeating it.
추천0 비추천 0

첨부파일

댓글목록 9

관리자님의 댓글

관리자 작성일

관리자님의 댓글

관리자 작성일

test

관리자님의 댓글

관리자 작성일

test2

관리자님의 댓글

관리자 작성일

ttee

관리자님의 댓글

관리자 작성일

my clock

관리자님의 댓글

관리자 작성일

suzy Zzang !!

나그네님의 댓글

나그네 작성일

airforce one is great

나그네님의 댓글

나그네 작성일

yellow clock

나그네님의 댓글

나그네 작성일

인생은 나그네길

어디서 왔다가 어디로 가는가?

세월이 흘러 흘러

머물다 가는 길에....

Copyright © GRATIA.KR All rights reserved.

사이트 정보

회사명 : 회사명 / 대표 : 대표자명
주소 : OO도 OO시 OO구 OO동 123-45
사업자 등록번호 : 123-45-67890
전화 : 02-123-4567 팩스 : 02-123-4568
통신판매업신고번호 : 제 OO구 - 123호
개인정보관리책임자 : 정보책임자명

PC 버전으로 보기