■ 백엔드 ■/Slim2018.05.22 14:31


   Slim3



micro framework 인 slim 은 웹 개발에 편리한 기능들을 많이 포함하고있다.


설치는 composer를 통해서 설치하며


slim의 route 는 GET, POST, PUT, DELETE HTTP Protocol을 모두 지원하므로


RESTful API 개발할 때에도 유용하다.



Created by Josh Lockhart (phptherightway.com)

PSR-7 Request and Response objects

Middleware architecture

Built in DIC for configuration


Expecting first beta early June 2015


7 Features of Slim Framework explained

  1. Routing – simple yet powerful routing that supports HTTP verbs like GET, POST, DELETE, and UPDATE. This allows you to design SEO friendly URLs
  2. Template rendering – built in template rendering with custom view. You can also use other templating systems such as twig
  3. HTTP Caching – let’s explain this with an example, every time a user access a resource on a web server, bandwidth is consumed depending on resources. Things like the favicon, css files don’t change frequently. HTTP caching allows you to tell the browser to keep the assets for some time and only request for resources that change. This improves the website’s performance and uses less bandwidth.
  4. Flash messages – things like validation failure, record added/updated messages need to be displayed once only then flashed. You get this out of the box with slim
  5. Secure cookies – slim uses AES-256 to encrypt cookies; this sinfully improves the security of your application and makes it harder for hackers to forge your cookies.
  6. Logging – this comes in handy when you want to record errors, warnings or info.
  7. Error handling and debugging – lets you define a custom error handler that is involved when things go wrong. The debug option lets your app decide whether to display the exception/error info or invoke a custom error handler when things go wrong


http://www.kode-blog.com/7-features-of-slim-php-framework-that-will-shame-mvc-frameworks-on-small-projects



#Slim Framework Tutorial : build an API ( 5강 )

https://www.youtube.com/playlist?list=PLBEpR3pmwCayt4DR0UbhMgCfxHQWi0RCQ



A Slim 3 primer - Rob Allen - PHPSW: Frameworks, May 2015 ( 1강 소개영상 )

https://www.youtube.com/watch?v=3bXRrv7gp4U


#Simple Blog With Slim 2 ( 1강 )

https://www.youtube.com/watch?v=sRfYgco3xo4



#Authentication with Slim 3 ( 29강 )

https://www.youtube.com/watch?v=RhcQXFeor9g&list=PLfdtiltiRHWGc_yY90XRdq6mRww042aEC


#Tutorial Slim Framework Untuk Pemula ( 12강 )

https://www.youtube.com/watch?v=Mr5Rhxo6H2A&index=11&list=PLCp66g_nYHAapT2uHM7ukipLVuhJ1rNEh



#Slim Framework 3 ( 12강 )

https://www.youtube.com/watch?v=XVKW_6VxZZE&list=PLzNQJ0GgUs2Jw6qcOVqNSfvdX0BpS91av



#Beautiful Slim CSRF Protection ( 4강 )

https://www.youtube.com/watch?v=GHa2XBAx7WU&list=PLfdtiltiRHWGCIczbbhNlT6hqh-dMuxQQ

'■ 백엔드 ■ > Slim' 카테고리의 다른 글

Slim Framework 3 Skeleton Application  (0) 2018.06.25
Twig views  (0) 2018.05.24
Middleware  (0) 2018.05.24
Routes  (0) 2018.05.24
index.php  (0) 2018.05.24
03. 웹서버 설정  (0) 2018.05.23
02. 컴포저로 slim 설치하기  (0) 2018.05.22
01. slim 프레임워크  (0) 2018.05.22
Posted by SAP (Study And Programming) by serpiko

댓글을 달아 주세요