Marcos Placona Blog

Programming, technology and the taming of the web.

Month: June 2009 (page 1 of 2)

Got CFEclipse 1.3.4?

Reading time: 1 – 2 minutes

Yep, after my post from yesterday talking about Eclipse Galileo release, I’m here yet again to announce another release.
The CFEclipse team has just released it’s version 1.3.4 with a ton of bugfixes and some improvements.
Just a few things that deserve to be highlighted (copied from the CFE developer’s post on the mailing list):

  • An updated CF8 Dictionary;
  • Some mild updates to the parser;
  • Mark occurrences of selected words (tag/variable/method/etc);
  • Integration with Eclipse’s DocShare (optional);
  • Preference for modifying the browse url on unit tests to run unit tests;
  • Other bugs…;
Go grab it while it’s fresh.
There’s also a nightly build available in for the adventurous

Galileo is here!

Reading time: < 1 minute

Just a quick post to say that Eclipse IDE (3.5) included on the annual release named Galileo is out, and still hot from the oven.
Download your copy now if you want to enjoy all that’s new in this wonderful project.

Another free ColdFusion service – cfaday

Reading time: 2 – 4 minutes

I’ve just published the last piece of the puzzle. For those who read my last blog post, you should be already familiar with the “a day series”
It’s a small set of applications aimed to all ColdFusion Developers who want to go the extra mile, and not limit their knowledge to only a small set of information.
The functionality is pretty simple, you set one of the URL’s as your homepage, and every time you open a new page/tab, it shows you a new ColdFusion function or tag deppending on the flavor you chose.
I’m now publishing the version that includes it all:

This last bit, includes all the current ColdFusion Functions and Tags mixed together, and works the same way as the previous versions. Again I’d encourage everybody to try it, and use it in a daily basis. it’s incredible how much I’ve been learning in the past few days just by giving a quick read on every new tab I open.
If you find any problem, or have any comment aout it, please let me know, and I shall fix it.
Check it out and bookmark it!

Two new and free ColdFusion services for you!

Reading time: 2 – 4 minutes

So I’ve been playing with Google App Engines, and decided to create two projects in favour of our beloved ColdFusion.
I know there’s tons of that stuff around the web, but I wanted to make one that would actually help people from all levels. I’ll put their URL’s here first, so you can cease your curiosity, and then I’ll explain more as we go.

http://cftagaday.placona.co.uk/
http://cffunctionaday.placona.co.uk/

Basically, from the URL’s you can guess what they do, but if you didn’t. It will select a random tag/function from it’s database, and display it for you with it’s brief description.
 
Pretty simple huh?

Well, the main idea behind it, is bring new stuff for ColdFusion developers. While building this apps, I realized I don’t know many of the ColdFusion tags and functions, simply because I never had to use them. I.e. do you know what the function FileSetAccessMode is for? Do you know what sorts of RSS can the tag cffeed generate?

Well, that’s exactly it, sometimes we close our eyes for all the wonderful functionalities ColdFusion has already built in, and end up re-inventing the wheel.
Never more!

I promise you that if you spend only the few seconds you spend once you open a new tab reading the contents of each randomly generated pages, you’ll not be part of the “didn’t know about that” statistics.

Also, as you might have already noticed, you can also use the services as live documentation, as by going to the URL and typing the tag/function name after it, you get its description and a link to Adobe’s documentation, so you can read examples and comments.
This is how it works:

http://cftagaday.placona.co.uk/cflogout
http://cffunctionaday.placona.co.uk/IsDebugMode

Simply type the function/tag name, and get the documentation with no hassle.

I’ve created one service for each category, so if you’re more of a “tag person”, simply add http://cftagaday.placona.co.uk as your browser’s Home Page; and on every single tab, you get a different tag. Whereas if you’re more into functions, add http://cffunctionaday.placona.co.uk and enjoy!

I’ve also created a service that mixes the two of them, so on each refresh you will get either a tag or a function. It’s on process of publishing, and will be up soon.

I hope you enjoy it, and please let me know if you find bugs, and can think of anything that can make the service better.

I’ll also be working on a Railo version of it, as soon as I can gather all the necessary tag and function information.

Creating new ColdFusion 8 instances – The easy way – Appendix

Reading time: 3 – 4 minutes

Following Andy Allan’s comment on my previous post, I decided to write a new post and make some things clear here.

In fact, I didn’t realize that creating the new instance as a Windows Service through ColdFusion Administrator would cause so much trouble as it does. Basically, if you do check “Create Windows Service“, your new instnace will automatically be created as a Windows Service. It’s not too bad, as you would normally want your new ColdFusion instance to start-up with your server.

The problem here is that it will be created as a “native” Windows service; therefore using the same jvm.config for every single instance you create. Meaning that you have no control whatsoever of how much memory is used by the instance, or how often your garbage collector to be triggered.

It wouldn’t be a problem for many, but if you are in production mode, I’m sure you will need to do some fine tuning on your jvm.config in order to have a good performance.
The solution then, is to create a jvm.config manually and turn your instance into a Windows Service manually. I’ve done this before, and I can assure you it’s a very boring job, and you need to pay extra attention, otherwise your server won’t even start-up, and you will lose hours trying to find out what’s going one. I’m sure people will back me up on this.

That’s why I’ve put together a quick and dirty Adobe AIR app that does all the job for you, so you will only need to “tell” it what your configurations are, and it will create two files for you on your new instance’s folder.
You then only need to execute a batch file (created “automagically” by my app), and your service will be created pointing to your newly generated jvm.conf file. Obviously, you can edit this jvm.conf file in order to do some fine tuning, but once the service is created, you only need to make your changes and restart the service, without the need of creating the service again.

It’s a very basic application, as there’s no reason to complicate. It does the job in a very clever way, and really saves you time and efforts. I’ll be accepting suggestions in terms of functionality should anybody think there’s anything else to be done.
 

Please upgrade your Flash Player
This is the content that would be shown if the user does not have Flash Player 6.0.65 or higher installed.

Older posts