Entries Tagged as ColdFusion
I've been working on a little proof of concept idea and wanted to see
if other people liked it and perhaps wanted to see it go further.
I've heard a couple of calls for command line ColdFusion. I wanted to see if it could be done. My first experiment was trying to use AIR new native processes to make a command line client for ColdFusion. It didn't pan out. But the api I used to make it was easily adaptable. I combined it with a socket listener event gateway to make a ColdFusion telnet server.
The video shows it in action.
CFConsole from Terry Ryan on Vimeo.
Like it? Want more. Let me know.
In the meantime the project is available on RIAForge.com and github, please feel free to fork it and play with it.
Tags:
ColdFusion
A question came up on Twitter today:
hard to do "JavaScript at the bottom" in CFML with MVC frameworks... wish we have a tag. Thought? #coldfusion
A great question, this is the answer in Adobe ColdFusion.
Use the request scope.
This is one of those random places where request scope is actually very helpful. Â It breaks encapsulation, but you're going to have to do that anyway.
So first you write a page wrapper, that displays the content of a variable named request.footer.
Then you write your view and pump your javascript to inject.
Then you write your page with those components in it.
This will ultimately yield this:
In the future, I'd like to see us solve this problem natively, like but until then here's a solution.
Tags:
ColdFusion
BFusion and BFlex are right around the corner.
I'll be there to give the BFusion keynote and talk about superfast application building using Apptacular.
I believe my colleague Paul Trani will also be there, and is giving the BFlex keynote.
And with such a killer lineup, Bloomington, Indiana will be the place to be this September 11 and 12th.
Tags:
Apptacular · ColdFusion · Flex · Higher Ed · Appearances
I'm happy to say I'll be at the Heartland Developers Conference in Omaha Nebraska this year.
I'll be talking about ColdFusion, and how it can power truly rapid RIAs. In order to explain the whole workflow, I'll be touching on ORM, scripting, Flash Catalyst, Flex 4 and Flash Builder.
Additionally, two other Adobeans will be making the trip, Paul Trani and Kevin Hoyt. Here's our lineup:
So hope to see everyone in Omaha this September 8-10.
Tags:
ColdFusion Builder Extensions · Flash Builder · ColdFusion · Flex · Appearances
I was fooling around with inheritance in super classes in ColdFusion 9.0.1. I was trying to add that whole dynamic/static inheritance thing to Apptacular so you can add on to an Apptacular application without having to worry about changes being overridden by the regeneration process. Typically when you do that, the dynamic, rewritten class is usually the parent of the child static class. The child, static, class is what you refer to in the rest of code and in which you write custom code. The scaffolder never touches this file again, allowing you to alter things in the database, rescaffold and not overwrite code customizations. I hearby call this "non-destructive scaffold regeneration," regardless of what other people call it.
ORM entities can't really work that way. If you try to setup that sort of thing, ORM craps out in ColdFusion with an error. CF9 ORM doesn't really like ORM objects being the parent of other items, unless you are using inheritance mapping.
However, if you use the "mappedSuperClass" cfc attribute that is now available in ColdFusion 9.0.1 you can achieve sort of the same thing, but you have to flip this on its head. The superclass is the one that is static, and you can edit, while the dynamic one is the child.
This is mostly good. Except for one thing: one of the main reasons to write code this way is so you can override methods, and if the child is the one that is dynamic, and overwritten, then you cannot override the methods from the static parent. You can add methods and properties, but you cannot override them.
At first glance this seems like a deal breaker, but it doesn't have to be. Most generated ORM entities are light on code, because of implicit getters and setters. But those implicit getters and setters are exactly what you want to override in an ORM entity. However it turns out that explicit functions will always override implicit ones, even when the explicit function is in the super class and not the child class.
I put together a simple little demo to show this off:
Result from test.cfm:
GetFirstName = Yo
GetRealFirstName = Aiden
So it's a little upside down, but if you want to do some non-destructive scaffold regeneration with ColdFusion 9 ORM, it's a workable solution. Expect this to come to an Apptacular near you soon.
Tags:
Apptacular · ColdFusion
24 hours after pushing Apptacular out, I have over 150 downloads, and only 2 reported problems.
Awesome!
One of the problems was that a user tried to run Apptacular against a database without primary keys. Apptacular and ORM in general have a dependency on primary keys. I should make that clearer in the documents, and error, and I will. But just know that.
In the meantime, keep downloading Apptacular and checking out my materials on it.
Tags:
ColdFusion Builder Extensions · Apptacular · ColdFusion
Jayesh Viradiya is one of the ColdFusion engineers and he is specifically responsible for the features around AIR synching.
Basically he's created ORM capability for SQLite in AIR. He's got a new article on the Adobe Developer Center about it. Check it out.
Tags:
ColdFusion · AIR
I was chatting with someone last night, and they said:
"Most ColdFusion apps are designed to be intranet apps… and boy do they look like it."
It's true. ColdFusion enables rapid application development, but not necessarily pretty rapid application development. However Flash Catalyst enables rapid, pretty, application development.
And let's be clear here, pretty is not superficial. It's not just about chrome and bling. It's about making application that your users want to use instead of apps that your users have to use.
So if you'd like to see how to turbo charge your front end development with effective, pretty, ui's come to my session:
"How Catalyst Will Transform the ColdFusion Developer." Friday 3:15PM - 4:15PM Ballroom D
Tags:
ColdFusion · Flash Catalyst
We'll be releasing Apptacular soon on labs.adobe.com, but I'm tired of saying "It's coming soon."
You want Apptacular: Go get it: http://bit.ly/Apptacular
If you have any issues, please report them using this site: http://bit.ly/ApptacularIssues
If you want to participate in building Apptacular, you want to look at the source, and tests, etc. Check it out on GitHub: http://bit.ly/ApptacularGitHub
If you want to know more about what Apptacular can do for you, check out these tutorial videos:
Tags:
ColdFusion Builder Extensions · Apptacular · ColdFusion · ColdFusion Builder
So, hey, how are you doing? You're here because you said something about ColdFusion, and questioned if anyone uses it, or something to that effect. If you're genuine in your questioning of ColdFusion use and not just flamebaiting, let's talk.
I work for Adobe, and I am the evangelist for ColdFusion. I can say categorically that people do use ColdFusion.
But what are the hard numbers that we can quantify? From our sales, community and web teams I can grab the following numbers:
- 12,000+ companies are customers of ColdFusion
- 350+ ColdFusion user groups are in existence
- 11,000+ copies of ColdFusion Server and ColdFusion Builder are downloaded every month.
Number of developers is a trickier issue. There is no direct way of tracking this. We can look at sales, but there isn't a typical ratio of server to developer. So we have to rely on estimates. We have recently had some conflicting data here. Third-party numbers that we have access to say one thing; our internal estimates based on older models say another thing. Both agree that we've gained developers, but the numbers are too far apart to be useful. We are in the processes of doing a ColdFusion developer census using a new method, so if you are a ColdFusion developer please participate.
Numbers are great, but let me introduce you to the community of ColdFusion developers.
First, you probably met some when you dissed ColdFusion on Twitter. As you discovered the ColdFusion twitters are passionate, but you may not have seen how helpful they are. Ask a real question about ColdFusion on twitter something like:
- Do #ColdFusion Excel features let you work with xls files only, or does it handle xlsx?
- Does outer joining work for objects work in HQL in #ColdFusion?
- What's the CFscript equivalent of cfquery tag in #ColdFusion 9?
I assure you, you'll get the best responses 140 characters can buy.
Also check out the community on StackOverflow. We also have one at Dzone. And at github. We've got a small but growing presence in all of them.
Now, you might notice that participation is constant, but not a tremendous amount. That's because the ColdFusion Community tends to be a bit insular. As a whole the community is working on it, but when you look at ColdFusion only resources like CFTalk and ColdFusionBloggers.org you'll see constant volume.
Finally, if you look at the number of open source projects available at Riaforge.org, you'll see again that there are definitely OS collaboration around ColdFusion.
Finally check out the list of ColdFusion conferences. A third of them are new conferences and have popped up over the past 3 years. We're seeing a shift from huge national conferences to smaller regional conferences in the US, as well as a few more international events and activities mostly in Europe.
All of these point to a vibrant community that is engaged and loves using ColdFusion. Are we the biggest community? No, and no one will dispute that. But we are a community; we're evidently still growing in numbers, and still branching out into new social networks. We use ColdFusion, and we love it.
To sum up this long answer to your short question: Do people still use ColdFusion?
Hell yeah.
Now, you might be changing your argument, from "no one uses it" to "well it's not good because…" Well if that's the case, I have another blog post for you to read.
Tags:
ColdFusion