Showing posts with label coldfusion interview question. Show all posts
Showing posts with label coldfusion interview question. Show all posts

Friday, March 25, 2011

ColdFusion Interview Question Part 4

1. How one can provide secured internet applications using adobe ColdFusion?
  • Memory leak during transmit of information
  • Impersonation which is like an exact clone which enters as legitimate
  • Unauthorized access
These mechanisms are handled by adobe by using Data encryption, User Authentication and Access control.

2. Explain the structure of Cold fusion?
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
3. What is CFCHART engine?
This CFCHART provides more than 200 different attributes which can be altered and these attributes can be used to control animation, labels, and colors. This CFCHART engine is used to produce high quality graphs, charts, sketches, and these charts can also aid you in Business analysis. These charts aid you very much in developing a good business presentation as you can control every part of it.
 
4. What are the benefits of multiple server instances?
The benefits of multiple server instances are, a single server is enough to deploy a host of applications which makes it highly applicable this was not the case when MX7 was present. Applications running on a server need not be stopped for maintenance as the work and load is shared upon multiple servers. Security, optimized applications and clustering are some of the main benefits of Adobe cold fusion multiple server instances.
 
5. What are the two primary types of files in a cold fusion application?
There are two primary types of file systems in ColdFusion which are used extensively they are Coldfusion templates and coldfusion pages. Developers in addition to these use CFML. These can contain HTML and often CFML for Dynamic content.
 
6. Can we modify ColdFusion server code and what are the two open source CFML parsing engines?
Server code of ColdFusion cannot be viewed or modified. The language of ColdFusion itself is documented and subjected to rights laid down by adobe. The two open source engines which are parsing ColdFusion’s markup languages are Blue dragon and Smith project. Blue dragon is a J2EE version.
 
7. What is Web Server?
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.
 

ColdFusion Interview Question Part 3

1. What is cold fusion component roles implementation?
Cold fusion component roles implementation allows users to log into their role based administrator support function and not any other function. If a user tries to enter into other functions an error is thrown. These roles and components are taken by the Cold fusion. These roles and functions are transmitted through action script which allows the users to work on their components.
 
2. How can you create dynamic query?
  • Dynamic SQL is a SQL code that your program generates using variables before the SQL is executed.
  • In coldfusion, CFQUERY give full provision to write all conditional logic & looping to derive the dynamic sql statement to execute.
  • You can use dynamic SQL to accomplish tasks such as adding WHERE clauses to a search based on the fields that the user filled out on a search criteria page.
3. State and explain about integrating Coldfusion applications with JSP.
A cold fusion page can contain JSP or a servlet and a JSP page can contain Coldfusion applications. This facilitates easy access to build hybrid functions and applications which can combine coldfusion components and servlets.

4. Explain about enterprise manager?
Enterprise manager helps you in admin functions. This will help you to create multiple cf server instances, through which you can experience advanced security, performance, and savings.

5. What are the different types of resources through which cold fusion can communicate?
  • Mobile phones that support SMS
  • XMPP or Lotus IM clients
  • Java sockets
  • Java messaging service
  • Content management systems and file systems
6. What is Application Server?
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.
 
7. What is the benefit of extensible gateway architecture?
Developers can benefit from extensible gateways by limitless variety of emerging protocols. Developers can benefit by the creation of event gateways.
 

ColdFusion Interview Question Part 2

1. Explain about ColdFusion administrator?
ColdFusion administrator is a web based application just like the Cpanel this has many sub options through which you can control many functions such as data sources, global server settings, debugging settings, and application security settings. If you are having multiple administrator services then password must be provided for all those services. Also multiple user instances are provided where by a server can be split into cluster of Coldfusion administrators where a specific work can be provided to a specific individual who cannot alter changes.
 
2. What is CFAbort?
  • Stops the processing of a ColdFusion page at the tag location.
  • ColdFusion returns to the user or calling tag everything that was processed before the cfabort tag.
  • You can optionally specify an error message to display using showError attribute. 
  • The tag is often used with conditional logic to stop processing a page when a condition occurs.
