git 관련 자료 모음
programming 2017. 6. 27. 16:44'programming' 카테고리의 다른 글
bitbucket & github 비교 1 (0) | 2017.06.26 |
---|---|
online code compiler 2 (0) | 2016.12.15 |
online code compiler (0) | 2016.09.27 |
알고리즘 (0) | 2016.01.22 |
알고리즘 (0) | 2015.12.01 |
git 관련 자료 모음programming 2017. 6. 27. 16:44'programming' 카테고리의 다른 글
Creating a simple REST API in PHPprogramming/php 2017. 6. 27. 16:03Creating a simple REST API in PHPI’m the author of php-crud-api and I want to share the core of the application with you. It includes routing a JSON REST request, converting it into SQL, executing it and giving a meaningful response. I tried to write the application as short as possible and came up with these 65 lines of code:
This code is written to show you how simple it is to make a fully operational REST API in PHP. RunningSave this file as “api.php” in your (Apache) document root and call it using: http://localhost/api.php/{$table}/{$id} Or you can use the PHP built-in webserver from the command line using: $ php -S localhost:8888 api.php The URL when ran in from the command line is: http://localhost:8888/api.php/{$table}/{$id} NB: Don’t forget to adjust the ‘mysqli_connect’ parameters in the above script! REST API in a single PHP fileAlthough the above code is not perfect it actually does do 3 important things:
One could thus say that the REST API is fully functional. You may run into missing features of the code, such as:
Don’t worry, all these features are available in php-crud-api, which you can get from Github. On the other hand, now that you have the essence of the application, you may also write your own! 출처 : https://www.leaseweb.com/labs/2015/10/creating-a-simple-rest-api-in-php/ 'programming > php' 카테고리의 다른 글
bitbucket & github 비교 1programming 2017. 6. 26. 11:40무료 이용의 경우
제일 싼 요금제의 경우
Bitbucket개인저장소 제공이 무제한이라, 개인 용도로 쓰긴 적합하지만, 사용자수 제한이 걸려있어서 오픈소스 운영할 순 없음
Github오픈소스, 공개 이거 두 개엔 최적화되어 있음
출처 : http://hyeonjae-blog.logdown.com/posts/544463-github-bitbucket 'programming' 카테고리의 다른 글
|