Most Important Frequently Asked Adobe Coldfusion Interview Questions
-
Question 1. What Is Coldfusion?
Answer :
In computing, ColdFusion is the name of a commercial rapid application development platform invented by Jeremy and JJ Allaire in 1995. (The programming language used with that platform is also commonly called ColdFusion, though is more accurately known as CFML.) ColdFusion was originally designed to make it easier to connect simple HTML pages to a database, by version 2 (1996) it had become a full platform that included an IDE in addition to a "full" scripting language.
As of 2010, versions of ColdFusion (purchased by Adobe Systems in 2005) include advanced features for enterprise integration and development of rich Internet applications.
-
Question 2. What Advantages Has Coldfusion?
Answer :
The advantages are much easier Installation and Migration, it is compatible with each operating system and database, it has simpler learning process and accelerated development, has permissions to each J2EE library and this part of Adobe family being compatible with Flash, Flex, PDF, etc.
Adobe Indesign Interview Questions -
Question 3. Why Is Coldfusion Mx6 Different Than Coldfusion 5?
Answer :
The versions of Coldfusion older than 6 where developed with Microsoft Visual C++, version 6 is based on a Java type of construction. MX means Matrix, in this version the most important things implemented are: support for Linux and Mac, OOP, Verity Searches.
-
Question 4. What Is The Meaning Of Application And Session Time Out And Where Are They Used?
Answer :
Application Time Out is the duration of the existence of an application, until it times out, if it is not accessed. Session Time Out is the duration of the existence protocols of a session until it times out, if it is not accessed.
Adobe Flex Tutorial -
Question 5. What Meaning Has A Coldfusion Component?
Answer :
Coldfusion component is a basic construction block for making structured, teared or scalable applications, it is made to process black boxes, for transactions and backend integration.
Adobe AEM/CQ Interview Questions -
Question 6. What Is The Role Of A Cfchart Engine?
Answer :
CFCHART has over 200 various attributes, they can be modified and used for animation, colors and label control. The CFCHART engine can make graphs, sketches of charts that have great quality and are very useful in Business Analysis; very versatile presentations can also be made.
-
Question 7. Are We Able To Communicate From Coldfusion To An Apache Or Iis Server?
Answer :
Coldfusion is like a Common Gateway Interface Application. This means it works like a mechanism that enables dynamic output to be received by web servers. Usually web servers use static data and now the dynamic data will be seen as static.
- when a request is transmitted by the browser to a web server for the purpose of getting a Coldfusion template the server will see the data sent by the browser as a CGI output request.
- in the case in which forms are used to initiate requests the data from the form will be stored by the server in a place where other programs may find it.To do this we often use STDOUT data streams. The form information will be written to the INI type of files by the WinCGI interface, it will become available for the CGI application for reading.
- the data is requested by the CGI program and returned in step.
- the data is formatted by the CGI program and return in step.
- the output is received by the server which makes the next server side processing that is required and then it is sent to the browser. Normally Coldfusion uses server API modules for server to server communication.
Adobe CQ5 Interview Questions -
Answer :
Stored procedures give the best performance when it comes to putting application logic to the database side. They have the disadvantage of slowing down the performance and the development if their code is weak.
-
Question 9. How Does The Application.cfm Work?
Answer :
When page directory of an application is not having an Application.cfm page, the Colfusion directory tree is being verified for the existence of an Application.cfm page; if there are more than one in multiple directories, the first found will be used. If the permission are set, Coldfusion will include Application.cfm anyway. For every request only one Application.cfm will be processed.
Adobe Flash CS6 Interview Questions -
Question 10. What Is The Meaning Of Onrequestend.cfm And When Is The Execution Made?
Answer :
The OnRequestEnd.cfm page is processed after every page in the application, in the same way like Application.cfm performing prior to the application page code. OnRequestEnd.cfm and Application.cfm pages have to exist in the same directory that is used by Coldfusion for the present page. Only that directory isbeing searched.
-
Question 11. What Are The Main Components Of Coldfusion?
Answer :
ColdFusion have the following main components:
- ColdFusion admin
- CFML (ColdFusion markup language)
- CF script
- Variety search
Adobe Flex Interview Questions -
Question 12. What Is The Architecture Of Coldfusion?
Answer :
Presentation server (presentation layer), Application server, Web server and a database server. It has a J2ee web container that is the base of ColdFusion environment. And a ColdFusion runtime environment that will interprets the ColdFusion requests, and a database server.
Adobe Indesign Interview Questions -
Question 13. What Are The Main Features Of Coldfusion?
Answer :
ColdFusion has many benefits over other web languages. The very first thing we need to discuss is, ColdFusion is the first web languages that has been developed to build web application (dynamic). After ColdFusion, PHP, and Microsoft’s asp .net were in the market. PHP is free and so many small companies and individual entrepreneurs use it. So php is widely used compared to others because it is free. Microsoft’s asp .net is next to it for mid to big size organizations as it give good support and of course the brand name also does the magic. ColdFusion though it is the first language from the rest, because of lack of publicity and cost, it is still not widely used. But below are the main benefits of ColdFusion over others. It is very easy to install and very easy to migrate from older version to new version. It does support all operating systems. It is very easy to learn because of its self explanatory code/tags.
Easy integration to other adobe products such as flex, adobe pdf, flash etc.. Good database support and works for all protocols.
-
Question 14. What Is The Main Difference Between Coldfusion 5.0 And Coldfusion mx6.0?
Answer :
New era started for ColdFusion from MX versions.. such as Mac, Linux support, Flash remoting new Variety search functionalityand code and debug of flash components.
-
Question 15. What Are The Advantages Of Coldfusion 9 Over Older Versions?
Answer :
ColdFusion 9.0 has many benefits over older versions and to name few they are:
Coldfusion can be used as a service with out writing lines of code, we can get results by using: CFChart, Cfdocument, CFImage, CFmail, CFPDF and cfpop etc. And also these services can be sandboxed in order to give more security. Adobe AIR database synchronization. New AJAX controls are added. Server manager is a new feature by which from one access point we can manage several admin tasks of various servers. Also ColdFusion 9 allows you to create coldfusion component as a portlet. Adobe Flex Actionscript Interview Questions -
Answer :
Application.cfm page will be used to define application level variables, for example instead of declaring dsn variable in every query you use, you can define the variable in application.cfm page once and can use that variable in every ColdFusion page you use queries to retrieve data from database. We can definitely use more than one application.cfm pages, however, only the first application.cfm page that the ColdFusion server finds, will be used. Application.cfm page is not mandatory.
-
Question 17. What Are The Important Components Of Application.cfm Page?
Answer :
Name, clientStorage, LoginStorage, ClientManagement, ApplicationTimeout, SetclientCcookies, SessionTimeout etc..
Adobe After Effects Interview Questions -
Question 18. How To Use Clientmanagement In Application.cfm Page? Give An example?
Answer :
ClientManagement can be enabled and disabled as and when we need depending upon the requirement.
- In the Application.cfc initialization code This.clientmanagement="True" / "false"
This.clientStorage="[Ur_datasource_name]" / "registry" / "cookie"
- In appliation.cfm using tag attributes clientManagement="yes" / "no"
clientStorage="[Ur_datasource_name]" / "registry" / "cookie"
[Ur_datasource_name] Stored in ODBC or native data source.You must create storage repository in the Administrator. registry Stored in the system registry.cookie Stored on client computer in a cookie. Scalable. If client disables cookies in the browser, client variables do not work.
Adobe AEM/CQ Interview Questions -
Question 19. How To Upload A File Using Coldfusion?
Answer :
By using cffile tag, we can upload a file to the server.
A typical cffile syntax is:
<cffile action="upload"
fileField="fileUpload"
destination="C:docs"> -
Question 20. What Is Query Of Queries? What Is The Use Of Query Of Queries?
Answer :
Coldfusion has a beautiful feature called Query of Queries which is mainly used for improving performance of the application. Query of Queries is the result of an existing database query result.This will be done by using coldfusion “cfquery” tag and need to
specify dbtype = ‘query’.Eg:
select *
from NameOfAnotherQuery
where ColumnName = 'SomeValue' Adobe Analytics Interview Questions -
Question 21. How To You Debug A Coldfusion Program?
Answer :
Coldfusion provides us many debugging options in order to trouble shoot a coldfusion program.
The important are:
CFDUMP, eg: <cfdump var="#abcd#">
CFABORT, eg: <cfabort>On the debugging settings in coldfusion administrator. (you will see the lengthy debugging information at the bottom of the coldfusion result).
-
Question 22. Can You Explain Get File & Put File ?
Answer :
(coldfusion FTP <cfftp>) : By using coldfusion <cfftp> tag, we can send data from local computer to the server and also retrieve the data from server to the local computer. By using Get file, we can retrieve data from server:
<cfftp
action="getFile"
server="127.0.0.1"
username="user1"
password="pass1"
remotefile="/abcd.jpeg"
localfile="C:examples/efgh.jpg"
failIfExists="no">
By usingPut file, we can send data to the server:<cfftp action="putFile"
server="127.0.0.1"
username="user1"
password="pass1"
localfile="C:examples/efgh.jpg"
remotefile="/abcd.jpeg"
failIfExists="no"> -
Question 23. How Error Handling Is Handled In Coldfusion?
Answer :
While debugging is mainly used to debug the code and to see run time values. Especially for trouble shooting. How ever, once the programs are in production server, we can not debug, but to avoide users seeing all the error messages when a program unexpectedly failed and throwing errors, we can use error handling methods. TRY and CATCH is the best among them to handle any database related errors.
<cftry>
Here is your actual code…of coldfusion….
</cfcatch>Write your message to the user in case of any error.
</cfcatch>
</cftry> Adobe Edge Interview Questions -
Question 24. What Is Application Server?
Answer :
A server that exposes business logic to client applications through various protocols including HTTP, HTTPS, IIOS/SSL.
Eg: Sun Java Application server, weblogic server It takes care of important issues like Transaction Management, Security, Database Connection Pooling, Clustering, Scalability,session management,load balancing,thread management and Messaging etc. A web server cannot provide these.
Adobe CQ5 Interview Questions -
Question 25. What Is Web Server?
Answer :
A computer that delivers (serves up) Web pages. Every Web server has an IP address and possibly a domain name. For example, if you enter the URL http://www.domainname.com/index.html in your browser, this sends a request to the server whose domain name is domainname.com. The server then fetches the page named index.html and sends it to your browser. Any computer can be turned into a Web server by installing server software and connecting the machine to the Internet. There are many Web server software applications, including public domain software from NCSA and Apache, and commercial packages from Microsoft, Netscape and others.
-
Question 26. Explain The Structure Of Cold Fusion?
Answer :
ColdFusion is implemented on the J2EE. J2EE is a standard, it is not a programming language. J2EE is an implementation of the Java programming language, but includes a number of Application Programming Interfaces (APIs) for connecting to databases, queuing messages, connecting to registries and naming and directory services. All of these APIs are used by coldfusion for many of its base services and other runtime services.
ColdFusion consists of following components:
- cf script
- CFML
- ColdFusion Administrator
- Verity Search Server
Topic: Adobe Coldfusion Interview Questions
No comments:
Post a Comment