그누보드5에 처음 접속했을 때의 SQL Query입니다.
1. set names utf8
2. SET SESSION sql_mode = ''
3. select * from g5_config
4. select * from g5_shop_default
5. select * from g5_new_win where '2015-06-20 13:42:48' between
nw_begin_time and nw_end_time and nw_device IN ( 'both', 'pc' ) and nw_division
IN ( 'both', 'comm' ) order by nw_id asc
6. select sum(IF(mb_id<>'',1,0)) as mb_cnt, count(*) as
total_cnt from g5_login where mb_id
<> 'admin'
7. select * from g5_menu where me_use = '1' and length(me_code)
= '2' order by me_order, me_id
8. select * from g5_menu where me_use = '1' and length(me_code)
= '4' and substring(me_code, 1, 2) = '10' order by me_order, me_id
9. select MAX(po_id) as max_po_id from g5_poll
10. select bo_table from `g5_board` a left join `g5_group` b on
(a.gr_id=b.gr_id) where a.bo_device <> 'mobile' and a.bo_use_cert = '' order by b.gr_order, a.bo_order
11. select * from g5_board where bo_table = 'notice'
12. select * from g5_write_notice where wr_is_comment = 0 order
by wr_num limit 0, 5
13. select * from g5_board where bo_table = 'qa'
14. select * from g5_write_qa where wr_is_comment = 0 order by
wr_num limit 0, 5
15. select * from g5_board where bo_table = 'free'
16. select * from g5_write_free where wr_is_comment = 0 order by wr_num limit 0, 5
17. select pp_word, count(*) as cnt from g5_popular where
pp_date between '2015-06-17' and '2015-06-20' group by pp_word order by cnt
desc, pp_word limit 0, 7
18. select count(*) as cnt from g5_login where lo_ip = '::1'
19. update g5_login set mb_id = '', lo_datetime = '2015-06-20 13:42:48', lo_location = '그누보드5', lo_url = '/yc5037/' where lo_ip = '::1'
댓글 7개
4. /restful/adm/shop/default
7. /restful/menus
8. /restful/menus/:submenu
10./restful/boards
11./restful/board/:bo_table
12. /restful/board/:bo_table/:start/:count (2개면)
or /restful/board/:bo_table/:wr_id (옵션이 한개면)
19 put에 대해서는 다음에 정의해야 되겠네요..
그냥 간단하게 몇개만 구현할려고 시작했는데.. SQL도 알아야 되고, 그누보드도 알아야 되고..
PHP도 알아야 되고..
현재까지 공부한 것으로 보면.. 일반 웹사이트에서 Restful로 하는 것은 제 실력으로는 안될것 같고..
일단 위처럼 몇개만 정리하고, 이것을 활용해서.. cordova(HTML5)로 Android 앱을 만들어서..
앱에서 게시판에 글을 읽고, 쓰고, 수정하고, 댓글 쓰기까지 해 볼려고 합니다.
이것은 핑계고... 현재 미국쪽에서 이것이 대세라고 생각되다 보니.. 뭔가를 조금씩 해 보고 싶다는 것입니다.
만들어지면(미천하겠지만..) 제일 먼저 오픈해드리겠습니다. ㅎㅎ
저도 웹사이트 하나 신청해도 되는지.. (테스트용서버 ㅎㅎ)
게시판 목록
자유게시판
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 |
|
2주 전 | 53 | |
| 199688 | 2개월 전 | 194 | ||
| 199687 | 2개월 전 | 183 | ||
| 199686 | 2개월 전 | 487 | ||
| 199685 | 2개월 전 | 110 | ||
| 199684 | 2개월 전 | 172 | ||
| 199683 |
|
2개월 전 | 171 | |
| 199682 |
비버팩토리
|
2개월 전 | 117 | |
| 199681 | 2개월 전 | 179 | ||
| 199680 | 2개월 전 | 165 | ||
| 199679 | 2개월 전 | 128 | ||
| 199678 | 2개월 전 | 206 | ||
| 199677 |
|
2개월 전 | 214 | |
| 199676 | 2개월 전 | 130 | ||
| 199675 | 2개월 전 | 108 | ||
| 199674 | 2개월 전 | 270 | ||
| 199673 | 2개월 전 | 172 | ||
| 199672 | 2개월 전 | 171 | ||
| 199671 | 2개월 전 | 149 | ||
| 199670 | 2개월 전 | 131 | ||
| 199669 |
|
2개월 전 | 217 | |
| 199668 | 2개월 전 | 146 | ||
| 199667 |
nekoieye
|
2개월 전 | 209 | |
| 199666 | 2개월 전 | 168 | ||
| 199665 | 2개월 전 | 463 | ||
| 199664 | 2개월 전 | 161 | ||
| 199663 | 2개월 전 | 270 | ||
| 199662 |
|
2개월 전 | 152 | |
| 199661 | 2개월 전 | 129 | ||
| 199660 |
별찢이내린다샤랄랄라랄라
|
2개월 전 | 237 | |
| 199659 |
|
2개월 전 | 156 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기