Git Product home page Git Product logo

coldbox-legacy-app-demo's Introduction

Coldbox Legacy App Demo

A sample app that is part legacy and part Coldbox MVC.

Install this app with CommandBox like so:

mkdir coldbox-legacy-app-demo --cd
install bdw429s/coldbox-legacy-app-demo
server start

Then browse around the site and read the descriptions on each page for explanations of how it works. Then dig into the code to play.

coldbox-legacy-app-demo's People

Contributors

bdw429s avatar nolanerck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

coldbox-legacy-app-demo's Issues

Clarify how legacy code would be added to application.cfc

onRequestStart() in Application.cfc very nicely shows how to pass requests to coldbox. What is not clear is how you would handle other legacy code in application.cfc. For example:

public boolean function onApplicationStart (
    boolean userInitiated=false) {

    ... your code here ...

    return super.onApplicationStart();

}

Perhaps you could build out application.cfc to include all the supported methods, showing where legacy code would reside.

Great job putting all this together! This is very helpful as we evaluate how we can modernize our legacy application. :)

Error mismatch data type.

I have setup and uploaded on server where i need to make this work.
If i run through server start commant it is working fine.

But when i am accessing throght Domain. it is not working.
I have already created a mapping for coldbox.

Below is error i am getting.

The getInstance function does not specify the same data type for the initArguments argument in the coldbox.system.ioc.Injector ColdFusion component and the coldbox.system.ioc.IInjector ColdFusion interface.

Below is error which i am getting

untitled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.