coldfusion mx bible

1.3K 2.3K 0
coldfusion mx bible

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

CHURVIS, HELMS, AREHART, & CHURVIS If ColdFusion MX can do it, you can do it too . . . As e-business continues to grab market share, you’re continually challenged to create faster, cheaper, and more reliable e-commerce Web applications. ColdFusion MX offers the quickest, most reliable way to build and deploy them, and this comprehensive reference guides you from writing your first application all the way through the complexities of integrating with Web services, Flash,Java,COM,and XML. From installation to database connection configuration, from tag and function usage to code reuse, it’s like having your personal team of experts on call. Inside, you’ll find complete coverage of ColdFusion MX • Create highly interactive, database-driven Web sites with ColdFusion’s intuitive, tag-based programming language • Build and deploy content publishing systems, online stores, business reporting applications, self-service solutions, and more • Easily create and use Web services and ColdFusion Components • Integrate applications with other technologies like Java, COM, and XML • Learn how — and why — to document your code, handle source version control, and integrate security, testing, and performance • Discover how to use ColdFusion with databases, Web services, and Flash Remoting • Extend ColdFusion applications with features like task scheduling, file operations, Verity text searching, and charting Shelving Category: Internet / Web Site Design Reader Level: Beginning to Advanced System Requirements: PC running Windows 98, Windows 2000, Windows NT4 (SP6a or later) or Windows XP. See the What’s on the CD-ROM Appendix for details and complete system requirements. ISBN 0-7645-4622-8 $49.99 USA $74.99 CANADA £37.50 UK ColdFusion MX Invigorate your Web sites with ColdFusion’s rich development language Activate the power of ColdFusion to build more robust applications Integrate CFMX with powerful technologies like Flash, JSP, XML, and COM Adam Phillip Churvis, Hal Helms, Charles Arehart, and David Churvis ,!7IA7G4-fegcci!:p;o;t;T;T Trial software and code listings on CD-ROM www.wiley.com/compbooks/ Logical Data Model (LDM) CategoryCode (PK)(FK) varchar(4) NOT NULL ItemNumber (PK)(FK) varchar(15) NOT NULL CategoryInventoryItem Physical Data Model (PDM) InventoryItem ItemNumber VARCHAR(15) NOT NULL ParentItemNumber VARCHAR(15) NULL Description VARCHAR(40) NOT NULL UnitPrice NUMERIC(12,2) NOT NULL Category CategoryCode VARCHAR(4) NOT NULL CategoryName VARCHAR(20) NOT NULL InventoryItem ItemNumber (PK) varchar(15) NOT NULL ParentItemNumber varchar(15) NULL Description varchar(40) NOT NULL UnitPrice numeric(12,2) NOT NULL Category CategoryCode (PK) varchar(4) NOT NULL CategoryName varchar(20) NOT NULL 100% ONE HUNDRED PERCENT COMPREHENSIVE AUTHORITATIVE WHAT YOU NEED ONE HUNDRED PERCENT Bonus CD-ROM • Trial versions of Adalon Developer Edition, CommerceBlocks, DataFactory, LoRCAT, SourceOffSite, and Macromedia ColdFusion Server MX, plus other software • Author files, code listings and samples, and real-world applications you can use • Searchable e-version of the book C oldFusion MX Bible Perfect Bind • Trim: 7 3/8 x 9 1/4 • • 4 color process • Yellow prints 110y 15m • + spot varnish (see spot varnish pdf) • Matte laminate *85555-ABJGHg 100% COMPREHENSIVE C oldFusion MX ® ColdFusion MX ® ® BONUS CD-ROM AND COMPANION WEB SITE Software samples on CD-ROM plus more resources online ® Learn database modeling, triggers, and stored procedures Company.cfc <cffunction name="GetCompany" returntype="query" access="remote"> <cfargument name="CompanyID" type="numeric" required="yes"> <cfquery name="compRec" > </cfquery> <cfreturn compRec> </cffunction> Model Layer ColdFusion Components Controller Layer Flash Remoting Gateway View Layer Flash Movie 1 2 3 4 5 User chooses company, which triggers change handler funcion getCompany() function GetCompany_Result(companyRecord) { companyName_txt.text = companyRecord.items[0].CompanyName; address_txt.text = companyRecord.items[0].Address; city_txt.text = companyRecord.items[0].City; state_txt.text = companyRecord.items[0].State; zipCode_txt.text = companyRecord.items[0].ZipCode; 6 Flash movie's GetCompany_Results() ActionScript function populates movie fields from returned record, which is received as an object named companyRecord ActionScript getCompany() calls GetCompany(companyID) in gateway Gateway routes request with company ID to . . . (Company.cfc).GetCompany() Gateway routes responnse with compRec to . . . (FlashMovie).GetCompany_Result() This is one view element and this is a second view element. Choose Company: ABC Company, Inc. Company Name: ABC Company, Inc. Address: 1234 Main Street City: Atlanta State: GA Zip Code: 30303 Create a complete Flash Remoting application Companion Web site at www.wiley.com/compbooks/churvis provides code samples, useful links, and more 546228 Cover 1/22/03 12:26 PM Page 1 [...]... Started with ColdFusion MX 1 Chapter 1: Introducing ColdFusion MX 3 Chapter 2: Writing Your First ColdFusion MX Application 13 Chapter 3: Using ColdFusion MX Tags and Functions 63 Chapter 4: Understanding Servers and Clients 77 Chapter 5: Learning a Little SQL 83 Chapter 6: Using ColdFusion. .. 591 Part V: Integrating ColdFusion MX with Other Technologies 597 Chapter 28: Integrating ColdFusion MX and Java Chapter 29: Integrating COM Chapter 30: Integrating ColdFusion MX with XML and WDDX Chapter 31: Communicating via Mail, FTP, and HTTP 599 621 637 681 Part VI: Extending Your ColdFusion MX Applications ... Getting Started with ColdFusion MX 1 Chapter 1: Introducing ColdFusion MX 3 Why a Tag-Based Language? 3 ColdFusion Can Be Extended In Many Ways 4 What You Need To Get Started 5 An Overview of What’s New in ColdFusion MX 6 Tag-based user defined functions 6 ColdFusion components... about using forms and testing your code 546228 FM.F x 1/31/03 3:07 PM Page x ColdFusion MX Bible Part II: Using ColdFusion MX with Databases ColdFusion would be nearly useless without some kind of database as its backend Part II starts with a chapter on database design, moves on to a discussion about using databases with ColdFusion, and then spends two whole chapters on effective and advanced database... 305 317 333 353 363 375 399 407 429 Part IV: ColdFusion MX Components, Web Services, and Flash Integration 447 Chapter 22: Understanding ColdFusion MX Components Chapter 23: Building Your First ColdFusion Components Chapter 24: Migrating Custom Tags and UDFs to Components Chapter 25: Building Web Services with ColdFusion MX ... Started with ColdFusion MX The first part of the book incorporates seven chapters relating to the most basic aspects of ColdFusion After a brief introduction, we provide a tutorial on building (and understanding) your first ColdFusion MX application The rest of Part I focuses on the basics of the language itself, the underlying technology, and an introduction to using SQL effectively with ColdFusion. .. is even more powerful than these other languages In fact, ColdFusion MX scripts are compiled into Java classes, and those Java classes are executed by an embedded version of JRun, Macromedia’s powerful J2EE server This book is intended as a comprehensive tour of ColdFusion MX: It’s broad enough to give you a feel for everything that ColdFusion MX can do, but it’s deep enough that you can use the knowledge... source-code control, effective use of ColdFusion Studio, and integrating security into your applications Part VIII: ColdFusion MX Administration Part VIII is comparatively short, but it’s packed with information about getting the most out of ColdFusion MX by tweaking its server settings Part VIII is split into two chapters, the first covering all the settings available in ColdFusion Administrator and the... ColdFusion MX Applications 705 Chapter 32: Adding Useful ColdFusion MX Features to Your Application Chapter 33: Charting Data with ColdFusion MX Chapter 34: Leveraging Nifty Custom Tags Chapter 35: Tools to Enhance the Development Environment 707 729 741 751 Part VII: ColdFusion MX Development Practices 767 Chapter 36: Documenting... CD-ROM Appendix at the end of the book gives full details of all these items xi 546228 FM.F xii 1/31/03 3:07 PM Page xii ColdFusion MX Bible How To Get The Most Out Of This Book Treat this book as you would a novel and not a cookbook Most people, on picking up the ColdFusion MX Bible, would probably look up the one specific subject that they want to learn about and go directly there Although this approach . 1

Ngày đăng: 31/05/2014, 23:34

Mục lục

  • ColdFusion® MX Bible

    • Frontmatter

      • About the Authors

      • Contents at a Glance

      • Part I: Getting Started with ColdFusion MX

        • Chapter 1: Introducing ColdFusion MX

          • Why a Tag-Based Language?

          • ColdFusion Can Be Extended In Many Ways

          • What You Need To Get Started

          • An Overview of What's New in ColdFusion MX

            • Tag-based user defined functions

            • Java Server Pages integration

            • Enhanced query of queries

            • Enhanced structured exception handling

            • Chapter 2: Writing Your First ColdFusion MX Application

              • Your First ColdFusion Application

                • Some terms

                • What you'll need

                • Preparing your Web environment

                • Setting up the database

                • Planning Program Flow

                  • Think in terms of processes

                  • Think in terms of data

                  • Setting Up the Framework For Your Application

                  • Adding a Company to the Database

                    • Building the company add form

                    • Building the company add action template

                    • Getting a List of Companies

                      • Building the company list

                      • Using a SELECT statement

Tài liệu cùng người dùng

Tài liệu liên quan