본문 바로가기

전체 글618

[Java 기초문법] Spring | controller 만들기, thymeleaf 이용해 페이지 만들기, Bootstrap Table, using Formatter interface [Java 기초문법] by Professional Java Developer Career Starter: Java Foundations @ Udemy Set up is as follows package com.neutrio.peopledbweb.web.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/people") public class PeopleController { @G.. 2022. 10. 22.
[독서 기록] 죽을 때까지 코딩하며 사는 법 | 홍전일 | 로드북 첫째, 무언가를 만든다는 순수한 즐거움이다. 둘째, 다른 사람에게 쓸모 있는 뭔가를 만드는 데서 오는 즐거움이다. 셋째, 서로 맞물려 돌아가는 퍼즐 같은 복잡한 객체를 멋지게 만들어내고, 실제로 어떤 결과를 낳았는지 지켜보는 즐거움이다. 넷째, 항상 새로운 뭔가를 배운다는 기쁨으로, 이는 반복되지 않는 업무 특성에서 솟아나는 것이다. 마지막으로 다루기 쉬운 매체를 갖고 작업한다는 즐거움이 있다. 프레더릭 브룩스, , 25쪽 - 19p 코딩이 왜 그렇게 즐거울까요? 인간이 가장 큰 즐거움을 느끼는 순간은 몰입(flow)의 순간이라고 합니다. 마치 몸과 정신이 떠 있는 것 같고 시간은 멈춘 것 같은 착각에 빠지는 건데요. 몰입에 대한 세계적인 연구자인 미하이 칙센트미하이는 몰입을 학습과 도전이 병행 반복되는.. 2022. 10. 22.
[Java 기초문법] Web and HTTP's basic working logic, Spring frame and tomcat underneath [Java 기초문법] by Professional Java Developer Career Starter: Java Foundations @ Udemy Web & HTTP 작동의 기본 원리 localhost:8080에서 무슨 일이 일어난 것인지 살펴보자. loopback address : 127.0.0.1 refer to the current computer address = this operator and this address has an alias which is localhost. what is :8080 ? imagine that the computer is a house. doors with windows = > ports , in generic terms. Likewise a computer .. 2022. 10. 22.
[Java 기초문법] 스프링 시작하기 from start.spring.io to first running [Java 기초문법] by Professional Java Developer Career Starter: Java Foundations @ Udemy First let's go to this webpage. https://start.spring.io/ With this littel wizard here, will generate a mostly empty project that contains all of the add on spring framework projects that we need, with providing a downloadable zip file. metadata could be like this Spring Boot DevTools : shows changing that take si.. 2022. 10. 22.
[Java 기초문법] 자바와 데이터베이스 연결하기, JDBC code, H2, Squirrel SQL [Java 기초문법] by Professional Java Developer Career Starter: Java Foundations @ Udemy 새로운 Gradle 프로젝트를 만든다. H2 Databata와의 연결성을 위해 Gradle Builder에서 dependency를 추가해주어야 한다. Add dependency > H2 Database Engine을 추가 TDD 프로젝트를 위해 AssertJ도 추가해준다. 테스트 클래스에서 canSave 역할을 할 메소드를 만들어주고 PeopleRepository 인스턴스를 만든다. main에도 추가를 해주면서 에러를 해결해준다. Person 타입을 생성해서 실제 사람을 instantiate 하도록 하고 repo에 save하는 기능까지 만든다, public.. 2022. 10. 22.