Presentation is loading. Please wait.

Presentation is loading. Please wait.

DotNetNuke Website Programming

Similar presentations


Presentation on theme: "DotNetNuke Website Programming"— Presentation transcript:

1 DotNetNuke Website Programming
Taeyo.NET Offline 세미나 박용준(Microsoft MVP, Taeyo.NET) MCSD, MCAD, MCP

2 순서 DotNetNuke Portal 소개 DotNetNuke 소개 Portal Solution
설치사양 IIS & SQL Server 설정 DotNetNuke로 개인 웹 사이트 구성 표준 모듈 활용 스킨 설정 사이트 마법사

3 DotNetNuke 제작 및 배포 http://www.DotNetNuke.com/
제작자 : Shaun Walker(MVP, ASPInsider) 제작 Core 팀 : 9명의 MVP와 많은 닷넷전문가로 이루어짐 DotNetNuke v1.0.0으로 시작해서 현재의 v4.3.2까지 지속적인 업데이트

4 DotNetNuke란? DotNetNuke란? CMS(Content management system)
ASP.NET Website Framework ASP.NET 으로 만들어진 오픈 소스 웹 사이트 ASP.NET Starter Kits 에서 확장됨 ASP.NET 활용에 대한 좋은 본보기 ASP.NET 학습시 참고할만한 내용 풍부

5 포털 솔루션(Portal Solutions)의 종류
ASP.NET Starter Kits – 2001년 제작/배포 DotNetNuke Portal – Microsoft Visual Basic .NET 코드 기반 50개 이상의 모듈 제공 지속적인 업데이트 Rainbow Portal – Microsoft Visual C# .NET 코드 기반 45개 이상의 모듈 제공

6 DNN 설치 사양 Microsoft .NET Framework
DotNetNuke V4.3.2 : .NET Framework V2.0 DotNetNuke V3.3.2 : .NET Framework V1.1 Internet Information Server 5 또는 6 Windows 2000 Server Windows Server 2003 Microsoft SQL Server SQL Server 2000 SQL Server 2005 Express SQL Server 2005

7 Windows Server : NTFS 보안 / IIS 설정
Windows 2000 Server & IIS5 사용시 {Server}/ASPNET 사용자 읽기, 쓰기 그리고 수정 권한 부여 Windows Server 2003 & IIS6 사용시 {Server}/Network Service 사용자 로컬 테스트 설치시 Everyone 모든 권한 부여 Internet Information Server 웹사이트 및 가상디렉터리 ASP.NET 2.0 설정 aspnet_regiis.exe -i 기본문서 설정 : Default.aspx

8 SQL Server : SQL Server 설정
데이터베이스 생성 로그인 사용자 생성 권한 설정 데이터베이스 연결 문자열 *.UDL 파일 설정

9 Visual Studio : Web.config 파일 설정
Release.config 파일명 변경 Release.config -> Web.config Web.config 파일 설정 SiteSqlServer 항목 설정 데이터베이스연결문자열 설정 - V4.3.2 / V3.3.2

10 DotNetNuke Portal : DotNetNuke Portal 설치
Internet Explorer에서 설치 -또는-

11 데모 : DotNetNuke V3.3.2 / V4.3.2 설치 및 환경구성
다운로드 로컬 설치 -또는- 한글 언어팩 설치

12 DNN V4.3.2 살펴보기 기술적인 내용 모듈 설계 가능 : C# 또는 VB 온라인 설정 및 콘텐츠 관리
단일 도메인으로 여러 웹 사이트 운영 모양 살펴보기 역할 : Host / Admin 페이지 : Pages 모듈 : Modules 역할과 사용자 : Roles / Users 포털 관리 파일 관리자 스킨과 컨테이너 사용자 정의 모듈 Framework app –a dynamically generated application with a provider structure for plumbing (data access, membership, scheduler, logging, exceptions, etc.) Modular construction – modules plug in easily through an install/uninstall interface. You can deploy your portals with whatever modular options you want. Portals: Parent Portals are sites which have a unique URL ( ie. ) associated to them. Child Portals are subhosts of your Hosting Provider account. Essentially this means a directory is created on the web server which allows the site to be accessed through a URL address which includes a Parent domain name as well as the directory name ( ie. ). Provider model: data access, membership, html editor, search, scheduling, logging, friendly urls

13 페이지(Page) 페이지 : 포털내의 하나의 상위 메뉴 단위 관리자 모드에서 페이지 설정 가능:
추가, 설정, 삭제, 복사, 미리보기 페이지 설정: 이름, 제목, 설명 퍼미션 설정 가능 : 특정 사용자 또는 그룹 모양 : 스킨, 컨테이너, 아이콘 페이지 내용 표시기간 설정 페이지 링크 설정 : URL / 다른 페이지 / 파일 Pages appear as the menu structure of the portal Page Functions: Add, Settings, Delete, Copy, Preview Page Settings – details & permissions Page’s Link Type: Content page as before – choose URL and leave blank. URL opens a web page (but not in new window). Page points at another page on the site. File displays the selected file, which may be uploaded inline. When not a content page, edit with Admin  Pages menu.

14 Portal Framework Portal Pages Modules

