Development 썸네일형 리스트형 Web 구조 Web Browser- request message를 작성하여 웹서버에 전달 웹 서버로 부터 전달 받은 response message를 해석하여 사용자에게 보여주는 프로그램 Database- 큰 데이터를 효율적으로 관리하기 위한것 URI (Uniform Resource Identifier)- 웹에서의 데이터 소재지- URL(Uniform Resource Locator) + URN (Uniform Resource Name) HTTP- 웹서버와 클라이언트가 데이터를 송수신할 때 준수하는 통신 규약- 웹페이지는 기본적으로 HTTP를 기반으로 데이터를 주고 받음 WAS란 - Web Application Server 의 줄임말 웹 어플리케이션을 수행 할 수 있는 환경을 제공해주는 서버- 사용자의 작업요청 -> 비.. 더보기 [Android] Notification Bar View Custom 하기~! final NotificationManager manager = (NotificationManager)this.getSystemService(Context.NOTIFICATION_SERVICE); final Notification notification = new Notification(android.R.drawable.ic_input_add, message, System.currentTimeMillis()); final RemoteViews views = new RemoteViews(this.getPackageName(), R.layout.noti_content_view); views.setImageViewResource(R.id.noti_image, android.R.drawable.ic_input_.. 더보기 [IOS] 특정 코드 비동기로 실행시키기 특정 코드를 비동기로 실행하고 싶다면 아래와 같이 작업하면 된다.~! dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{무거운 작업~!dispatch_async(dispatch_get_main_queue(), ^{UI 작업하기}); }); 더보기 [IOS] UIView 점선 테두리 그리기 CAShapeLayer *layer = [CAShapeLayer layer]; [layer setStrokeColor:[[UIColor colorWithRed:0.86 green:0.86 blue:0.83 alpha:1] CGColor]]; [layer setFillColor:[[UIColor clearColor] CGColor]]; [layer setLineWidth:3]; [layer setLineDashPattern:[NSArray arrayWithObjects:[NSNumber numberWithInt:5], [NSNumber numberWithInt:3], nil]]; [layer setPath:[UIBezierPath bezierPathWithRoundedRect:self.drawingPlac.. 더보기 [IOS Library] 다양한 형태로 리스트를 출력하는 ICarousel 소스코드 보러가기 더보기 [Refactoring] 하향 타입 변환을 캡슐화 메서드가 반환하는 객체를 호출 부분에서 하향 타입 변환해야 할 땐 하향타입 변환 기능을 메서드 안으로 옮기자 Object lastReading () {return readings.lastElement();} 아래와 같이 고친다. Reading lastReading () {return (Reading) readings.lastElement();} 하향 타입 변환은 필요악일 수도 있지만 웬만하면 사용하지 말아야한다. 클라이언트에게 불필요한 작업을 전가하기 때문이다. 더보기 [IOS] UIScrollView contentOffset 애니메이션 후 다른 작업하기 [UIView animateWithDuration:2.0 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations: ^(void) { [scrollView setContentOffset:CGPointMake(x, y)]; } completion:^(BOOL isFinished) { //다른거 하기~! }]; 더보기 [Refactoring] 생성자 메서드로 전환 객체를 생성할 때 단순한 생성만 수행하게 해야 할 땐 생성자를 팩토리 메서드로 교체하자. Employee (int type) {_type = type;} 위의 소스를 아래와 같이 생성자 메서드를 통해 생성하자. static Employee create (int type) {return new Employee(type);} 이 방법은 유지보수때 좋을 것 같다 새로운 클래스를 생성할때 생성 메서드에서 다른 클래스로 바꿔주기만 하면 모든 부분에 적용이 되기 때문이다. 더보기 hibernate VS ibatis Hibernate- Object Relational Mapping 계열 a. Database 엔티티(일종의 테이블 row)와 자바 객체를 동기화 하는 역할을 담당 b 모든 sql문은 프레임웍에서 생성되고 실행됨 d. sql작업이 필요할 경우 HSQL을 통하여 이루어짐(EJB-QL과 유사) e. HSQL은 실제적인 sql의 앞단에서 처리되는 객체지향 쿼리 랭귀지 - Application의 class와 RDBMS의 table 간의 매핑을 담당- 객체 지향 설계 경험이 좋을 때 유리- 개발자의 SQL 작성을 줄이는 것이 가능- 잘 구성된 table 구조에 유리- 데이터 모델과 객체 모델간의 의존성이 상대적으로 강함 iBatis- SQL / Data Mapping 계열 persistence framework a.. 더보기 영속성이란.. 데이터를 생성한 프로그램의 실행이 종료되더라도 사라지지 않는 데이터의 특성을 의미한다. 영속성은 파일 시스템, 관계형 데이터베이스 혹은 객체 데이터베이스 등을 활용하여 구현한다. 영속성을 갖지 않는 데이터는 단지 메모리에서만 존재하기 때문에 프로그램을 종료하면 모든 데이터를 읽어버린다. 더보기 이전 1 ··· 30 31 32 33 34 35 36 ··· 38 다음