Mark Drew (Redux)- cf_etc...

a compendium of railo, cfml, cfeclipse and technology topics

Mark Drew (Redux)- cf_etc...

CFEclipse 1.4.4 is out!

December 22, 2010 · No Comments

The CFEclipse Team, lead by the awesome Den have managed to get another release of CFEclipse out!

Check out the "What's new" page for the new features in 1.4.4

Remember, you can always update CFEclipse from your Software update in Eclipse with the update site of http://www.cfeclipse.org/update/

If you have any issues, why not join the CFEclipse google group, this is where a bunch of friendly people will be able to help you! http://groups.google.com/group/cfeclipse-users

Enjoy!

No CommentsTags: cfeclipse · cfml

cf.Objective() 2011 Call for Speakers!

December 08, 2010 · No Comments

cf.Objective() 2011 is just round the corner and they are looking for you! Yes you! to make it the best ever conference!

All you have to do is get some ideas for presentations as well as vote for your favourite presentations that have already been submitted.

Remember! Vote Early! Vote Often!

Make your Vote count at the cf.Objective() Call for Speakers!

No CommentsTags: cfObjective · railo

Get the Lead Dev of CFEclipse to CFOpenSummit!

December 01, 2010 · 2 Comments

It has been a while since I went to a conference and saw a CFEclipse presentation. In previous years it has been me presenting on this but since Denny has taken over the development and I have joined Railo time has been short to add to the project and therefore present on the topic.

So we are starting a donation fund for Denny to attend http://www.opencfsummit.org/! It will be an amazing conference and I think the missing piece of the puzzle is the current Developer of CFEclipse presenting! So head over to http://cfeclipse.org/index.cfm/blog/dengocon/ and show your support!

Go on, you know it makes sense.

2 CommentsTags: cfeclipse · cfopensummit · getrailo

CFObjective, CodeWars and Velociraptors

November 18, 2010 · 10 Comments

Last night at CFObjective ANZ, Gert Franz and I were invited to the CodeWar hosted by Robin from RocketBoots. I have to say it was a great event at the European Beer Cafe in Melbourne, and the Railo "Flower Power" team managed, somehow, even with jetlag and lots of beers, to win (pure luck I have to say!).

[Read more →]

10 CommentsTags: cfObjective · codewar · html5 · railo

Relax with CouchDB: Presentation to the UKCFUG

October 08, 2010 · 3 Comments

Yesterday, I presented the NoSQL and CouchDB to the UK CFUG. I think it went down well and there were lots of questions and interest in the subject of Not Only SQL and how they can be used with your applications.

As promised, you can download the presentation with links and code samples here

You can also view the presentation over at Slide Six

You can check out the presentation on Adobe Connect: http://experts.na3.acrobat.com/p93766981/

3 CommentsTags: couchdb · getrailo · presentations · railo · ukcfug

Common Development Patterns: Settings per Environment

September 30, 2010 · 5 Comments

I am thinking of doing a range of blog posts related to common development patterns that I have seen implemented. These are not exactly Design Patterns, but practices that I see and have implemented myself.

To kick of this series, I thought I would talk about your application's settings depending on environment. As a background I was working on a Galleon application that in development runs on Apache with MySQL and in Staging/Live it runs on IIS and MS SQL. Generally you want to keep your environments the same of course, but the main changes were simply table names, emails and URLs so all the code was fine.

One of the things that annoyed me was that before I could check in my code to SVN, I would have to change the settings.ini.cfm file, putting all the live settings in there.

[Read more →]

5 CommentsTags: coldbox · coldspring · webdev

CouchDB Cache Extension (Beta) for Railo

September 30, 2010 · 1 Comment

I have spent a while working on this extension and after a hiatus of client work I managed to get it all uploaded and documented onto the Railo Wiki.

CouchDB is a noSQL database that allows you to store complex documents and get them by key (and revision), it is very performant and easy to replicate which makes it a great alternative as a distributed caching system, hence we created the CouchDB Cache Extension!

It is fairly simple to install, you just have to add the preview extension provider (http://preview.getrailo.org/ExtensionProvider.cfc) to the list of your Railo Extension Providers and then under your Extensions/Applications section you should now see the CouchDB Cache extension, just install that, create a Cache Connection and start using it for your Objects, Templates, Queries etc!

There are more detailed installation instructions over at the Wiki, why not check it out? http://wiki.getrailo.com/wiki/extensions:couchdb

1 CommentTags: couchdb · getrailo · railo

My Desktop

August 18, 2010 · 4 Comments

Following on from Andy Jarrett's post, since he is going to show his, I am going to show my desktop.

What's yours like?

4 CommentsTags:

Railo ORM and Magic Functions

August 06, 2010 · 4 Comments

Background: I am writing a little app to help us here at Railo with some of our contacts, nothing over the top or anything and wanted to take Sean Corfield's FW/1 for a spin.

As I am developing, I went the most direct route, I just did some queries in the service layer so my code looks like:

<cffunction name="list" output="false">
	<cfset var clients = 0>
	
	<cfquery name="clients" datasource="#variables.dsn#">
		SELECT * FROM contact;
	</cfquery>
	<cfreturn clients>
</cffunction>


<cffunction name="view" output="false">
	<cfargument name="clientid">
	<cfset var qclient = 0>
	<cfquery name="qclient" datasource="#variables.dsn#">
		SELECT * FROM contact WHERE id = <cfqueryparam cfsqltype="cf_sql_integer" value="#arguments.clientid#">;
	</cfquery>
	<cfreturn qclient>
</cffunction>

OK, nothing world shattering, so I wanted to start using the ORM features of Railo (join the pre-release group to test them out!). I changed my code to look like:

<cffunction name="list" output="false">
	<cfset var clients = 0>
	
	<cfquery name="clients" dbtype="orm">
		FROM contact
	</cfquery>
	<cfreturn clients>
</cffunction>


<cffunction name="view" output="false">
	<cfargument name="id">
	<cfreturn entityLoad("contact",arguments.id,true)>
</cffunction>

I then defined my "contact" (I can show the code but it's hardly rocket science) and then when I reloaded I got the error:

Component [contact] has no acessible Member with name [ID]

Of course! My view code looks like:

<input type="hidden" name="id" value="#rc.data.id#">


I could change all my calls to fields to

<input type="hidden" name="id" value="#rc.data.getid()#">


but why bother? I just went to the Railo Admin -> Archives & Resources: Component -> Magic Functions and enabled them, now all my view code works just as expected and I didn't have to change my view code.

 

 

4 CommentsTags: getrailo · railo

Railo at CFUNITED!

July 26, 2010 · 1 Comment

On the final CFUnited, Railo will be there in force!

You can come visit us at our stand to find out the awesome consulting services we provide as well as, of course, our most awesome Open Source CFML Engine! (yes! I used "awesome" twice!)

There might even be some delicious Swiss chocolate there too!

Apart from the stand, you can also check out our team's presentations

Sean Corfield will be talking about:

And you can also catch Gert Franz's topic:

Since most of us will be en-route to the conference tomorrow, why not email us today if you have any queries ahead of time?

See you all there! I am sure it's going to be awesome!

1 CommentTags: cfunited · getrailo · railo