Building AVR, Part 2: CFML Architecture

Once AIM was built, we needed a product to display the inventory that had been managed. The AutoConX Vertical (Responsive), or AVR, is a white-label product that allows publishers (newspaper or magazine) list inventory from sellers in their area. It’s a digital classified system that offers a lot of customization and flexibility.

This project was trickier than AIM because AIM was a brand new product. AVR, however, had to be a modern and responsive site that met all the publishers’ expectations from the legacy product. Publishers wouldn’t switch unless they saw real value in the new system. We had to build a product that we would put our own products on.

This is the story of the CFML architecture for AVR.

Continue reading “Building AVR, Part 2: CFML Architecture”

Building AVR, Part 1: Project Architecture

Once AIM was built, we needed a product to display the inventory that had been managed. The AutoConX Vertical (Responsive), or AVR, is a white-label product that allows publishers (newspaper or magazine) list inventory from sellers in their area. It’s a digital classified system that offers a lot of customization and flexibility.

This project was trickier than AIM because AIM was a brand new product. AVR, however, had to be a modern and responsive site that met all the publishers’ expectations from the legacy product. Publishers wouldn’t switch unless they saw real value in the new system. We had to build a product that we would put our own products on.

This is the story of the project architecture for AVR.

Continue reading “Building AVR, Part 1: Project Architecture”

Building AIM, Part 2: CFML Architecture

We needed to build an inventory system, one that was free from the restrictions of our legacy system. We wanted to build a system that could describe any piece of inventory: from cars to carpets, from houses to job listings. We needed an interface for our sellers to actually manage that inventory. That interface is the AutoConX Inventory Manager, which we call AIM.

This is the story of the CFML architecture for AIM.

Continue reading “Building AIM, Part 2: CFML Architecture”

Building AIM, Part 1: Project Architecture

We needed to build an inventory system, one that was free from the restrictions of our legacy system which could only describe automotive, agricultural and recreational inventory for dealerships across the United States. We wanted to build a system that could describe any piece of inventory: from cars to carpets, from houses to job listings. The process started with our database structure and maintenance areas. Then came a REST API to give us a nice separation of concerns. Once that was in place, we needed an interface for our sellers to actually manage that inventory. That interface is the AutoConX Inventory Manager, which we call AIM.

This is the story of the project architecture for AIM.

Continue reading “Building AIM, Part 1: Project Architecture”

Playing with ColdFusion 10 locally on IIS 7.5 and Windows 7

My (current) preferred setup for developing on ColdFusion 10, IIS 7.5, ColdFusion Builder 2 on Windows 7.

TL;DR

My (current) preferred setup for developing on ColdFusion 10, IIS 7.5, ColdFusion Builder 2 on Windows 7:

  1. Create the CF Builder project
  2. Add a virtual host
  3. Add the IIS site
  4. Add the virtual host to the CF Builder server
  5. Update CF Builder project to use the new virtual host
Not Too Long; Did Read

Something new I’m trying at Security Labs is doing more local development, then pushing to a development server for testing. In the last couple of days, I’ve played with some setup, and I think I found the right mix for me.

Creating the ColdFusion Builder Project
  1. Right-click in the Navigator
  2. Choose New > ColdFusion Project
  3. Complete Project Details
    • Project Name
    • Use Default Location or Choose another location
    • Choose CFML Dictionary Version (probably ColdFusion 10)
  4. Click Finish

Adding a Virtual Host

  1. Launch Sublime Text 2 as administrator
  2. Go to File > Open File…
  3. Navigate to C:\Windows\System32\drivers\etc
  4. Select “hosts”
  5. Click Open
  6. Add a new entry like:
    • 127.0.0.1    testing.dev
  7. Save
  8. Ctrl + W to close the file
  9. Ctrl + W to close the app
Adding an IIS Site
  1. Launch IIS 7.5
  2. Expand to Sites
  3. Right-click > Add Web Site…
  4. Fill out web site details
    1. Name: project name above
    2. Select “ColdFusion” for the Application Pool
      • This is a custom Application Pool that I made. It’s probably not necessary, and I don’t quite understand the settings.
      • .NET Framework version: No Managed Code
      • Managed pipeline mode: Classic
    3. Browse to physical path for your files from above
    4. Connect As…
      • I use my Windows domain user
    5. Test Settings… should be all green
    6. Host Name: virtual host above
  5. Click OK
  6. Right-click the site > Add Virtual Directory…
    • Alias: jakarta
    • Physical Path: C:\ColdFusion10\config\wsconfig\1
  7. Right-click the site > Add Virtual Directory…
    • Alias: CFIDE
    • Physical Path: C:\ColdFusion10\cfusion\wwwroot\CFIDE
  8. Click OK
Adding a Virtual Host to a Server in ColdFusion Builder
  1. Right-click the server > Edit Server
  2. Click Next >
  3. Click Virtual Host Settings tab
  4. Click New
    • Name: project name above
    • Host Name: virtual host above
    • Port: 80
    • Type: http
    • Document Root: path to project above
  5. Click Apply
  6. Click Finish
Updating ColdFusion Server Settings in ColdFusion Builder
  1. Right-click the project > Properties
  2. Select ColdFusion Server Settings
  3. Choose appropriate local server-host name
    • Note: the Sample URL should use your virtual host from above
  4. Click OK