File Explorer issues in CFEclipse soon history?

I have the Trac page with the File Explorer issue in CFEclipse automatically opening in one of the tabs when I open my browser. Until recently nothing was there except the bug report itself. But now it seems something is happening. Someone with the username burnsra has posted a fix, so now I guess we'll just have to wait for the fix to make it into a upgrade.

Have a look at the Trac page here.

Jump on the OO bandwagon now!

During the last years there's been very many really good blog posts on all levels on programing CF OO style.

I even had my own "Object Oriented Blog Process" series - which turned out not to be so good :)

But at the time there are two series of blog post that aims at teaching you how to get on with OO.

The first one is Charlie Griefers (aka CJ) "going OO" series, documenting a OO noobs journy into OO territory. It can be found here.

The other series take another approach as it is clearly written by someone who knows his stuff; "Object Oriented Coldfusion" by Adrian J. Moreno. I don't know who Adrian is from before, but he writes great stuff. Find it here.

While waiting for the File Explorer to be fixed in CFEclipse

It's been a while since I made the transition to CFEclipse as my full-time CF coding tool.

However, even after Mark's heroic efforts after me bugging him the FTP functionality in the File Explorer left a little to be desired. This I could live with though. But now that the File Explorer itself has stopped working, so I can no longer open any local files that are not part of a project, that is worse. We have a "zillion" clients in work and to create a project to fix or update small things is not something I want to do.

But I came up with a temporary work-around:

Created a project called "temp" and pointet it to wherever. For each location on your computer or (as in my case) the local network, right click on the project and choose "New > Folder". Name the folder something like "Our smaller clients" or whatever suits the location you are interested in. Then click the "Advanced" button on the bottom and check the "Link to folder in the file system" check box, and browse to the directory you need.

This way you can still have access to all the local files you need without opening a new project each time.

- - -

ps - you can keep an eye at the situation with the File Explorer at http://trac.cfeclipse.org/cfeclipse/ticket/332

pss - Mark you're still my hero, and well deserve the break you've taken of from CFEclipse. However, when you get back to it, and wonder where to start of, you know where my vote is ;)

What's happening with newBee? (Kind of a Roadmap)

According to riaForge the newBee page has been seen more than 3600 times, and the framework itself downloaded 60 times. That is much more than I would have thought. I've not heard from anyone who has downloaded and tried it though, so as far as I know I'm the only one who have developed applications/sites using this framework. However I still plan on developing the framework further, and also promote it a bit more once it reaches a 1.0 release.

Here are the things I would like to do before calling it a 1.0 release:

  • Whitespace controll Look into how much whitespace controll I can do within the framework without affecting how you would code a newBee application.
  • Assigning results to scopes This would make it easier to make multiple step forms, save login information etc.
  • Save named views A little "rip-of" of how Model-Glue does it.
  • More and better documentation
  • General code cleaning and commenting the code better

I'm sure there was at least one more thing I had on my mind..... Well, well - that's the list for now

I'm also planing a website for the framework.

EDIT: Now I remember the last thing I wanted to do: Error catching. And maybe some debugging output as well.

FarCry 4 tutorial everybody should see?

I just wrote a tutorial on making plugins in FarCry 4 making use of the FarCry Form Tools technology. I think it really shows some of the awesome powers of FarCry. Scaffolding, ORM, code- and application generation in a very smooth package is what this is about.

While FarCry is known to be an amazing CMS - it has developed into a full blown application framework - where CMS is just one of the plugins that you can make use of. In this tutorial I show you how to build another application/plugin - even though this plugin is mainly ment to be used together with the CMS.

Enough said - click the download link below to download the tutorial in pdf format.

DOWNLOAD

Now running BlogCFC without get-/setProfileString

Almost one week ago my blog went down. Replaced by an error telling me that "The requested template has been denied access to setprofilestring".

I posted a ticket with HostingAtoZ, where I have my sites hosted. The reply was that setProfileString is a restricted function and that I must have changed my code. I wrote them back telling that I've been running BlogCFC for a long time, and that they enabled setProfileString for my just for this purpose when I first installed BlogCFC. The answer was that they were wrong enabling it the first time and could not help.

Ok - I accept that it is a restricted tag, and I would have accepted getting a warning saying something like "we've discovered that by error...yadada.....could you make the necessary changes within a week." But that they suddenly just restrict it causing my blog to just go down like that - that is harder to accept.

