Entries Tagged as Community

Creating QR Codes with ColdFusion (without Google's API)

Whenever I need to create QR codes, I just use Google's API. But occasionally, you might decide that the volume of QR codes you want to generate would be prohibitive or too slow. In cases like that, you simply can't use a 3rd party API like the one Google provides.

Thankfully, there's a JAR for that, and Tim Cunningham has gone to the trouble of putting it together as an open source project, QRToad. Love the name, Tim!

So if you need to create QR Codes from ColdFusion, now you can.

in ColdFusion | Community | 1 Response Posted 2012-04-05 08:02

We're in ur code, fixin' ur bugs!

In Be the Change I wrote about a new open source "organization" (the official GitHub term, not like a company or anything) and project I started on GitHub -- CFScript Community Components -- to help flesh out the script components that come with ColdFusion 9.

I'm thrilled to report that since then a few people have submitted patches (thank you both!), and I've made a number of changes myself. But I am particularly proud of the change I pushed last night. Instead of adding a missing tag, I fixed a bug in an existing one.

CFQUERY: Anything other than a space after a named query parameter (including a newline, tab, parenthesis, etc) causes an exception to be thrown.

If you write anything like my code, you might get an error that looks like this:

Parameter 'since_id\n\t\t\t\torder' not found in the list of parameters specified

... which is the result of:

select ...
from ...
where
    id > :since_id
order by ...

And of course the problem is that I have a line-break immediately following my named parameter, "since_id".

But thankfully the bug is now fixed, and the fix is available to you, free of charge.

Maybe I'm a little crazy, but this makes me really excited. This is affecting change. This is a perfect example of why I started this project.

in ColdFusion | Community | 1 Response Posted 2011-12-19 08:15

Be the change...

After a long time of complaining about it, I've finally decided to start doing something about the CFScript compatibility (or lack thereof) in ColdFusion 9 and later.

As of CF9, some of the new script functionality is implemented as CFCs, and the code is not at all obfuscated. We can see and modify the source. You can find them in {cf-root}/CustomTags/com/adobe/coldfusion/. It's debatable whether or not writing CFScript language this way is a Good Idea™, but for better or worse, it's there.

And you know we can add our own CFCs to that folder, right? And when you do, you don't even have to restart the service, your new code just starts working immediately.

So, in order to be the change I've started two things:

  • An "organization" on github named CFCommunity
  • A repository that belongs to that organization --CFScript-Community-Components-- for the purpose of building and sharing CFC's to fill in the gaps in the language.

I've already pushed my attempt (most of them fully tested and working to my satisfaction) at: CFContent, CFFlush, CFHTMLHead, CFRegistry, and CFSchedule. And there's still lots of low-hanging fruit!

I'm happy to let anyone into the organization who would like to contribute. How do you get added to the organization? Simple: send 1 pull request that improves the code or documentation of the project in some meaningful way.

I know, I know... some of you are saying, "But I've never done a pull request before!" or worse, "I've never done anything with git before!" Well? Now's your chance. Really, honestly, truly: It's not that hard.

If you are motivated enough about this goal, to improve the CFScript language, then I hope you'll take this as an opportunity to learn something new (git + pull requests) in order to participate. Plus, it shows a certain level of commitment and motivation. Those are the types of people we want making changes! After your first pull request is merged, you'll be added to the organization, and then you can just commit directly to the repository.

The readme lists all* of the tags that are currently missing from cfscript, broken up into some sort of priority classification. Feel free to disagree on the classifications -- they are just the opinions of a couple of people who have contributed so far. In fact, changing them up a bit could be your pull request. :)

Of course, I'm not the first to have this idea. Ray has already released his components for cfsearch and cfindex. I'm just trying to organize our efforts and make sure that we do things in a way that will allow Adobe to integrate our work into future versions of ColdFusion.

What do you say? Will you be the change?

* Where appropriate. Not all tags need to be script. Think CFPod. CFDiv. CFForm.

in ColdFusion | Community | 2 Responses Posted 2011-11-15 07:50

Coming Soon to a Philly near you!

If you're primarily a developer looking to sharpen your entrepreneurial skills (a "Developer-Entrepreneur", if you will), or an Entrepreneur looking to sharpen your development skills (an "Entrepreneur-Developer", if you will), then this post is for you.

My friend Steve and I are starting a new local Philly conference for, you guessed it, Developer-Entrepreneurs and Entrepreneur-Developers: Philly Merge. The idea is pretty simple: Take these two types of people, put them in a room together, give them some opportunities to learn and network, and let magic happen. Whether you've got no idea where to start, or you're already bootstrapped and just want to get tips from local pro's, join us on July 15th at Wharton to fill in the blanks.

Philly Merge: July 15th, Huntsman Hall, Wharton, Upenn, Philadelphia
July 15th at Wharton

We've got content lined up from local attorneys, accountants, business consultants -- and yes, software developers. We'll provide lunch and snacks throughout the day. We're even thinking about lining up something social but almost entirely unrelated, like an Eniac tour (no promises!). And what's it going to cost you? $29 bucks.

Tickets are on sale now!

It's going down on Friday, July 15th, at the University of Pennsylvania (Huntsman Hall). I'll be there. Will you?

If you're undecided or just want to get an occasional email when there's news to share, you can subscribe for email updates on our website.

in Community | Philadelphia | No Responses Yet Posted 2011-06-08 09:00

CFObjective's Call For Suggestions

Although I've yet to make it out to a CF.Objective() conference, 2011 may just be the year that I do.

This year, under new content guidance from Bob Silverberg, the conference is taking a new approach to designing the schedule. Instead of aiming squarely at the enterprise and advanced developer market, they are asking for community input: What content do you want to see?

If you are a CF.Objective regular, or even if you're just thinking about making this your first year, as I am, then the team would appreciate your input:

http://engage.cfobjective.com

in Community | Conferences | No Responses Yet Posted 2010-11-22 08:30