Archive for October, 2009

SQL editor & SQL code assist

Open SQL Editor:
You can right-click in the CFML editor, and select SQL Editor.
Or, you can use the keyboard shortcut Ctrl+Alt+S (Windows) or Command_Alt+S (Mac OS).
Using SQL Editor to write and edit SQL statements:
In the SQL Editor, select a server from the Server drop-down list and a database from the Datasources drop-down list.
Enter the SQL statement and click OK. The SQL statement is inserted in the CFML editor at the current caret position.
You can also copy SQL code blocks from the SQL Editor directly into the CFML editor by selecting the code block and pressing Shift+Enter.
To edit a SQL code block in the CFML editor, select the code block, right-click, and select SQL Editor. The selected code block appears in the SQL Editor.
Code Assist for SQL statements:
Code Assist is available only for database table names and field names in the SQL statement.
For code hints to appear, begin entering the SQL statement in the SQL editor, and press Ctrl+<Space> to display the database table names or field names.
Navigate through the list of table names or field names using the Up Arrow and Down Arrow keys.
Select a table name or field name and press Enter. The selected table or field is added to the SQL statement.

Support for non JRun Based servers

Prior to Public Beta Non-JRun based servers could not be added in CFB. That is if your ColdFusion is running on WAS or JBOSS, you couldn’t add the server in Builder and work on it.
We have now implemented this support. In your Public beta 2 build you will see that while adding the server the Application Server field as a combo-box, If you are working with non JRun Server you should select the option ‘Other’ so that on the second page you just need to enter the Document root.
The only thing you cannot do while adding a non- Jrun server is starting-stopping the server hence you will be prompted about that message when you select the option ‘Other’.
However you can associate this server with a project and preview and debug files. Infact if you have a virtual host for the server you can add that as well.
Working on all kinds of Application servers is now supported with ColdFusion Builder.
Looking forward for your feedback about the same… :)

Issues on Mac – some tips

For those of you facing CFB performance and stability issues on Snow Leopard or on Mac in general, can you please try the following and let us know if you see any difference?
1. Uncheck ‘Use Mozilla browser for Extensions’ in Preferences->ColdFusion->Extensions
2. Turn off ‘Time Machine’ in System Preferences
Thanks,
Dipanwita
Adobe ColdFusion QE Team

CFBuilder(CFB) performance

This is the key area we are trying to focus on for our next release. We had done considerable work on performance improvements for the previous Beta. But, we do understand that there is scope of improvement. We have gathered a mixed feedback from various forums, surveys, interaction in conferences, bugs reported etc, whereby we found that some users see the improvements whereas some still face serious issues with performance. For example, many of you reported issues with editor once you upgraded to Snow Leopard. There are many editor issues discussed like the ones on Snow Leopard, editing being slow even with small files, huge startup time, CFB becoming unusable, unstable build, system slowing down on using CFB etc, the repro cases for which are not straightforward. We do not hit upon them when we try out the reported cases here. The issues users face could be due to various reasons like improper installation, jvm.config tuning, server settings collection, system environment etc. So, we need more help and specific inputs from you in order to know what exactly is going wrong when user is trying to do a particular operation in CFB.
If you have been facing any of the issues mentioned above or something even remotely similar to them, please take the stack trace using the handy tool at

http://www.adaptj.com/main/download

All you need to do is to select the CFBuilder process id from the current list of processes and get the thread dump.
The tool is free if you use Java Web Start to download it. And works on MAC, Linux & Windows.
I urge each one of you who are facing or have already reported any of these issues to please use the tool and send us the thread dump as soon as you hit upon them. You can email it to me directly at dsarkar@adobe.com with a crisp description of the issue. Users on Snow Leopard who have reported that they find CFB unstable on this platform, please send us the details as and when you face them using this tool. This will help us to resolve your painpoints.
For free evaluation license, Go to Help->License, pick up the System Id from there. Then register yourself and provide the System ID. You will get an evaluation license with expiry date through email.

SQL Editor

With this release we give you a brand new SQL editor which is integrated into the CFML editor. The SQL Editor supports code assist and code colorization for the following types of SQL statements:

  • Select
  • Insert
  • Update
  • Delete

Also, note that for SQL statements within the cfquery tag, code assist is available in the CFML editor itself. You need not open the SQL Editor for code completion hints. In order to get code assist in the main editor or the SQL editor, you must have a server configured, running and associated with your project in ColdFusion Builder. The SQL editor does not support offline databases. I shall write more about the type of SQL code assist available in subsequent posts.

SQL colorization

Did you know that you can colorize your SQL inside <cfquery> now? You can colorize SQL keywords, comments, and text within the cfquery tag. And yes, you can set your SQL colorization preferences through Window->Preferences->ColdFusion->Editor Profiles->Editor->Colors->Tokens->SQL. Hope this helps in resolving the issue of SQL code not standing out in your CFML code.

New enhancements in Server manager

The Public Beta 2 has some new additions in the Server area:
- Virtual Host support : You can now add your virtual hosts to your server. And associate these with your project. This makes it easier for you to work on your sites and manage your servers
- URL Prefix : This was one more thing which a lot of you wanted and it has been supported in 2 ways- Server Wizard and right clicking in the navigator view->’Set URl Prefix’.
- Support for non-Jrun servers : You can now add a Non-Jrun server i.e. JBOSS, WAS etc into CFbuilder and work with it. The only thing you can’t do here is start-stop-restart the server.
- Couple of Bug fixes : We have tried to fix a couple of major issues that you were facing while adding a server or working with it. If you see any new issue then feel free to add your comment.
Do get your hands dirty with these new ones!

ColdFusion 9 and ColdFusion Builder Public Beta 2 Released!!

So now you know where the ColdFusion Builder Team had suddenly vanished for a while with no posts on the Blog and ‘no hear-no say’ happening.
ColdFusion 9(Centaur) was officially released along with the Public Beta 2 of ColdFusion Builder on the 5th Oct 09.
Which means you have a newer server to serve and a better release of the Builder to code!
Do try and let us know how you feel about it!