패닉
-
[JAVASCRIPT]2. callback웹 2017. 9. 11. 23:36
callback이란? 프로그래밍에서 콜백(callback)은 다른 코드의 인수로서 넘겨주는 실행 가능한 코드를 말한다. 콜백을 넘겨받는 코드는 이 콜백을 필요에 따라 즉시 실행할 수도 있고, 아니면 나중에 실행할 수도 있다.일반적으로 콜백수신 코드로 콜백 코드(함수)를 전달할 때는 콜백 함수의 포인터 (핸들), 서브루틴 또는 람다함수의 형태로 넘겨준다. 콜백수신 코드는 실행하는 동안에 넘겨받은 콜백 코드를 필요에 따라 호출하고 다른 작업을 실행하는 경우도 있다. 다른 방식으로는 콜백수신 코드는 넘겨받은 콜백 함수를 '핸들러'로서 등록하고, 콜백수신 함수의 동작 중 어떠한 반응의 일부로서 나중에 호출할 때 사용할 수도 있다 (비동기 콜백). 콜백은 폴리모피즘과 제네릭프로그래밍의 단순화된 대체 수법이며, 콜..
-
[JAVASCRIPT]1. javascript Json 처리하기웹 2017. 9. 10. 16:21
Json이란? JSON (JavaScript Object Notation)은 경량의 DATA-교환 형식이다. 이 형식은 사람이 읽고 쓰기에 용이하며, 기계가 분석하고 생성함에도 용이하다. JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999의 일부에 토대를 두고 있다. JSON은 완벽하게 언어로 부터 독립적이지만 C-family 언어 - C, C++, C#, Java, JavaScript, Perl, Python 그외 다수 - 의 프로그래머들에게 친숙한 관습을 사용하는 텍스트 형식이다. 이러한 속성들이 JSON을 이상적인 DATA-교환 언어로 만들고 있다. JSON은 두개의 구조를 기본으로 두고 있다:name/valu..
-
17/05/13 DB처음 시작해보기DB 2017. 5. 13. 20:47
DB를 처음 시작해 보기 위해 몇시간 동안 헤맸다. 뭐도 깔아 보고 뭐도 깔아 보고... 일단 확실 해 진건. Oracle 설치 (Oracle 홈페이지 -> download -> Oracle Database Express Edition 11g Release 2 설치)http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html 해서 계정을 생성하고 계정 정보를 설정한 다음 설치 할떄 맨날 내가 하는 비밀번호 넣음. 계정은 SYS/SYSTEMsql developer를 사용해서 그 계정 정보에 접속해서 CRUD 결국 성공ORACLE과 mySQL은 다른거라는것을 알게됨 개이득 (추가 2018..
-
4.16이야기 2017. 4. 16. 22:30
정말 대단하다. 난 컴맹이다. 절대 한번에 되는 법이 없다. 아니 되지도 않는다.STS를 설치하고 실행한번 해보려고 마신 커피가 몇잔이고 보낸 시간이 몇시간인지온갖 듣도보도 못한 오류들이 뜬다. 해결 할 수 없다. 해결방법은 항상 나와는 달랐다. 자신감이 떨어져 갔다.나는 항상 툴 탓을 한다. 프로그램을 못만들어서 이렇다고 항상 혼자 위로했다. 진짜 내 손이 잘못된 것일까? 너무 느린 노트북을 가진 탓일까. 징할 정도로 설정부분에서 막힌다. 실행되는 걸 본적이 없다. 진짜 공부를 시작할수 조차 없다니 진짜 의욕 떨어진다. 내 노력이 부족한 거라고? 내가 얼마나 답답한지 나만 알겠지?지금도 STS 설정하고 있는데 진짜 노트북 다 부숴 버리고 싶다. 항상 JAVA를 하면서도 eclipse가 말썽이라 JAVA..
-
[JAVA]1. 자바 설치프로그래밍 2017. 3. 10. 03:32
컴퓨터에 자바가 설치되어 있는지 확인1. 내컴퓨터 -> C 드라이브 -> program Files -> Java라는 폴더가 있다면 설치는 했었던 것 1. 윈도우 -> CMD -> javac 이렇게 떳다면 JDK를 설치해야 한다.1. JDK설치2019.08.12 기준 JDK8버전https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Java SE -> Java Standard Edition