DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Do's and Don'ts for Making Your NodeJS Application Faster
  • Deploy a Hyperledger Fabric v2 Web App Using the Node.js SDK
  • Implementing and Deploying the Domain Project With MuleSoft
  • Node.js: Architectural Gems and Best Practices for Developers to Excel

Trending

  • What Is Kubernetes RBAC and Why Do You Need It?
  • API Design
  • Monkey-Patching in Java
  • Securing Your Applications With Spring Security
  1. DZone
  2. Data Engineering
  3. Databases
  4. Have some Ramen with your ColdFusion

Have some Ramen with your ColdFusion

Raymond Camden user avatar by
Raymond Camden
·
Jun. 17, 13 · Interview
Like (0)
Save
Tweet
Share
2.49K Views

Join the DZone community and get the full member experience.

Join For Free

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.



Node.js Npm (software) dev app application Dig (command) Metadata terminal Command (computing)

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

Opinions expressed by DZone contributors are their own.

Related

  • Do's and Don'ts for Making Your NodeJS Application Faster
  • Deploy a Hyperledger Fabric v2 Web App Using the Node.js SDK
  • Implementing and Deploying the Domain Project With MuleSoft
  • Node.js: Architectural Gems and Best Practices for Developers to Excel

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: