This may seem like a silly question, but is there ...
# cfml-general
r
This may seem like a silly question, but is there a tool that converts a coldfusion application to c#?
a
It not so much "seems" like a silly question. it just is a silly question. The answer is: no.
metal 2
m
I mean, there's me. And I've been called a tool. So... Adam is not 100% correct here lol.
🤣 1
🔧 2
a
^^^
r
Mark, are you saying you convert coldfusion to c#?
m
That's been my job in the past, yes. I've worked for several companies that had hybrid stacks with the idea that since I knew both I could convert their CF to C# (in one case, MVC 4.5, in the other Core). Of course, it rarely if every just... works like that. C# is a wordy, scaffoldy bulky beast of a framework, even in Core. So it was mostly looking at the way the logic was written and then figuring out how to sort of match that (or, in nearly all cases, do it better with similar results, since the CF code at that point was 5 or 6 years old)
Generally speaking though, the better pattern is to convert the data access layer to APIs and just consume those as microservices without punting out of CF. CF is fantastic at creating APIs, fast and easy. It kept a WHOLE lot of their business logic intact (reducing the potential for errors or issues later) and gave flexibility in terms of their stack. In one case they consumed it INTO a C# SaaS application. In another case they used a JS framework as the front end to run their business apps.
I've been doing this 20 plus odd years, I've literally never had a person give me a good technical reason to move off CF. That company I got hired into 4 years ago to convert their entire stack? Still hybrid, and their CF makes about 30% of their money for them. They even sell access to some of their endpoints.
I COULD maybe see "Not having @Adam Cameron yell at you on Slack" as a reason to move off CF though. Not sure that qualifies as "technical". 😛
a
I'll hunt ya down if ya leave the Slack channel, Takata. You don't get away from me shouting at you that easily.
😂 1
r
Thank you Mark