728x90 전체 글374 MVC (Model-View-Controller) MVP (Model-View-Presenter) MVVM (Model-View-ViewModel) 출처 [MVC MVP MVVM](https://kayuse88.github.io/mvvm-pattern/) [MVC MVP MVVM sample](https://kayuse88.github.io/mvvm-example/) ## MVC (Model-View-Controller) 뷰와 모델을 분리할 수 있지만 몇 가지 단점이 있습니다. ### 컨트롤러 고려사항 #### 테스트 용이성 - 컨트롤러는 WPF 라이브러리를 참조하기 때문에 단위 테스트가 힘듭니다. #### 모듈 및 유연성 - 만약 뷰의 내용을 고친다고 합니다. 그렇다면 뷰를 참조하는 컨트롤러의 내용까지 모조리 고쳐야 합니다. 작업량이 늘어나게 됩니다. 작은 프로젝트면 금방 고칠것이나 프로젝트의 규모가 커질수록 단순 작업량이 늘어나게 됩니다. ###.. 2022. 7. 10. 아키텍처 패턴(Architecture Patterns), 디자인 패턴(Design Pattern) [출처: NCS학습모듈 2001020105 SW아키텍처 설계 2001020106 SW아키텍처 이행](https://ncs.go.kr/unity/th03/ncsSearchMain.do) # A. 아키텍처 패턴(Architecture Patterns) (1) 아키텍처 패턴은 소프트웨어 시스템을 위한 검증된 구조적 도해(a pictorial, an illustrated)이다. 패턴은 서브 시스템과 그들의 역할을 사전 정의해 놓은 하나의 Set이다. Client-server pattern의 시스템 구조에 의하면 두 개의 서브 시스템이 식별된다. 클라이언트(여러 인스턴스일 수 있음)와 서버(유일함)가 그것들이다. 클라이언트 시스템의 주요 역할은 사용자에게 UI를 보여주는 역할일 수 있으며, 서버의 역할은 여러 질.. 2022. 7. 9. M220P: MongoDB for Python Developers Chapter 0: Introduction and Setup MongoDB URI Given the following MongoDB URI: mongodb+srv://brigitte:bardot@xyz-1234.srv.net/admin which of the following statements is true ? - The password used to authenticate is bardot Chapter 0: Introduction and Setup Setting Up Atlas mongorestore --gzip --archive=sampledata.archive.gz https://www.mongodb.com/docs/database-tools/mongorestore/ mongorestore — .. 2022. 6. 19. M121 The MongoDB Aggregation Framework Chapter 0: Introduction and Aggregation Concepts Introduction to the MongoDB Aggregation Framework Chapter 0: Introduction and Aggregation Concepts Atlas Requirement mongo "mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0" --authenticationDatabase admin --ssl -.. 2022. 6. 18. InnoDBClusterSet https://www.youtube.com/watch?v=6dh_sXlaAqI http://www.mktg.co.kr/eDM/20220512_MySQL/html/images/InnoDBClusterSet.pdf MySQL Replication • 기존의 복제 방식은 여러 가지의 수동적인 스텝필요 - 복제 계정 생성, 소스로부터 백업 및 restore 절차 등 • 복제방식 - Async Replication - Semi-sync Replication • Auto-Failover 미지원 - Auto-failover를 위해서는 별도의 솔루션 필요 - MMM, MHA, Orchestrator, OS layer HA solution MySQL InnoDBCluster • Group Replication - 멤버쉽.. 2022. 6. 16. <string xmlns="http://tempuri.org/"> </string> 없애기 [WebMethod(EnableSession = true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public void function() { HttpContext.Current.Response.ContentType = "application/json"; // error on line 1 at column 1: document is empty string result = new JavaScriptSerializer().Serialize(new { result = list }); HttpContext.Current.Response.Write(result); } 2022. 6. 15. 외부화를 위한 Amazon의 선언 2002년에 Amazon 설립자 Jeff Bezos가 명령을 내렸습니다. 이 권한은 현대 웹 공간에서 Amazon의 중추를 형성하는 역할을 하여 기업 사고 방식의 API 개발 패러다임과 API 기능을 외부화하는 일반적으로 개선된 접근 방식을 모두 알려줍니다. 아래에서 권한에 대해 이야기하고 API 공간에서 이것이 왜 그렇게 전설이 되었는지 논의할 것입니다. 각 요점의 세부 사항을 자세히 살펴보고 그 명령이 API 및 마이크로서비스에 대한 현대적 사고의 대부분을 형성한 방법을 살펴보겠습니다. 위임 문제의 명령은 2002년 창립자 Jeff Bezos가 Amazon에 발행했습니다. 여러 가지 이유로 API/마이크로서비스 분야에서 어느 정도 전설이 되었습니다. 기업 관점에서 현대 API 디자인 패러다임의 대부분.. 2022. 6. 13. ASP.NET Core Restfull API 및 postman 호출 with visual studio 2022 A. 웹 프로젝트 만들기 파일 메뉴에서 새로 만들기>프로젝트를 선택합니다. 검색 상자에 Web API를 입력합니다. ASP.NET Core Web API 템플릿을 선택하고 다음을 선택합니다. 새 프로젝트 대화 상자 구성에서 TodoApi 프로젝트 이름을 지정하고 다음을 선택합니다. 추가 정보 대화 상자에서 다음을 수행합니다. 프레임워크가 .Net 6.0(장기 지원)인지 확인합니다. 컨트롤러 사용(최소 API를 사용하려면 선택 취소) 확인란을 선택합니다. 만들기를 선택합니다. B. launchUrl 업데이트 Properties\launchSettings.json에서 launchUrl을 "swagger"에서 "api/todoitems"로 업데이트합니다. "launchUrl": "api/todoitems", .. 2022. 6. 12. M201 MongoDB Performance Chapter 1: Introduction Introduction to MongoDB Performance Which of the following statements is/are true? -> Indexes will be a major topic covered in this course. Chapter 1: Introduction Hardware Considerations & Configurations Part 1 Chapter 1: Introduction Hardware Considerations & Configurations Part 2 Regarding the performance implications, which of the following statements are correct? - D.. 2022. 6. 11. 이전 1 2 3 4 5 6 7 8 ··· 42 다음 728x90