For some days I've been considering moving over to another host, but dreaded the thought.

So instead I decided to see if I could get BlogCFC to work without using setProfileString and getProfileString. It took some trial and error, since I cant access robust error messages either, but here is what I came up with:

In the blog.cfc file in the org/camden/blog folder I just comented out the part with setProfileString so that line 2020 and 2021 was replaced with this:

<!---
<cfset setProfileString(variables.cfgFile, instance.name, arguments.property, arguments.value)>
<cfset instance[arguments.property] = arguments.value>
--->

The slightly (but not much) trickier part is in the utils.cfc file in the same folder. But what I did was to move the configuration info from the blog.ini.cfm file into the utils.cfc file. Now this is not good programing. I could have made a xml file or some other configuration file, and I might still do, but this was a shoot at getting the blog up and running as fast as possible.

Here's part of the code (starting on line 119 in the configParam() method:

<!--- delete parts with get- and setProfileString --->
<cfset var result = "">
      
<cfswitch expression="#key#">
<cfcase value="dsn">
   <cfset result="my_dsn">
</cfcase>
<cfcase value="owneremail">
   <cfset result="trond@ulseth.no">
</cfcase>
<cfcase value="blogURL">
   <cfset result="http://trond.ulseth.no/index.cfm">
</cfcase>
<!--- continue for each or the config params in the blog.ini.cfm file --->
</cfswitch>

<cfreturn result>

As I said - not the best solution, but it's working (apparently).

newBee - small update

I've added a small update to newBee today. You can grab it from the svn at Riaforge (the download zip file is not updated yet).

The update simply gives precedence to the form scope over the url scope to be used in the request scope. The request scope is what makes the controller layer pass info from the view to the model layer, so this affects how applications will work in situations where there are url and form variables named identically.

The reason for the update is that I found it to be preferable to have it this way in the application I'm working with at the time.

I know that in Model-Glue (and probably other frameworks you can set which scope has precedence in the config file). Not sure if I'll introduce this in newBee.

NewBee - now in public beta

I've now done the last updates to the NewBee framework that I wanted to get done before going public beta.

The framework can be downloaded from Riaforge.com (http://newbee.riaforge.com).

The version number now is 0.5 - I don't expect many changes before the final 1.0 version though.

So far there is no documentation expect my earlier blog posts about getting started with NewBee. Documentation will follow (relatively) shortly.

- - -

If you are new to frameworks, but would like to get started, download it - and tell me what you think.

If you are a framework junkie, and would like to add another one to your list, download it - and tell me what you think.

If you are a ColdFusion superhero and would like to help me make NewBee better, download it - and tell me what you think.

In fact - whoever you are - just download it - and tell me what you think ;)

Subclipse is awesome, and not difficult

I'm not a very advanced user of SVN, and up until now I've used TortoiseSVN as the client of my choice. However being that I now have a mac at home I needed to find a SVN client for OSX. However I could not find anything that looked as easy to use as Tortoise.

I've been using (CF)Eclipse for quite a while, but for some reason I always thought that Subclipse is a advanced/difficult SVN client. However, realizing that I should probably learn it I decided to go ahead and (try to) use that on the mac.

To make it short: It's awesome. It's every bit as easy to use as Tortoise, and the fact that you create a new Eclipse project as part of setting up your local working copy is one of those things that really makes it worth while.

I've just scratched the surface of Subclipse yet, but it is the SVN client of choice for me from now on - yes, even on Windows machines.

Some of you might be thinking something along the lines of "Instead of just going on about how easy and great it is - why can't he tell us how to use it?". Well my friends, I see no reason to, because there is already a VERY GOOD explanation available, and which is the one I used to get started. It's written by Aaron West and can be found at his blog.

So Aaron, if you ever read this, Thanx a lot mate!

newBee on RIAForge (now with forum)

My before mentioned framework newBee is now on RIAForge. While the version currently in the SVN respiratory is not meant for the public (there is some stuff I need to clean up - and some documentation to be written), it is there. Mostly because I needed/wanted a SVN repository for it.

While I did not intend to go public with it quite yet, it has been reported several places that it is there, and so far the project has more than 500 views. So I see no point in not blogging about it myself :)

Today I added the forum option in RIAForge, seeing that many have been visiting and may have some questions, or other input about newBee.

I hope to get some time during Easter to finish version 0.5 which will be a stable, but maybe not optimized and feature complete version.

More Entries