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

Discover how you can help protect your mobile, web-based and cloud applications with IBM Application Security on Cloud.

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.



Rapidly detect security vulnerabilities in your web, mobile and desktop applications with IBM Application Security on Cloud. Register for your complimentary 30-day trial now.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}