Thoughts on Professional PHP Development 의견에 대한 전문 php 개발
I have started developing an interesting PHP application for LAMP (Linux-Apache-MySQL-PHP) stack. 나는 흥미있는 php 응용 프로그램을 개발하기 시작 램프 (리눅스 - 아파치 - mysql - php) 스택합니다. I have to say it has been an wonderful experience so far. 한 때 나는 멋진 경험을 말하면서 우리는 지금까지합니다.
It is rather simple (really simple) and easy to setup little frameworks (read utility functions in a file) in php for your tasks. 그것은 오히려 간단한 (정말 간단)과 쉬운 설치 프로그램을 작은 프레임 워크 (읽기 유틸리티 함수에있는 파일)을 php에 대한 귀하의 작업을합니다. PHP has a delicious array of functionalities to use. php가 맛있는 일련의 기능을 사용합니다. You have a very short code-test-debug cycle, very little configuration required, if any. 당신은 아주 짧은 코드를 - 테스트 - 디버그 사이클, 아주 작은 설정이 필요, 만약 어떤합니다.
You don’t have to think about freeing resources, PHP does it for you (garbage collection like Java). 해방을 생각하지 않아도됩니다 리소스, php 기능을 원하시면 (쓰레기 수집 같은 자바)를합니다.
“Due to the reference-counting system introduced with PHP 4’s Zend Engine, it is automatically detected when a resource is no longer referred to (just like Java). "물의를 참조 - 카운트 제도 도입과 php 4의 젠드 엔진,이 때 자동으로 감지 리소스는 더 이상 언급을 (것처럼 자바)를합니다. When this is the case, all resources that were in use for this resource are made free by the garbage collector. 이 모든 작업이 경우에,이 리소스를 사용하는 모든 자원을 당시에 쓰레기 수거는 무료로합니다. For this reason, it is rarely ever necessary to free the memory manually by using some free_result function.” 이러한 이유로, 그것은 거의 무료의 메모리를 수동으로 사용하는 데 필요한 기능을 일부 free_result합니다. "
I like the fact that I don’t have to litter my code with try-catch blocks and yet I can use them when needed. 나는 쓰레기는 사실을 나는 나의 코드를하지 않아도 아직 시도 - 캐치을 차단하고 필요할 때 나는 그들을 사용할 수있습니다.
Supporting plugins in your application is simple because you can quickly develop a primitive business rule engine based on the capability to invoke functions by name. 귀하의 응용 프로그램을 지원하는 플러그인을 신속하게 개발할 수 있기 때문에 사용자는 간단하다 비즈니스 규칙 엔진을 기반으로 한 원시 함수의 이름을 호출 기능을합니다. Then you can specify hooks in your code where functions which have registered (on that hook) are invoked. 다음에 코드를 지정할 수있습니다 후크 기능을 어디에 등록 (이 후크)가 호출합니다. See WordPress implementation for a trivial example. 사소한 예제 참조 wordpress를 구현하는 데는합니다. I think I will write a separate article on this with some code. 별도의 기사를 것은 이것을 일부 코드를 작성합니다.
Two other niceties are the ability to call functions by name and eval to evaluate any code. 두 개의 다른 이름으로 상식이 함수를 호출하는 기능과 평가를 임의의 코드를 평가합니다. Using eval you can define string constants which are actually evaluated and executed at runtime to add functionalities. 상수를 정의할 수있습니다 문자열을 사용하여 평가 등급 및 실행이 실제로 런타임에 어떤 기능을 추가합니다.
There are some downsides too which I had covered earlier, check the links below. 단점도있다 이전 버전을 덮어 나는, 아래의 링크를 점검합니다.
Overall PHP offers a good language and environment for rapid web application development. 전반적인 php는 좋은 언어와 빠른 웹 애플 리케이션 개발 환경을 제공합니다.
Filed under 밑에 Headline News 헤드 라인 뉴스 , How To 하는 방법을 , Open Source Software 오픈 소스 소프트웨어 , PHP php , Web 웹 | |
| |
RSS 2.0 rss 2.0 | |
Trackback 트랙백 this Article | 이 문서 |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |




