Welcome to www.programmer2programmer.net  Its all about Programming !


programmer2programmer.net

 Tips
 Microsoft Certification
 Final Year Project Idea
 Connection Strings
 Password Recovery
 SQL Injection
 Encryption & Decryption
  
 LIVE Academic Project
 Project #1 - VB6, Access
  Project #2 - VB.Net, SQL
 Project #3 - ASP, Access
 Project #4 - ASP.NET, C#
 Project #5 - VB6, SQL
 Project #6 - Stegano
 Project #7 - C
 Project #8 - C++
 Project #9 - JAVA, MySQL
 Project #10- PHP, MySQL
 Project #11- JSP, Oracle
 Project #12- C# Face Exp
 Project #13- Mobile Bank
 Download MBA Project
 MBA Project Topic
 Project Viva Question
  2017 New Projects
 Project Synopsis Download
  
 University Question Paper and Assignment
 SMU - Question Paper
 SMU - Assignment
 SCDL - Assignment
  
 Interview Question Answer
 General & HR Round
 Visual Basic 6
 VB.Net & C#
 ASP.Net
 SQL Server
  Oracle and DBA
 My SQL
  

100% Tested
Ready Academic IT Projects

BE, ME, BTech, BCA, MCA, MBA, Bsc-IT, MS, BIT, ADIT, DOEACC, IGNOU, SMU
readymadeproject.com
One stop solution for VB6, VB.Net, C#, ASP.Net, Crystal Report, Oracle, SQL Server, MySql, PHP, XML, AJAX ....
Home Personal Member Forum Source Project Tips Contact  
 

 

ColdFusion

What is Cold Fusion?
Cold Fusion (formerly owned by Allaire; purchased by Macromedia in 2001) is product of Adobe lets you create web application that Integrate Browser, Server, And Database Technologies. ColdFusion Web applications can contain XML, HTML, and other client technologies such as CSS and JavaScript.

 

1. What is ColdFusion ?

 
  2. ColdFusion Tags  
  3. ColdFusion Functions  
  4. ColdFusion DataAccess  
  5. ColdFusion Source Code  
  6. ColdFusion FAQ's  
 

Cold Fusion supports more than 70 server side tags, more than 200 Functions, and over more than 800 third party components.

Editions of Cold Fusion?
There are three editions of Cold Fusion: Enterprise, Professional, and Express. Using ColdFusion Enterprise and professional editions and cold fusion studio, you can build applications that leverage existing technologies and business.

Advantages of ColdFusion

  1. Rapid Application Development (RAD)
     Rapid Development Build complex applications quickly and easily. Cold Fusion support RAD development through the following features.
> ColdFusion a tag based server scripting language that is powerful and intuitive.
> Two-way visual programming and database tools.
> Remote interactive debugging identifying and fixing problems quickly.
> Web application wizards to automate common development tasks.
> Source Control Integration to enable team development.
> Secure file and database access via HTTP for remote development.
> A tag-based component architecture for flexible code reuse.
 
  2. Scalability
     Scalable Deployment Deliver reliable, complex sites and applications with load balancing and fail-over through following features.
> A multi-threaded services architecture that scales across processors.
> Database connection pooling to optimize database performance.
> Just-in-time page compilation and caching to accelerate page request processing.
> Dynamic Load balancing for scalable performance in a cluster environment.
> Automatic server recovery and fail-over for high availability.
 
  3. Open Integration
    Open Integration Use the full range of Internet and enterprise technologies through the following features.
> Database connectivity using native database drivers ODBC, or OLE-DB.
> Embedded support for full text indexing and searching.
> Standards-based integration with directory, Mail, HTTP, FTP and file.
> Connectivity to distributed object technologies including CORBA, COM and Java.
Objects and EJBs.
> Open extensibility with C/C++ and Java.
 
  4. Complete Security
    Complete Security Control Access your servers for development and administration and use advanced security features to protect applications during run-time. through the following features.
> Integration with existing authentication systems including Win NT.
> Directory servers, and proprietary user and group databases.
> Support for existing database security.
> Support for existing Web server authentication, security, and encryption>
 

Cold Fusion Component
ColdFusion application pages looks like HTML Pages, however it is more powerful and dynamic, Cold fusion applications rely on several core component they are as follows.

  1. Cold Fusion Studio
     Cold Fusion Studio is the development environment for Cold Fusion Server. It offers visual development tools, including dynamic page previews using your Web browser an interactive debugger, a query builder, an expression builder, project management and source control tools, and many other productivity enhancements.
 
  2. Cold Fusion Application Pages
    Applications pages are the functional parts of a Cold Fusion application, including the user interface pages and forms that handle data input and format data output. They can contain Cold Fusion Tags (CFML), HTML Tags, CF Script JavaScript, and anything else you can normally embed in an ordinary HTML page. The default file extension used for Cold Fusion application pages CFM.
 
  3. CFML
    CFML or Cold Fusion Markup Language is a tag based server scripting language that encapsulates complex process such as connecting to database and LADP servers, and sending email. The core of the Cold Fusion development platform language is more than 70 server-side tags and more than 200 functions.
 
  4. Cold Fusion Server
    Cold Fusion Server listens for requests form the Web server to process Cold Fusion Application pages. It runs as a service under Windows NT and as a process under UNIX.
 
  5. Cold Fusion Administrator
    Cold fusion administrator to configure various Cold Fusion Server options including.
> Cold Fusion data sources
> Debugging output
> Server settings
> Application security
> Server clustering
> Scheduling page execution
> Directory mapping
 
  6. Data Sources
    Cold Fusion applications may interact with any database that supports the ODBC standard. However, Cold Fusion is not limited to ODBC data sources. You can also retrieve data using OLE-DB, native database drives, or directory servers that support the Lightweight Directory Access Protocol (LDAP). data can also be retrieved from mail servers that support the Post Office Protocol (POP) and which are indexed in variety collections.
 

How ColdFusion Server process Cold Fusion Server Pages.
Cold Fusion application pages are processed on the server at runtime, each time they are requested by a browser. A page request happens when you click on a web site link open a web page in your browser, when you request a cold fusion application page with .cfm or .cfml extension, Cold Fusion server processes the request, rerives any data if necessary routes the data through the Web Server back to your browser.

Sequence happens when a Cold Fusion page is opened.

  1. The client requests a page that contains CFML tags.
  2. The Web server passes files to Cold Fusion Server if a page request contains a Cold Fusion file extension.
  3. Cold Fusion Server scans the page and processes all CFML tags.
  4. Cold Fusion Server then returns only HTML and other client-side technologies to the Web server.
  5. The Web server passes the page back to the browser.
     
CFML Source HTML Source Browser Output
<CFQUERY NAME="Products" DATASOURCE="ProdDB">
SELECT PName, PPrice FROM Products
Where PPrice >= 10

</CFQUERY>
<HTML>
<BODY>
<H1>Product and Prices</H1>
<CFOUTPUT QUERY="
ProdDB">
#PName# = #PPrice#
</CFOUTPUT>
</BODY>
</HTML>
<HTML>
<BODY>
<H1>Product and Prices</H1>
Paper = 90.00
Shirt = 65.00
Pepsi = 10.00
Limca = 12.00
</BODY>
</HTML>
Product and Prices

Paper = 90.00
Shirt = 65.00
Pepsi = 10.00
Limca = 12.00
     

Try yourself.
Download and Install ColdFusion in your web server from https://www.adobe.com/cfusion/tdrc/index.cfm?loc=en%5Fus&product=coldfusion

1. Install it in Win 2000 or Win NT Server.
2. Load any text editor (Notepad, WordPad, Word, TextPlus)
3. Type following Code
   <html>
   <head>
   <title>
     Hello World from Cold Fusion
   </title>
   </head>
   <body>
    <h1>
      <CFSET V1="ColdFusion">
      <CFOUTPUT>
        Welcome to #V1#
      </CFOUTPUT>
     </h1>
   </body>
   </html>


2. Save the file with .CFM or .CFML extension.
3. Copy the file and paste it in your web server hosted folder.
4. Open the Browse and type the web address of your server.
5. It will display "Welcome to ColdFusion"
6. If you see the source of HTML file it displays
  <html>
  <head>
  <title>
    Hello World from Cold Fusion
  </title>
  </head>
  <body>
   <h1>


    Welcome to ColdFusion

   </h1>
  </body>
  </html>

ColdFusion Resource
1. www.w3.org
2. www.w3school.com

 

 

 

(C) Atanu Maity, 2006-2007