1. Trang chủ
  2. » Công Nghệ Thông Tin

ColdFusion MX Bible phần 1 pptx

125 1K 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 125
Dung lượng 1,38 MB

Nội dung

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 [...]... 10 9 11 1 11 1 11 3 11 4 11 6 11 7 11 7 11 8 11 8 11 9 12 0 xxi 546228 FM.F xxii 1/ 31/ 03 3:07 PM Page xxii ColdFusion MX Bible The Caveats of Using CFFORM 12 3 Summary 12 3 Chapter 7: Testing Your Code 12 5 Development Testing Test harnesses ... 13 9 13 9 14 4 14 9 15 2 15 4 15 9 16 1 16 2 16 3 16 4 16 4 17 0 17 8 17 9 Chapter 9: Putting Databases to Work 18 1 Understanding All Relational Result Sets How to Visualize What is Possible and Impossible Within an SQL Statement SQL’s processing order of precedence How and when to use GROUP BY, HAVING, and DISTINCT 18 1 18 8 18 9... Part II: Using ColdFusion MX with Databases 12 5 12 5 12 6 12 7 12 8 12 8 12 9 13 0 13 2 13 2 13 2 13 3 13 3 13 4 13 5 13 5 13 7 Chapter 8: Database Design Issues 13 9 Relational Database Basics What is a “relational database?” Describing relationships ... Directories Chapter 61: The Registry Chapter 62: Security Chapter 63: Functions, Components, & Web Services 10 75 10 87 10 91 1095 10 99 11 05 11 21 112 3 11 27 Appendix: What’s on the CD-ROM 11 35 Index ... 600 600 600 6 01 602 604 605 605 606 606 607 608 609 609 609 611 611 611 613 615 616 616 616 617 619 546228 FM.F 1/ 31/ 03 3:07 PM Page xxxi Contents Other Java Integration Topics (and Learning More) 619 Summary 620 Chapter 29: Integrating COM 6 21 Examples of Using COM ... 407 408 409 410 411 412 412 413 416 416 418 418 420 420 4 21 423 423 423 423 424 425 425 426 426 426 427 xxvii 546228 FM.F xxviii 1/ 31/ 03 3:07 PM Page xxviii ColdFusion MX Bible Chapter 21: Handling Exceptions 429 What Is Structured Exception Handling? ... 708 708 711 711 712 714 714 718 719 719 7 21 7 21 7 21 723 727 Chapter 33: Charting Data with ColdFusion MX 729 Creating a Chart Types of Chart Series Scatter Line 729 732 733 733 546228 FM.F 1/ 31/ 03 3:07 PM Page xxxiii... 13 9 18 1 205 2 51 Part III: The ColdFusion MX Language 289 Chapter 12 : Understanding ColdFusion Variables Chapter 13 : Constructing Flow Control Chapter 14 : Creating Lists and Arrays Chapter 15 : Working with Structures Chapter 16 : Scripting ColdFusion with CFSCRIPT Chapter 17 : Building User-Defined Functions Chapter 18 : Writing Custom Tags Chapter 19 :... Your Application 13 13 14 14 14 15 15 15 16 546228 FM.F xx 1/ 31/ 03 3:07 PM Page xx ColdFusion MX Bible Adding a Company to the Database Building the company add form Building the company add action template The finished template... capabilities 10 Enhanced query of queries 10 Enhanced structured exception handling 10 Enhanced debugging capabilities 11 Enhanced regular expressions 11 Summary 11 Chapter 2: Writing Your First ColdFusion MX Application 13 Your First ColdFusion Application . more 546228 Cover 1/ 22/03 12 :26 PM Page 1

Ngày đăng: 14/08/2014, 01:21

TỪ KHÓA LIÊN QUAN