15 모듈(Module) 모듈 : 하나의 정보 표현 단위 페이지에 한 개 이상의 모듈 추가 Action 메뉴:
내용 편집 및 데이터 가져오기 및 내보내기 RSS 아이콘, 인쇄 아이콘 Settings: 모양 : 컨테이너, 스타일, 아이콘 모듈 상단과 하단 HTML 정의 모듈 내용에 대한 시작 일시와 끝 일시 지정 Client API 기능을 사용한 모듈 드래그/드롭 가능 Modules are sited on pages and contain portal content. Adding an existing module lets you share content between pages. Modules visible only to Admin show the red box (default when adding module) Syndicate menu item shows RSS feed page. Drag & drop – drag on the module title. Header / Footer: Image module – display a link above the image and a caption below it.

16 Implement Custom Functionality Package Module for Installation
Replace Implement Custom Functionality (Developer) Package Package Module for Installation (Developer) Deploy Install into Portal (Admin) Design Create Module Project (Developer)

17 역할과 사용자 역할에 따른 사용 권한 설정 역할: 페이지 또는 모듈 내용에 대한 접근(읽기/편집) 설정
공용(Public) 또는 전용(Private) 역할 회원 가입시 권한 설정: none, private, public, verified 사용자: 사용자 프로필 자동 설정 : 원하는 필드 추가 언어와 시간대 설정 관리자 모드에서 사용자 관리 편리 Membership provider: Whidbey (ASP.NET v2) model User Search uses % and _ wildcards User registration: None = no Register link, all accounts created by Admin Private = user registers, subject to Admin approval before login Public = user registers and is granted access to portal Verified = user registers and enters validation code from to login

18 포털 관리 호스트(Host)와 관리자(Admin) 역할 호스트 : 설치 및 환경 구성에 대한 전반적인 관리
부무와 자식 포털 및 별칭 설정 언어팩 생성 및 변경, 적용 검색엔진에 맞는 URL(Friendly URLs) 설정 사이트 로그 설정 관리자 : 호스트내에 있는 하나의 사이트 전체 관리 사이트 마법사 설정 가능 벤더와 배너 광고 뉴스레터 언어 설정 New: Superuser accounts Portals (child and parent portals are essentially the same, except for the style of URL used): Parent Portals are sites which have a unique URL ( ie. ) associated to them. Child Portals are subhosts of your Hosting Provider account. Essentially this means a directory is created on the web server which allows the site to be accessed through a URL address which includes a Parent domain name as well as the directory name ( ie. ). Alias string: comma delimited, no spaces! Each portal has an Administrator account Skins & Containers from v2 still work In the next two sessions I’ll dive into the details of Installation, Configuration and Management. Final installment covers Custom Module development.

19 사이트 가상화 DNS/IIS Database DotNetNuke PortalID=0 www.taeyo.net
PortalID=1

20 Replace Package Deploy Design
언어팩 Replace Translate Text in Resource Files (Translator) Package Package into ZIP File for Distribution (Translator) Deploy Install into your site (Admin) Design Create Resource Files (Translator)

21 파일 관리자 파일관리자 포털내에 폴더 생성 파일 업로드 파일 복사, 이동, 삭제 다운로드 파일 필터링
역할에 따른 디렉터리 설정 Better document security with directory permissions by role. Uses Client API for reducing postbacks Host upload to portals\_default; portals upload to specified directory under portals\{n}\specified-dir Zipfiles checkbox

22 스킨과 컨테이너 스킨 : 컨테이너와 전체 웹 사이트 레이아웃을 동적으로 변경하기 위한 방법 Skins applied to:
컨테이너와 전체 웹 사이트 레이아웃을 동적으로 변경하기 위한 방법 Skins applied to: 호스트에 의해서 페이지 설정 가능 콘텐츠 페이지 및 관리자 페이지 구분 컨테이너는 모듈 전용 스킨 전체 CSS 변경으로 전체 웹 사이트 모양 변경 Setting for Host vs. Portal skinning on Host Settings | Advanced Settings | Other Settings: Skin Upload Permission

23 Replace Package Deploy Design
스킨 Replace Mark Dynamic Sections with [TOKENS] (Designer) Package Package into ZIP File for Distribution (Designer) Deploy Install into your portal (Admin) Design Design Skin in Any Editor (Designer)

24 사용자 지정 모듈(Custom Modules)
메인 코어 코드를 바꾸지 않고 기능 추가 호스트 권한으로 모듈 패키지 업로드 Set modules as premium to charge for use 많은 유/무료 사용자 지정 모듈(CMs) 제공 모든 닷넷 언어로 CMs 제작 가능 Breaking changes – see the Core Framework forum for details Change core code if necessary – but not recommended: must maintain changes in future versions. CM can be marked premium (host charges for their use)

25 표준 모듈 표준 모듈 : 웹 사이트 제작시 일반적으로 필요한 기능들을 모듈로 제공 공지사항 일정관리 설문조사 포럼 블로그

26 데모 : 표준 모듈을 사용한 개인 웹 사이트 생성 HOME 블로그 갤러리 포럼 로그인 공지사항 설문조사 온라인사용자 이벤트
즐겨찾기 RSS FAQ 다운로드

27 DotNetNuke Portal 관련 사이트
– 버그 픽스 정보 제공 DotNetNuke 관련 사이트 : 강좌/모듈/스킨 제공 – DNN 포럼 – 관련 리소스 – 관련 자료 제공 – 관련 자료 제공 – 관련 자료 제공 웹 캐스트(WebCast)

28 감사합니다.


Download ppt "DotNetNuke Website Programming"

Similar presentations


Ads by Google