Unit 02

W
Shared by: hedongchenchen
Categories
Tags
-
Stats
views:
222
posted:
4/10/2012
language:
pages:
17
Document Sample
scope of work template
							Unit 2: Introducing ColdFusion MX
for SUN ONE
Topics                                         2-1


   Advantages of Dynamic Web Pages
   ColdFusion Markup Language (CFML)
   ColdFusion MX for SUN ONE Components and
    Features
Static Web Pages                                             2-3

   A web browser requests a page
   A web server sends the page to the browser
   The browser interprets the HTML and displays the page’s
    content

            http://www.mysite.com/products.htm



                                             http
                  Web Browser


                                                    Web
                                                    Server




                                      <html>
                                      Bikes
                                      Skis
                                      Snowboards
                                      </html>
Dynamic Web Pages                                                          2-4


If the requested page has a .cfm extension, it gets passed
to ColdFusion for processing

           http://www.mysite.com/cgi/products.cfm




                                         http

                 Web Browser


                                                    Web      Application
                                                    Server   Server



                                      <html>
                                      Bikes
                                      Skis
                                      Skates
                                      </html>
CFML                                         2-5


   <cfabort>               <cflocation>
   <cfapplication>         <cflogin>
   <cfform>                <cfloginuser>
   <cfinput>               <cflogout>
   <cfif>, <cfelse>,       <cfoutput>
    <cfelseif>              <cfparam>
   <cfinclude>             <cfquery>
   <cfinvoke>              <cfset>
   <cfinvokeargument>
Client-Side Technologies                                              2-5


  Any      client-side technology is allowed
    ›Client-side scripting such as JavaScript, Jscript and VBScript
    ›Client-side executables such as ActiveX and Java applets
    ›Cascading Style Sheets
  Also    works with Java server-side constructs (JSPs, servlets, tag
   libraries) but not other server-side technologies


  Note: While other server technologies cannot be included in
  ColdFusion pages, they can be accessed by web services.
Demonstration                                      2-6


   Creating a Variable and Displaying Its Value
ColdFusion MX Components                  2-7
and Features

   Tools
     › ColdFusion MX for SUN ONE
     › Dreamweaver MX (sold separately)
     › CFML
ColdFusion MX Features                    2-8


   Advanced database connectivity using JDBC connections
   Email generation and retrieval using SMTP/POP
   File management
   Lightweight Directory Access Protocol (LDAP) server
    integration
   COM and DCOM object support
   An extensive set of tags and the ability to create custom
    tags
ColdFusion Features (continued) 2-8


   A complete set of functions along with the ability to create
    your own
   ColdFusion MX components
   Simple creation and consumption of web services
   Increased integration with J2EE, Macromedia Flash MX,
    and SUN ONE Server
   Easy integration of information from multiple data sources
    by merging and querying result sets in memory
ColdFusion Features (continued) 2-8


   Support for expressions in queries, including regular
    expressions
   Browser-based interface which allows for remote
    administration
   Scalable deployment through multi-threaded service,
    web server API support, and other technologies
   Deployable on multi-server clusters with native load
    balancing and failover to deliver large volume sites
Best-of-Breed Web Technologies 2-9


   ActiveX                    Macromedia Flash MX
   COM/DCOM                   OpenMarket
   CORBA                      Shockwave
   Cybercash                  SMIL
   Dreamweaver MX             Verity K2 Server
   Enterprise JavaBeans       Version Control Software
   ICVerify                   Web services
   JSPs/Servlets              WML
ColdFusion MX for SUN ONE


   Windows
   Solaris and HP/UX
   Linux
ColdFusion MX Configuration         2-10




          Web server and         Database
          ColdFusion MX
          server




          Dreamweaver MX
          development stations
Unit Summary                                              2-11

   When a static page is requested, the web server sends the
    page to the browser in the form of HTML. The browser then
    interprets the HTML and displays the page.
   Dynamic pages let you create dynamic content that updates
    itself based upon time or user.
   When a dynamic ColdFusion page is requested, the web
    server passes the page to the ColdFusion MX server that
    processes the ColdFusion tags and sends the results back to
    the web server as HTML. The web server combines that
    output with the HTML on the original page and returns it to the
    browser.
   ColdFusion is a server-side technology that lets you create
    dynamic web pages and complete web applications quickly
    and easily.
Unit Summary (continued)                         2-11

   CFML is a server-side markup language that is similar to
    HTML.
   ColdFusion MX components include the ColdFusion MX
    server, Dreamweaver MX, and CFML.
   ColdFusion MX works with a broad range of web servers.
   For development, all components can reside on the same
    server. For production, however, you will want a more robust
    configuration.
Lab 2:Browsing Example                2-13
Applications

In this lab, you examine example applications that are
delivered with ColdFusion MX for SUN ONE. These
examples provide real-world examples of core ColdFusion
concepts. View the code that makes each application
work.

						
Related docs
Other docs by hedongchenchen
Donley PE 10.8-10.19
Views: 392  |  Downloads: 0
DoMN YOG Rego form 2 pilgrims
Views: 206  |  Downloads: 0
Donchian
Views: 0  |  Downloads: 0
Donation Requests 101006f
Views: 0  |  Downloads: 0
Donation_Request
Views: 0  |  Downloads: 0
Donalyn-Miller-Book-list
Views: 0  |  Downloads: 0
don't judge
Views: 0  |  Downloads: 0
Domestic Service Groups
Views: 0  |  Downloads: 0
domainsandmeasuresnovember2012_tcm77-286624
Views: 0  |  Downloads: 0
domainsandmeasuresfinal_tcm77-287743
Views: 0  |  Downloads: 0