전체 글
-
php 무료 웹 호스팅Php 2020. 4. 21. 19:43
웹페이지를 제작하면 웹을 서버상에 올려야한다 그후 도메인등록 까지 끝 마쳐야하지만 도메인등록은 유료이기에 웹호스팅까지만 해보겠다. 수많은 무료 웹호스팅 사이트가 있지만 닷홈이라는 사이트에서 호스팅을 해보겠다. https://www.dothome.co.kr/ 닷홈 - 호스팅은 닷홈 닷홈은 무제한 웹호스팅, 무료호스팅, 도메인, 홈페이지빌더, 무제한메일, SSL보안인증서, 서버호스팅, 코로케이션 서비스를 제공하고 있습니다. www.dothome.co.kr 위 주소의 도메인주소를 제공받았다 이제 url창에 위 주소를 치면 아래와 같은 화면이 나온다 ftp(file transfer protoco약자 인터넷 망으로 연결되어 있는 멀리 떨어져 있는 서버로 파일을 올리거나 가져오기 위해 필요한 일종의 프로토콜입니다...
-
iocspring framework 2020. 4. 21. 12:36
ioc(inversion of control) 제어역전 일반적인 프로그램은 개발자가 코드를 만든 순서대로 프로그램이 동작한다. 제어역전의 개념은 개발자는 몇가지 중요한 정보만 셋팅하면 프레임워크가 해당 개발자가 셋팅한 데이터를 분석하여 코드가 어떻게 동작해야 하는지를 프레임워크가 처리하는것이다. 즉 개발자가 코드를 만들어 순서대로 위에서 아래방향으로 실행 되는것이 아닌 개발자가 몇가지 데이터만 셋팅해주면 프로그램이 어떻게 흘러가야한다는것(전체 프로그램을 제어하는것)을 개발자가 아닌 프레임워크가 제어하는것이다 정리. 처음부터 끝까지의 코드의 흐름을 개발자가 전부다 만드는것이 일반적인 프로그램인데 ioc를 적용한 개발방식은 개발자가 몇가지 셋팅만 해주면 그 셋팅된 정보를 토대로 프로그램이 흘러가는 부분은 프..
-
-
-
spring mvc동작과정spring framework 2020. 4. 20. 14:51
클라이언트 요청 -> controller가 요청을 받아들여서 분기에서 작업 해당 controller가 반응하기전에 아파치 톰캣에서 관리하고 있는 servlet하나가 먼저 반응함 사용자의 요청정보를 토대로 어떠한 controller를 동작시킬지 결정하는 servlet = dispatcherservlet spring mvc같은 경우 아파치 톰켓에서 기본적으로 제공하는 dispatchersersvlet을 spring에서 제공하는 dispartcherservlet으로 먼저 변경함 따라서 클라이언트의 요청이 들어오면 spring의 dispathcerservlet이 먼저 요청정보를 받아들여 분석한 다음 개발자가 만들어논 controller중 적절한 controller를 선택하여 작업을 수행함 해당 controlle..