Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Have some Ramen with your ColdFusion

DZone's Guide to

Have some Ramen with your ColdFusion

· Web Dev Zone
Free Resource

Start coding today to experience the powerful engine that drives data application’s development, brought to you in partnership with Qlik.

This morning (which now seems like a reallong time ago), I tweeted about how spoiled I am with npm and package management in general. If you've never experienced this, let me give you a real quick, rough idea of what this means as a developer.

I needed to add email support to a Node.js project I'm building (javascriptcookbook.com - almost done - honest!). Once I found the name of the package I needed, I modified my package.json file. The package.json file, for Node apps, is like a metadata file for your application. Here is how it looked before I changed it:

{
    "name":"javascriptcookbook",
    "description":"JSCookbook",
    "version":"0.0.1",
    "private":"true",
    "dependencies":{
        "express":"3.x",
        "hbs":"*",
        "mongodb":">=0.9.6-7"
    }
}

To add my email package, I added one line.

{
    "name":"javascriptcookbook",
    "description":"JSCookbook",
    "version":"0.0.1",
    "private":"true",
    "dependencies":{
        "express":"3.x",
        "hbs":"*",
        "mongodb":">=0.9.6-7",
        "nodemailer":"*"
    }
}

In Terminal, I typed npm install, hit enter, and that was it. The npm command line took care of grabbing "nodemailer" and seeing what it needed. It then grabbed those resources. And oh yeah, if that crap needed something it got that too. All while ensuring it didn't re-download anything it didn't need to.

Yeah, I really freaking dig that. As I said in the beginning, I'm getting spoiled by it. After tweeting about it though a few friends replied and mentioned the Ramen project by Adam Tuttle: https://github.com/CFCommunity/ramen

While not the exact same, it is pretty cool to see something like this being built for ColdFusion developers. You can see it in action below.



Create data driven applications in Qlik’s free and easy to use coding environment, brought to you in partnership with Qlik.

Topics:

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}