CSLA and Cold Fusion

CSLA and Cold Fusion

Old forum URL: forums.lhotka.net/forums/t/253.aspx


tseveryn posted on Friday, June 02, 2006

Good afternoon,

My name is Teresa Severyn.

I am relatively new to CSLA (have both CSLA VB 2003 and 2005 books, though, and love it!).

I have the following question:

Would it possible to use CSLA Business Objects and their compiled assemblies for implementing a web application using Cold Fusion at the front end?

The thing is, we need to implement two applications that are using the same database:

-         the first one is the Windows application, will be installed locally on each user’s laptop when he/she goes into the field

-          the other one is the web application, used by the team leads/project managers – this one will have to be implemented using Macromedia Cold Fusion.

 

Would it be possible to implement common Business Object framework (using VS.NET ) that would serve both apps?

 

 

Thank you very much,

Teresa S.

 

tetranz replied on Friday, June 02, 2006

Hi Teresa

For what its worth, I can say that I've successfully used a .NET object from ColdFusion 4.5. I used interop to make it into a com object and then used it in ColdFusion with the <cfobject> tag.

I don't know how practical your ColdFusion / CSLA project would be in general, I have a feeling that it could easily end up as an exercise in frustration.
 
You may have to weigh up the effort and chances of success between struggling with ColdFusion and trying to convince your bosses to switch to ASP.NET Smile [:)]

Good luck
Ross

ward0093 replied on Friday, June 02, 2006

I did Cold Fusion Programming a few years back... and I thought (but correct me if I am wrong) that the Database Tier (not the Middle Tier) is what you embed in your CF Tags?  I am not sure how or if you can embed a assembly object...

If you can... than it should be like every other Web Tools (ASP, ASP 2.0, etc).

ward0093

Shazam replied on Sunday, June 04, 2006

You can't use .NET in MM's version of ColdFusion.
 
Bluedragon provides a version of CF that would allow you to have some limited interoperability with .NET.  However, CF isn't a strongly typed language and has no notion of some of the types and concepts that .NET has (enumerations, nullable types, abstract classes, interfaces, overloaded methods, static methods, etc) so you're going to be quite limited in how your CSLA implementation is going to look like.

Copyright (c) Marimer LLC