Tải bản đầy đủ - 0 (trang)
Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET

Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET

Tải bản đầy đủ - 0trang

www.it-ebooks.info



Walker



ffirs.tex V3 - 01/22/2009



6:17pm



Page i



www.it-ebooks.info



Professional

®



DotNetNuke 5

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx

Chapter 1: An Inside Look at the Evolution of DotNetNuke . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Chapter 2: Installing DotNetNuke Version 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

Chapter 3: Portal Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

Chapter 4: Portal Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107

Chapter 5: Host Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

Chapter 6: Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185

Chapter 7: DotNetNuke Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223

Chapter 8: Core DotNetNuke APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243

Chapter 9: Member Role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287

Chapter 10: Client API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303

Chapter 11: Localization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329

Chapter 12: Beginning Module Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351

Chapter 13: Developing Modules: the Database Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377

Chapter 14: Developing Modules: The Business Logic Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . 397

Chapter 15: Developing Modules: The Presentation Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419

Chapter 16: Skinning DotNetNuke . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459

Chapter 17: Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505

Chapter 18: DotNetNuke’s Commercial Evolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527

Appendix A: Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535

Appendix B: System Message Tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549



Walker ffirs.tex



V3 - 01/22/2009



6:17pm



Page ii



www.it-ebooks.info



Walker



ffirs.tex V3 - 01/22/2009



6:17pm



Page iii



www.it-ebooks.info



Professional

®



DotNetNuke 5



Walker



ffirs.tex



V3 - 01/22/2009



6:17pm



Page iv



www.it-ebooks.info



Walker



ffirs.tex V3 - 01/22/2009



6:17pm



Page v



www.it-ebooks.info



Professional

®



DotNetNuke 5

Open Source Web Application Framework

for ASP.NET

Shaun Walker

Brian Scarbeau

Darrell Hardy

Stan Schultes

Ryan Morgan



Wiley Publishing, Inc.



Walker



ffirs.tex



V3 - 01/22/2009



6:17pm



Page vi



www.it-ebooks.info



Professional DotNetNuke®5

Published by

Wiley Publishing, Inc.

10475 Crosspoint Boulevard

Indianapolis, IN 46256



www.wiley.com

Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana

Published by Wiley Publishing, Inc., Indianapolis, Indiana

Published simultaneously in Canada

ISBN: 978-0-470-43870-1

Manufactured in the United States of America

10 9 8 7 6 5 4 3 2 1

Library of Congress Cataloging-in-Publication Data is available from the publisher.

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by

any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under

Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the

Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center,

222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, John Wiley & Sons., 111 River Street, Hoboken, NJ 07030, (201)

748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.

Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with

respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties,

including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended

by sales or promotional materials. The advice and strategies contained herein may not be suitable for every

situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting,

or other professional services. If professional assistance is required, the services of a competent professional person

should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an

organization or Web site is referred to in this work as a citation and/or a potential source of further information

does not mean that the author or the publisher endorses the information the organization or Web site may provide

or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may

have changed or disappeared between when this work was written and when it is read.

For general information on our other products and services please contact our Customer Care Department within the

United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.

Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress

are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and

other countries, and may not be used without written permission. DotNetNuke®, DNN®, and the DotNetNuke logo

are trademarks or registered trademarks of DotNetNuke Corporation. All other trademarks are the property of their

respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.

Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be

available in electronic books.



Walker



ffirs.tex V3 - 01/22/2009



6:17pm



Page vii



www.it-ebooks.info



I would like to dedicate my part of this book to my parents, Sam and Virginia Hardy, my wife, Kathy Hardy, and

my God, all of whom have had a major part of making me who I am and without whom my contribution to this

book would not have been possible.

— Darrell Hardy

To my wonderful wife Laurie, who just smiles when I take on new projects when I’m already too busy. I’m a very

lucky man! Also to my sons Tyler and Erik — both in college and making that often difficult transition to

