Entries Tagged as “web application development”
Adobe ColdFusion | Adobe ColdFusion 11 | web application development
First, some background.
dbvarname is an attribute for cfprocparam to specify named parameters while calling a stored procedure. For details refer https://wikidocs.adobe.com/wiki/display/coldfusionen/cfprocparam
Versions prior to ColdFusion5 had support for dbvarname. This was deprecated in ColdFusion MX, brought back in 7.0.1 and deprecated again in 7.0.2. The reason was the lack of proper support from multiple jdbc drivers. Since then, this was a major ask among ColdFusion users.
ColdFusion 11 brought this attribute back from the dead. It was disabled by default with a flag to enable it. ColdFusion 11 update 3 enabled it by default. Databases need a variable prefix for named parameters. (eg:- ":" for Oracle and "@" for SQLServer). If the database is SQLServer, it should be dbvarname = "@param1". This will break applications which were using this attribute without the prefix because this attribute was being completely ignored in prior versions. So to give some time for customers who don't want to change their code, in update 4 we introduced a flag to disable dbvarname.
-Dcoldfusion.ignoredbvarname=true jvm flag can be used to disable dbvarname attribute. This flag is only for CF11 and not for later versions.
Having to change lot of code is not pleasant but we believe that is the way forward.
Administrator | ColdFusion | ColdFusion 11 | Connector | creating a website | customers | Docs | General | productivity | Tomcat | web application | web application development
You might want to set up ColdFusion in a distributed environment where ColdFusion is running on one machine and Web server is running on a different machine.
Following are the set of steps that have to be performed to achieve this (less error-prone):
This applies to both ColdFusion 10 and ColdFusion 11.
1) Have ColdFusion server installed in a machine.
2) Next thing is to download and install VC Runtime.
- The version of VC Runtime that you have to install depends on the version of ColdFusion.
Say, ColdFusion 11 needs VC Runtime 2012
(32-bit VC Runtime for 32-bit Web server and 64-bit VC Runtime for 64-bit Web server.
If you are not sure, you can install both)
and ColdFusion 10 needs VC Runtime 2010
3) Copy the following contents from the machine where ColdFusion is running to the machine where Web server is running at the same location.
4) Open a Command prompt and run wsconfig tool
C:\ColdFusion11>jre\bin\java -jar cfusion\runtime\lib\wsconfig.jar
It will open a configuration window where you have to provide AppServer Host as the ColdFusion Server IP.
Configure the connector.
Distributed environment is ready for use. Send requests to the Web server's URL with cfm files under web server root and same files under ColdFusion's Web root.
Web server would redirect these to ColdFusion, which is on some other machine.
Adobe ColdFusion Builder 3 | Adobe ColdFusion | Adobe ColdFusion 11 | Adobe ColdFusion Builder | CFBuilder | ColdFusion | web application development
I wish everyone a very happy and prosperous new year. Here comes the first blog post for the year 2015 for ColdFusion Buider 3. One of the user came across Mobile Application Development Contest blog and was further trying to develop an application using ColdFusion Builder 3. He wasn’t able to setup a connection between ColdFusion 11 and ColdFusion Builder 3. They were trying to create a “Remote Server” connection between ColdFusion Builder 3 and ColdFusion 11, installed on separate servers (distributed setup).
Here are the steps that will help you setup a remote host with ColdFusion Builder:-
1. Launch ColdFusion Builder 3 and choose your workspace.
2. Right-click on the “CF Servers” view and select
3. Select “New server configuration” and click “OK”. You can choose “Import configurations from RDS server”, in case you have RDS server setup already and want to use existing server information.
4. If you can’t locate the CF Servers, then, follow the screenshot below, to enable it.
Refer to Add a remote server and fill in the details for your server.
5. General Settings
a) Server Name: ColdFusion server name.
b) Description: (optional) Description of the server.
c) Application Server: Select the drop-down list and select CF+ Tomcat Bundle (for CF10/CF11)
d) Host Name: Name of the remote server host.
e) Select: Is Remote.
Note: When you enter a Host Name other than localhost or 127.0.0.1, Is Remote is automatically selected.
f) Webserver Port: Specify the port number of the remote ColdFusion server instance you are configuring. You can refer server.xml for the same at \ColdFusion11\cfusion\runtime\conf\.
g) RDS User Name: (optional) if you are using RDS, specify the RDS user name.
h) RDS Password: (optional) Specify the RDS password.
Click Next to move to the next screen.
6. Remote Server Settings
a) User Name: Specify the CF Admin username.
b) Password: Specify the CF Admin password.
Click Next to move to the next screen.
7. Install Extensions
Select Install Extensions to install the extensions that are packaged with ColdFusion Builder.
a) Browse and select the ColdFusion web root location.
b) Browse and select the ColdFusion web root location on the remote ColdFusion server.
c) Browse to a location within the web root to install the extensions. The extensions are installed in the Extensions directory within the selected location.
8. Click Finish to add the remote ColdFusion server instance. You can right-click on the remote server and access the ColdFusion Administrator of the remote server.
This blog post talks about, the minimal settings required to setup a remote server for CF Builder. You can skip the Install Extensions section as well.
Note: - While configuring the remote server in CF Builder, ensure that, you are able to access/ping the remote ColdFusion server outside builder. You can probably, access the remote CF Admin in the browser, for e.g. http://ip:port/CFIDE/Administrator/index.cfm and ensure connectivity.
Performance | Thunder | Adobe ColdFusion | Mobile | productivity | Rapid Application Development | Splendor | web application development | web application security
In case you haven't already noticed,the public beta for the major version of ColdFusion codenamed Splendor and for the next major version of ColdFusion Builder Thunder is now available.
You can quickly go over what's new in ColdFusion Splendor here. There are also a couple of videos on the video tab that gives you a quick introduction to what's new in ColdFusion. The link for the documentation home page is at - https://wikidocs.adobe.com/wiki/display/coldfusionen/Home
There are lots of new features and enhancements in Splendor and in Thunder. We look forward to hearing your feedback during the public beta.
Adobe ColdFusion | Announcements | web application development | web application security
trycf.com is a new learning initiative by Abram Adams. The idea of the portal is to offer tutorials for new or beginner level ColdFusion developers with interactive tutorials using which you can type in CFML code on the browser and see the results live! This is a great way to quickly learn the CFML programming without having to download ColdFusion.
What's more, Abram Adams also has a contest running right now where the you, the ColdFusion community, can help take this initiative to the next levels by submitting tutorials that thousands of other developers can use to learn. The process of submitting the turorials for the contest is simple and is outlined here. The top entry in the contest will receive $300 and every valid entry will receive a copy of ColdFusion Builder! Submit your turotials now!
learncfinaweek.com, again a community driven initiative, is already a popular resource for learning the basics of ColdFusion in just a week's time. I am confident that trycf.com too will turn out to be an excellent learning resource for CF developers.