thehatrack

Building a GitHub Activity Feed Widget

coldfusion, railo, github 3 comments

Search Results

There are 7 item(s) tagged with the keyword "coldfusion".

  • Displaying: 1 - 7 of 7

Chrome Logger API for ColdFusion

About two weeks ago, I spotted a link on either Reddit or Hacker News to a Google Chrome extension called Chrome Logger. I immediately saw the potential, because I frequently want to cfdump something but have to either abort immediately after or worry about my dump disappearing into a thread, screwing up my layout, etc., etc. There were libraries available for PHP, Python, and Ruby at the time (Node was added recently as well), so I figured I may as well jump on board and put one together for CF.

I finished my preliminary work on the component last weekend and used it at work all week, fixing bugs as I came across them. I'm now reasonably confident that it can be put into the wild, so I'm pleased to announce version 0.1 of chromelogger-cf, hosted at http://www.github.com/s992/chromelogger-cf.

In addition to logging simple values, structs, arrays, and queries, I've also added a method to convert objects (primarily ORM entities) into a struct representation, including relationships...

Read more...

Programmatically Creating New Datasources in ColdFusion

coldfusion, mysql 4 comments

I got a new laptop at work. Awesome, right? This thing is blazing fast and a huge upgrade. Unfortunately, I needed to set up my entire local development environment all over again. I managed it with some quick and dirty batch scripts, but I was still left with the tedious task of creating datasources for each of the 40ish MySQL databases that I had imported. Each datasource entry is identical except for the database name, so I figured there must be a better way of doing it than manually creating each entry. Sure enough, there is...

Read more...

Integrating SendGrid With Your ColdFusion Application

sendgrid, coldfusion 3 comments

The majority of my day today was spent evaluating SendGrid and fiddling around with the API. For those of you unfamiliar with SendGrid, it's a hosted e-mail delivery service. At the very (very!) basic level, they provide a mailserver that you can use for your application. Of course, it's much more than that - the reason I was looking into it today is because we need a solid e-mail provider for e-mail newsletters for our clients. Currently, we are using an incredibly outdated version of Lyris List Manager and it's right about time that we replace it. Now, SendGrid doesn't provide any list management, that will have to be done in the application. What I'm about to show you is how to interface with SendGrid to send (potentially) copious amounts of e-mail very, very easily.

Read more...

Hiding Mura Navigation Elements From Unauthenticated Users

mura, coldfusion 2 comments

Today on the Mura Show, frostino asked how he could hide a navigation item from display until a user logged in. Mura is built in such a way that it displays all navigation items regardless of whether a user is logged in or not and then forces the user to log in if they try to navigate to one of those pages. This seems counter-intuitive to me - I prefer to show the user what they have access to and not tease them with stuff they can't get to :). But, I digress. The question piqued my curiosity, so I went digging and came up with an easy solution.

Read more...

Overview of Some New Features in Mura 5.5

mura, coldfusion 0 comments

We've been waiting for a while, and finally Mura 5.5 is available! Tons of cool new features include the all-new Form Builder, Display Object Configurator, CF Static integration, and more! Most of the topics I'm covering in this blog have been covered in the Mura Show, but I figured it wouldn't hurt to gather it all in one place. I'm not going to cover everything in the feature list, but hopefully it can be of some use!

Read more...

Working with Mura CMS's MuraProxy.cfc

mura, coldfusion 2 comments

I was speaking to Jas Panesar(http://panesar.net) recently about automating some mundane Mura tasks. He suggested I take a look at MuraProxy.cfc, which I had seen before but never really bothered to look into. It ended up not being sufficient for what I was hoping to do, but it did give me something fun to experiment with. Disclaimer: I have never worked with web services in CF before, so some of this may be trivial or just plain wrong. Please feel free to correct me in the comments below!

It should be noted that MuraProxy appears to be in a beta-ish stage. I believe it was originally added in the 5.2 release, but there doesn't appear to have been a whole lot of work on it since then. It's a great concept and I would love it if the guys over at Blue River would flesh it out some time and add some documentation. Of course, I know they're quite busy with the upcoming release of 5.5(which I highly recommend checking out if you have not yet).

Read more...

Building a GitHub Activity Feed Widget

coldfusion, railo, github 3 comments

When I set out to come up with a cool design for my site, I wasn't really sure what I was shooting for. I just downloaded Twitter Bootstrap and went to work throwing DIVs around. I'm pretty happy with how it came out, but one part that I really like a lot is the GitHub feed you see in the right hand column. I haven't ever seen a site with one and there weren't any tutorials on how to make one, so I figured I'd jump right in.

Read more...
  • Displaying: 1 - 7 of 7

©2014 theHATRACK