3. What is SaveContent?
  • Used to save the generated content to a variable, including the results of evaluating expressions and executing custom tags.
  •  This tag requires an end tag.
  • Main usage of savcontent is cache partial pages.
4. How can you connect with database from Coldfusion?
  • Database manipulation tags (cfquery, cfstoredproc, cfinsert, cfupdate) have an attribute called datasource which used to identify/connect to a database.
  • Data sources can be defined in CF administrator section.
5. What is Flash form?
  • Flash form is a form like ordinary HTML form, with flash format which run on flash player enabled browsers.
  • Using cfform tag CF automatically generates the swf format form's Flash binary from your CFML code.
  • Flash Forms can be used to create a better forms experience for your users. 
  • These features include accordion-style and multiple-tab form panes and automatic element positioning.
  • You can also display cftree, cfgrid, and cfcalendar form elements as Flash
6. Describe about string encryption?
CFML language provides a 32 bit encryption which is symmetric key based. This function is called as Encrypt. Cold fusion at present uses 32 bit encryption but if your application requires 1024 bit encryption you can happily use that function because cold fusion integrates with third party libraries. Cold fusion also uses Hash function which is very important in safeguarding passwords. They use MD5 and XOR based algorithm.
 
7. Is it possible to write cold fusion in cold fusion?
No it is not possible to write ColdFusion in ColdFusion. Actually ColdFusion was written in Java and to write programs we need to implement other kinds of programs such as Java, .NET etc. These programs are required because ColdFusion alone cannot survive.  

ColdFusion Interview Question Part 1

1. What exactly is ColdFusion?
Cold fusion is the only software which helps the programmer to develop dynamic websites with backend database. ColdFusion is the only website which helps in developing dynamic websites. This is useful in software development. This has an application server and software development framework which greatly aid in developing computer software.
 
 2. What is CFFlush?
The first occurrence of this tag on a page sends back the HTML headers and any other available HTML. Subsequent cfflush tags on the page send only the output that was generated after the previous flush.
When you flush data, ensure that enough information is available, as some browsers might not respond if you flush only a small amount. Similarly, set the interval attribute for a few hundred bytes or more, but not thousands of bytes.
Use the interval attribute only when a large amount of output will be sent to the client, such as in a cfloop or a cfoutput of a large query. Using this form globally (such as in the Application.cfm file) might cause unexpected errors when CFML tags that modify HTML headers are executed.
 
3. Describe in detail about programming details in ColdFusion?
ColdFusion differs from major languages such as JSP, ASP.NET or PHP due to its associated scripting language and ColdFusion markup language. The syntax closely resembles to HTML. This language supports server side Action script and embedded scripts which can be written in ColdFusion script. This script is used for data driven websites. This technology also supports languages such as Flex which is used for client side scripting. This has many interfaces embedded in it which allows for services such as SMS and instant messaging.
 
4. What is the difference between HTMLEditFormat and HTMLCodeFormat?
Difference between HTMLCodeFormat function and HTMLEditFormat is that HTMLEditFormat does not surround the text in an HTML pre tag

5. What is CFQueryparam? What is the use?
  • It separates parameters from the surrounding SQL.
  • It allows the database’s SQL analyzer to more efficiently handle the SQL statement
  • It validates data for the parameters which used to avoid SQL injection attacks.
6. Explain about some of the features present in ColdFusion MX7?
This edition from adobe was named as Macromedia ColdFusion MX7. Some of the features which are present are web forms, Xforms, adobe acrobat friendly report builder, flash, excel and rich text format style. This edition of cold fusion provided Gateways which helped in connecting various services such as IM, SMS, etc.
 
7. Describe about Clustering.
In previous installations of Adobe cold fusion multiple servers were required to run the application but adobe cold fusion 8 mitigated the problem by clustering Coldfusion into multiple physical installations which take over the load if any application fails during its course of time. This also allows in easy maintenance and possible reduction in maintaining multiple servers. This was made possible by J2EE server.