Tags:
ColdFusion 8, ColdFusion 9, Coldbox
A few years ago I wrote a small component for ColdBox that actually allowed me to modify the Application settings, specifically the ORM settings and cfclocation. There was nothing special to this component and I had it working for sometime, that was until I moved ColdBox away from the root of the application and used per application mappings instead.
Which is when I discovered something very interesting with Application.cfc and the constructor.
Tags:
ColdFusion 9, Coldbox
Recently I needed the ability to set response headers in script, previously I had just used the layout to use the tag version. Now although it isn't anything new and we have been able to do this in ColdFusion since the days ColdFusion was written in Java, if not earlier, I thought I would share what I was trying to achieve and provide a better insight to the possibilities.
Tags:
Coldfusion, ColdFusion 8, ColdFusion 9, Coldbox
I was asked the other day for some examples on using resource bundles inside ColdBox, and even though it is rather easy to use and setup, I thought I would do a very quick post on how easy it is.
Tags:
Coldfusion, ColdFusion 8, ColdFusion 9, Coldbox
As this question comes up a lot, I thought I would blog about this some more. ColdBox is brilliant when it comes to doing things by convention, and minimising our work, and emails is no different. However one of the main problems that comes up a lot is how to send emails to developers, rather than to the real recipient of the email while in development.
Tags:
General, Coldfusion, ColdFusion 9, Coldbox
I have been looking into a problem that I have just started noticing, and when I looked into it further I was shocked to find that under a good load on the website I was starting to get the following error.
java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343)
And is related to this post I made a few days ago.
http://www.andyscott.id.au/2011/4/15/ColdBox-and-automatically-loading-interceptors-for-modules-within-your-application
The question that I have is what or how is this actually happening.
Tags:
ColdFusion 8, Coldfusion, ColdFusion 9, Coldbox
In the last few years I have been working on a fairly largish project in my spare time, and I was getting a little tired of registering all my interceptors in the configuration each and every time. I thought to myself that there had to be a better way than this.
After thinking about this for a long time I came up with the following solution.
Tags:
Coldfusion, ColdFusion 9, Coldbox
Today I wanted to give a very quick post on interceptors, and how you might leverage them in a real world example.
Tags:
Coldfusion, ColdFusion 9, Coldbox
This is nothing new to ColdBox 3.0 and has been in the framework for a few versions now, but I wanted to show how you can have the same application for both Development, staging, testing and production without changing any configurations. Well at least not once it has been setup anyway.
Tags:
ColdFusion 9, CFORM, Coldbox
I was curious on how to go about doing something like this in ColdFusion ORM, and how hard it would be to accomplish. The problem wasn't as hard as I thought it might be, in fact once you get around the concept of how Nested Sets work. It was fairly painless putting it together.
Tags:
General, Coldfusion, Coldbox, MockBox
The last company I worked for was a full on Agile development company, and I had almost forgotten about this little gem until someone forwarded into my email box again.
I am sure you have all seen the same clip with different wording, and it seems no matter what the situation it is fits all, and is just as funny with different captions.
Tags:
General, ColdFusion 8, Coldfusion, Flex, ColdFusion 9, Coldbox
It seems that somewhere some how someone quoted in the ColdFusion world, what a Value Object actually is by their definition. Since then the term has taken of in the Flex world like wild fire, and yet every time I ask these people what they think a Value Object is, they actually get it so wrong that it is not funny.
Nine times out of ten when these people are asked their answer are actually describing what we call Transfer Objects, and yet how does something like this exist and yet be so far wrong in the Flex world?
Tags:
General, ColdFusion 8, Coldfusion, Flash, ColdFusion 9, Flex, Microsoft, ColdFusion Builder, jQuery, Java, Javascript, extJS, Dojo, Railo, Coldbox, Eclipse
Today we had an interesting discussion on this very subject, now we already have one in place. Yet we have varying opinions on why we should do something, but nothing really concrete as the real truth as to why it should be this or that way. I personally have grown to love the fact that the beginning of a block is on the same line as the method, component class or loops etc. My logic behind this is that it is neater, doesn't clutter the workspace and fairly easy to read.
However my logic just doesn't end there.
Tags:
Test Driven Development, Coldfusion, Coldbox
I wanted to give a very quick post on how to run your unit tests in a ColdBox and / or ColdFusion Application when using SES URL's.
Tags:
General, Coldfusion, ColdFusion 9, CFORM, Coldbox
Most people would not even know this as being a problem, and it is a problem that I seriously can't believe ColdFusion doesn't do. Anyway this is a problem that one has to be aware of, and take into consideration when designing, migrating and mixing applications.
So why is this a problem?
Tags:
Coldfusion, Coldbox
I had a user ping me and ask for some examples on how to do this, so I thought I would give a very quick blog post on how easy it is with ColdBox.
Coupled with a previous post that I did on validation, it makes it rather easy all round.
Tags:
Coldfusion, Coldbox
ColdBox has the ability to leverage of the ORM side of ColdFusion, and also has a few others like Transfer and reactor built into it. I am going to focus on using the ORM side of ColdFusion 9, and demonstrate how easy it is to use in ColdBox.
Tags:
Coldfusion, Coldbox
Today I want to quickly talk about doing form validation in ColdBox, this isn't really anything new to ColdBox but it isn't really documented at the moment either. For those who don't know or are not aware of it, ColdBox actually has HyRule as part of its tools line up that is built right into ColdBox.
So how easy is this validation, pure and simple it couldn't get any easier.
Tags:
Coldfusion, Coldbox, Javascript
Today I want to finish of a blog post that I started a little while ago, and give a run down on how it was constructed.
Tags:
Coldfusion, Coldbox, Javascript
As most of you might have noticed I have put a new theme up on my blog, which wasn't without some challenges when I accidently broke the RSS feed :-(
I had been refactoring a lot of code to minimise the amount of code duplication as much as possible, one of the new features to the blog is a twitter feed. Now although the inclusion of this is nothing new, the code behind it uses some to help to reduce the amount of extra code that I write.
Hence a simple Coldbox plugin evolved in helping manage the JavaScript in the Application under the hood.
Tags:
Ant, General, Coldfusion, Coldbox, Eclipse
I currently run my on a shared hosting provider and felt that it was time that I actually encrypted the source files, I added some extra logic to my Ant build.xml to take care of this and as I had used it in the past I never expected any problems with this.
However I was dead wrong with that assumption.
Tags:
Coldfusion, Coldbox
Now that this website now uses coldbox as it's main framework, I added support for multiple languages. The one thing that I found a breeze was integrating the resource bundle into my application.
It was a huge learning curve, as time wasn't on my side for awhile. As I was on holidays for a few weeks, I sat down and began planning the change. The one change is resource bundles, and having different languages.
More Entries