adulthood. Best of luck to you both in the coming years.

— Stan Schultes

Thank you to Jesus for saving me, my wife for being my strength, and my family and friends for always making

me laugh.

— Ryan Morgan



Walker



ffirs.tex V3 - 01/22/2009



6:17pm



Page viii



www.it-ebooks.info



Walker



f01.tex



V3 - 01/22/2009



6:19pm



Page ix



www.it-ebooks.info



About the Wrox DotNetNuke Series Editor

Shaun Walker (MVP, ASPInsider) is co-founder, Vice President of Engineering of DotNetNuke Corporation and chief architect of DotNetNuke. Shaun has 15 years of professional experience in architecting and

implementing large-scale software solutions for private and public organizations. Shaun is the original

creator and maintainer of DotNetNuke, a web application framework for ASP.NET which has spawned

the largest and most successful Open Source community project on the Microsoft platform. Based on

his significant community contributions he was recognized as a Microsoft Most Valuable Professional

(MVP) in 2004 and an ASPInsider in 2005. He is a frequent speaker at User Groups in his local area and is

a contributing author to the WROX Press books Professional DotNetNuke 4 — Open Source Web Application

Framework and Professional DotNetNuke ASP.NET Portals.



About the Authors

Brian Scarbeau is a Microsoft MVP and a seasoned computer science trainer. He has his MBA and

Certifications as a WebMaster and Network Instructor. He has spoken at various Code Camps about

DotNetNuke® and more recently at the DotNetNuke Open Force 08 event in Orlando, FL. He has developed a DotNetNuke® curriculum and a series of webcasts for Microsoft Corporation. He was also selected

by Microsoft Corporation to be part of a Faculty Advisory Board. He has traveled the United States and

Canada conducting training seminars on .NET products. Presently, he is on the Board of Directors for the

Computer Science Teacher’s Association and he started the Orlando DotNetNuke® User Group. His blog

is here: http://geekswithblogs.net/bscarbeau

Darrell Hardy has been designing and building data-driven applications for more than 20 years. Having

spent several years working with a management consulting firm, he brings to the table not only technical

expertise but also an understanding of the business side of the equation. His passion is for software that

matches business processes and allows for improvements in the business process as well as the software.

