일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- Spring
- CentOS
- tomcat
- html
- 정규식
- input
- NetBeans
- SeLinux
- properties
- curl
- 안드로이드
- Android
- error
- junit
- ajax
- DB
- File
- larravel
- 리눅스
- 톰캣
- php
- 와일드카드
- laravel
- javascript
- 이클립스
- Linux
- jquery
- JSON
- java
- MySQL
- Today
- Total
목록php (17)
합쭈기 programming
where('code','=','p_')->orWhere('sub_code','=','e_')를 하면 and code = 'p_' or sub_code = 'e_' 이런식에 쿼리문이 되고 where(function($query){ $query->where('code', '=', 'p_') ->orWhere('sub_code', '=', 'e_'); });이렇게 하면 and (code = 'p_' or sub_code = 'e_') 이런 쿼리문이 된다.
CentOS SELinux 설정 상에서 setsebool httpd_can_network_connect true 해주면 된다.
preg_replace("/]+\>/i", "", $str)
preg_replace("/(0(?:2|[0-9]{2}))([0-9]+)([0-9]{4}$)/", "\\1-\\2-\\3", $tel)
코드템플릿 : 코드 자동 완성 기능 psvm + space키 -> public static void main(String[] args) sout + space키 -> System.out.println(""); 넷빈즈 5.5 - tab 넷빈즈 6.0 - space --------------------------------------------------- Ctrl + Shift + C = 주석시작 커서가 검은 네모 칸일때는 insert키를 누름 ctrl + / = 해당라인 주석처리 shift + alt + f = 코드 자동 들여쓰기 정렬 --------------------------------------------------- 윈도우 관련 Alt+화살표 좌,우 = 탭윈도우에서 좌 우로 이동 Ctrl + ..
퍼블리싱 패키지를 composer로 추가하는 것은 http://xpressengine.github.io/Composer-korean-docs/이곳에 나와 있다. 한국어 버전 composer document 이다. 퍼블리싱 패키지를 추가하는 것은 문제가 아닌데 문제는 사내에서 관리되는 모듈을 오픈시킬수는 없는 노릇! 그럼 공개되지 않는 패키지는 어떻게 composer로 autoload 할 것인가가 관건이었다. 해보니 생각보다 간단했다. 먼저 추가할 패키지를 만들었다. 패키지를 es로 하고 controller.php는 app > http > conrollers에서 copy 했다.view도 resource > views에서 copy route를 위한 provider를 app > providers에서 copy ..
composer 설치 후엔 경로 > composer create-project laravel/laravel {프로젝트명} {버전} ex) composer create-project laravel/laravel hellow 4.1.* 요런식이면 laravel framework가 자동으로 구성됨 netbeans IDE 설치 - https://netbeans.org/features/index.html laravel이 인식 안되면 netbeans laravel plugin download - http://plugins.netbeans.org/plugin/58448/laravel-quebra-galhonetbeans에서 Tools > Plugins에 Downloaded 탭에서 다운받은 nbm 플러그인 파일을 in..
회사에서 asp-> php로 전향하기 위해 Laravel과 코드이그나이터 중 무엇을 할까 고민중에 laravel을 선택했다.내가 하던것이 spring쪽이라서 객체지향적인 부분과 디버깅 부분에 중점을 뒀다. IDE의 선택이 문제였는데 Netbeans is probably the most professional one here, it’s free and open-source (and financed by Oracle btw).CodeLobster is small and quick, a good choice for beginners. There’s a free version, but you can buy upgrades to add more (professional) features, totally worth..