Entries for month: February 2010

Tag Equivalents in CFSCRIPT

Posted by Akash Bavlecha on February 26, 2010
  0 comments

Hello guys,

We have recently migrated on CF9 and  i want everybody to know about cfscript enhancements made in CF9. You can now do almost every thing in cfscript tag. We have equivalent syntax for tags in CF9 to be used in CFSCRIPT.

Please have a look at link below.

Tag Equivalents in CFSCRIPT




Install SSL certificate in coldfusion.

Posted by Akash Bavlecha on February 12, 2010
  1 comments

Hello Guys,

Before couple of days, we migrated from coldfusion 8 to coldfusion 9. One of our project was using web services to transmit some updates on another application. It seems something wrong since upgradation.  The error which was repeatedly occured was 'javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated'. It occurs when you use self signed SSL certificate. To get rid of this you have to add the certificate to the list of known certs.

Please perform following steps to do so.

  • Then open a command prompt and go to coldfusion jre/bin directory.



$ cd /opt/jrun/jre/bin


  • You can install a new certificate by following command.



./keytool -import -storepass changeit -noprompt -alias newcertificate  -keystore ../lib/security/cacerts -trustcacerts -file newcertificate.cer


  1. alias - You can give any name alias to this.
  2. storepass is the password for the security store.If you haven't changed it it will be set to 'changeit'.
  3. file - certificate file which you need to install.

Make sure you have read, write permission to that certificate file.

After sucessfully following above points you still get an error then please restart you coldfusion services. I hope this would help you.

 




Building Your jQuery Plugin

Posted by Nirav Patel on February 08, 2010
  2 comments

STEP : 1
The first step is to extend the actual jQuery object with the function that we wish to add.
For Example, suppose we need to add the truncation functionality in addtion with the cluetip functionality.




Over Clause : Calculating a aggregate of column and entire record set without using group clause

Posted by Bharat Patel on February 02, 2010
  0 comments

Hi Friends,

Today, I have seen one interesting function of sql server. Most of people know about it who are familiar with sql server but I was not knowing about it and I am very surprised by over() function. Over() function returns aggregate function result without using group by clause. It is built in function of sql server. If you want to create total column with entire data set then use over() function without use any parameter. We can use aggregate function with over().




Best web developing technology - coldfusion

Posted by Akash Bavlecha on February 02, 2010
  0 comments

Hello All,

Before few days i was surfing on web and found one intersting article written by Ray Camden on adobe's website. We write less code in coldfusion to get maximum result compared to any other language.

What I have found is, CF is a productivity multiplier. It allows single coder to do the work of many people. Coldfusion is easiest , quickest and powerful.

Please check links below.