Test Your Knowledge
1.Name all the CFLOOP types and what they do.
2.Name all the Loop types in CFSCRIPT and what they do.
3.Can you loop over a query in CFSCRIPT and if so, how do you do it?
Last week's questions
- 1. Name 3 ways of getting information from a database.
- CFQUERY will access a DB with a direct SQL statment or a stored procedure.
- CFSTOREDPROC will access a stored procedure.
- CFOBJECT will allow access to the ADODB object used by MS to access a DB.
- CreateObject() function works exactly like CFOBJECT.
-
- 2. Name 4 ways of using custom Java with ColdFusion.
- Custom Java extensions can be accessed by using Java CFX tags.
- Java classes can be accessed by CFOBJECT and CreateObject().
- Enterprise Java Beans can be accessed by CFOBJECT and CreateObject().
- Servlets can be accessed by CFSERVLET (or CFHTTP).
- A Java Applet can be included into CFFORMs by using CFAPPLET.
-
- 3. Name all the tags that do comparisons of data.
- The CFIF tag
- The IIF() function
- Using a CFLOOP over a condition
- A CFSWITCH/CFCASE set can be included here as well