"Silex"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 11개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;실렉스
;실렉스
*[[PHP 마이크로프레임워크]]
*[[PHP 마이크로프레임워크]]
*[[Symfony]] + [[Twig]](템플릿 엔진) + 독트린(DB추상화) 컴포넌트 기반
*PHP 버전 5.3.9 이상 필요
* MIT 라이선스
<syntaxhighlight lang='php'>
$app = new Silex\Application();
$app->get('/', function() use($app) {
    return 'Hello World!';
});
$app->get('/hello/{name}', function($name) use($app) {
    return 'Hello '.$app->escape($name);
});
$app->run();
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[Silex 설치]]
*[[Silex 설치]]
*[[Symfony]]
*[[Pimple]]


==참고 자료==
==참고==
*http://silex.sensiolabs.org/
*http://silex.sensiolabs.org/
*https://github.com/silexphp/Silex
*https://github.com/silexphp/Silex
*https://en.wikipedia.org/wiki/Silex_(web_framework)


[[분류: PHP 프레임워크]]
[[분류: Silex]]

2020년 11월 2일 (월) 02:58 기준 최신판

1 개요[ | ]

Silex
실렉스
$app = new Silex\Application();

$app->get('/', function() use($app) { 
    return 'Hello World!';
});

$app->get('/hello/{name}', function($name) use($app) { 
    return 'Hello '.$app->escape($name); 
});

$app->run();

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}