본문 바로가기
#11-4 / ECMA 로 data insert,select create table movies( midx int(6) unsigned not null auto_increment, msubject varchar(100) not null, /*영화 제목*/ cinema set("CGV","MEGA BOX","LOTTE CINEMA") not null, /*등록된 영화관*/ ticketing int(5) not null, /*예매가격*/ screen_date date not null default '0001-01-01', /*상영일자*/ primary key (midx) );table 만듬 ⚡ ecma로 데이터 등록(영화 정보 등록 페이지 제작) - insert👀 FRONT-END- ecma_6.jsp 영화 제목 : 영화관 : 영화관 선택 CGV .. 2024. 7. 16.
IDE - database source Explorer install help - about Spring tool suite 으로 eclipse 버전 확인 후 메모장에 적어놓기.. 나는 현재 Platform: Eclipse 2021-09 (4.21.0) 이거임help - install new Software work width : Latest Eclipse Release - https://download.eclipse.org/releases/2021-09 (버전 맞아야함)=> database Develpment에 원하는것만 or 전체 선택=> contact all update sites during install to find required software  이거 체크 해제 (꼭!!)=>  죽죽 next~ accept ~ fisish => install anywayres.. 2024. 7. 16.
#11-3 / ES7 class 핸들링,constructor,get,set export 단점 : field 안에 전역변수 사용시 핸들링이 어렵다⚡ 인증번호 전송 es7 class로 제작constructor : 즉시실행 메소드get 메소드명(){} : getterset 메소드명(){} : setter (set 굳이 안붙여도 됨)- ecma_5.jsp 연락처 : - - - ecma_5.jsexport class tels{ constructor(){ //class 호출시 즉시 실행되는 메소드 console.log('test'); } tel_check(){ this.tel1 = document.querySelector("#tel1").value; this.tel2 = document.querySelector("#tel2").value; this.tel3 = docu.. 2024. 7. 16.
#11-2 / ECMA Script (함수 사용법) - ES7 👀 import 있음 !!필요한것만 골라서 호출하기 때문에 속도가 빠르며 핸들링이 용이하다!가상변수 핸들링함수 this 명령어  - 일반 함수에서는 사용 x , class함수에서만 사용!⚡ import   해당 방식으로 js파일 로드함모든 코드가 암호화됨 , script src 보다 속도는 훨씬 빠름- ecma_3.jsp - emca_3.jsvar dd = "test ecma 코드";export default console.log(dd); //import에서 요청한 사항을 export를 이용하여 값을 내보냄//abc 함수를 import 호출할 수 있도록 export로 설정export function abc(data){ return console.log(data + "님");}//이벤트 핸들링 함수ex.. 2024. 7. 16.