Currently Darrell is the Vice President of Hardy Consulting, Inc. (http://www.hardyconsulting.com/)

and manages several domestic and international accounts. He enjoys speaking, teaching, problem solving, and helping people become problem solvers.

Stan Schultes is an Architect and Software Developer at a mid-size, high-tech manufacturing company,

where he designs and builds engineering design automation systems. He has been building enterprise

manufacturing software and systems for more than 25 years, and building Microsoft solutions since 1994.

He has led application development teams in companies as diverse as a small startup to the Fortune 200.

Stan is a Microsoft MVP in Visual Basic, a former columnist and Contributing Editor with Visual Studio

Magazine, and has written for MSDN online. He is very active within the Microsoft developer community, and he runs or is involved in several developer groups. Stan is a prolific speaker at community

events such as the Visual Studio 2008 and 2005 launch events, Day of Patterns & Practices, Code Camps,

user groups, and DevDays. He has recorded nearly 20 MSDN webcasts, and is currently co-developing

episodes of a developer seminar series that may end up on TV. He can be reached through his web

site and blog at http://www.VBNetExpert.com. Stan resides in Sarasota, FL, with his family, and that’s

where he hangs out with his geeky friends, a bunch of beer lovers, and some fitness fanatics.

Ryan Morgan is managing partner and software architect at Arrow Consulting & Design in West Palm

Beach, FL. At Arrow Consulting & Design, Ryan has designed, developed, and delivered projects for

federal and local government clients, enterprise clients with global reach, and hundreds of small businesses throughout North America and Western Europe. Ryan has used his unique mix of marketing



Walker f01.tex



V3 - 01/22/2009



6:19pm



Page x



www.it-ebooks.info



About the Wrox DotNetNuke Series Editor

background and development expertise to help audiences learn DotNetNuke at Florida Code Camps,

.NET User Groups, and webcasts at http://www.ArrowNuke.com. Ryan also writes a DotNetNuke consulting blog at http://www.DotNetNukeConsulting.Wordpress.com, a DotNetNuke skinning blog at

http://www.dotnetnuke-skin.blogspot.com, and a development blog at http://www.ArrowNuke.com.



About the Technical Editors

Philip Beadle (MCAD, MVP) is a founding member of the DotNetNuke Core Team, a Microsoft

Certified Application Developer, and is experienced in the development and commercial application of

the DotNetNuke framework based on Microsoft’s .NET technology. He has successfully developed and

implemented sites for clients in Australia and overseas and was recently awarded the Microsoft Most

Valuable Professional (MVP) award in ASP/ASP.NET. Philip is a regular contributor to online technical

lists and communities and is a sought-after speaker at technology conferences and .NET User Groups

such as the Victoria .Net Users Group (http://www.victoriadotnet.com.au/index.aspx?link_id=84).

He recently completed the MSDN update tour for Australia and New Zealand and presented at

Microsoft’s Tech Ed 2005. Philip is employed as a Senior Consultant by Readify (http://readify

.com.au/Default.aspx?tabid=1), which is a group of elite consultants, specializing in technical

readiness, who help organizations evolve with emerging Microsoft technologies, keeping them a step

ahead of their competitors.

Jon Henning is a senior consultant with Solution Partners Inc. (http://www.solpart.com), a

Chicago-based consulting company specializing in Microsoft technologies. He is an MCSD who has been

working with Visual Studio .NET since the PDC release. Though he has written several articles dealing

with all aspects of programming, his current love is the development of rich client-side functionality.

With the introduction of DotNetNuke v3, Jon initiated the development of the DotNetNuke ClientAPI,

which enabled developers to write rich client-side cross-browser logic against a simple API. The use of

this API can be found throughout DotNetNuke, including the DotNetNuke Suite of web controls found

at http://webcontrols.dotnetnuke.com. More recently he has provided DotNetNuke AJAX Module

templates that utilize both new functionality in the ClientAPI and the Microsoft AJAX Framework at

http://www.codeplex.com/codeendeavortemplate. Jon resides in Aurora, IL, with his wife Holly, and

two children, Kyle and Carter.

Charles Nurse (MVP) has been developing software for more than 25 years. He is currently Senior Architect for DotNetNuke Corporation and has been a DotNetNuke developer for more than 6 years, the last

4.5 years as a Trustee of the project. His primary role on the DotNetNuke Project is as a Core Developer.

A native of Bristol, England, he obtained a Bachelor of Arts in Chemistry from Oxford University. In 1978,

he moved to Canada to continue his studies at the University of British Columbia where he obtained a

Ph.D. (also in chemistry), and where he met his wife Eileen. More recently (2003) he completed a Post

Baccalaureate Certificate in Object Technology Programming at Simon Fraser University. In 2007 he

was made a Microsoft ASP.NET MVP and in 2008 he was elected to be a member of the ASPInsiders

group. He has spoken at a number of conferences (Software Developers Conference, DevConnections,

DevTeach) and User Groups, and has acted as Technical Advisor for two DotNetNuke-related books. He

has a blog at http://www.charlesnurse.com. He lives in Langley, BC, Canada with his wife and two

adult children, both students at Simon Fraser University.

Will Strohl is an ASP.NET architect and developer based in the Orlando area. Having been in the web

development field for more than 10 years, he began professionally in 2000. Currently, Will is the Technology Director for an exciting new online travel company called RezHub.com. He is also an active member

and President of the Orlando DotNetNuke Users Group, and a member of the reformed DotNetNuke



x



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET

Tải bản đầy đủ ngay(0 tr)

×