Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching to ColdFusion? [closed]

I am currently building an Adobe Air desktop app for a medium sized company and I truley believe that I could use this same app for many other 'like-companies'. It will greatly improve their efficiency and save them money; and hopefully make me some money too! :) I am in the process of designing the database structure and the layout of the application.

My current skills:

  • intermediate at PHP
  • intermediate at Actionscript 3.0
  • and rather new to flex and adobe air

From what I understand, AMF is the 'best' form of communication between Flex and the server-side language. Also, I know that AMF is native for [ColdFusion to Flex] communication whereas PHP requires WebOrb, Zend AMF, or AMFPHP for [PHP to Flex] communication. I really like how ColdFusion is an 'all in one'.

My Question Is:

If this is a program that I plan on spending a few years or more on, would I be better off going with ColdFusion or PHP?

  • I do not like the fact that I would have to rely on a 'third-party program' with PHP
  • ColdFusion, Flex, and Adobe Air are all Adobe -> solid integration
  • yet, I would have to learn ColdFusion

Please Help, any information would be greatly appreciated!

like image 909
EliTheDawg Avatar asked Sep 19 '09 01:09

EliTheDawg


People also ask

Is Adobe ColdFusion still used?

It's been over two decades since ColdFusion made its way to the developer community. With thousands of programming languages, ColdFusion is still alive and thriving.

What replaced ColdFusion?

Lucee, PHP, Visual Studio, IntelliJ IDEA, and PyCharm are the most popular alternatives and competitors to Adobe ColdFusion.

How does ColdFusion connect to database?

Set up the database in the ColdFusion AdministratorOpen the ColdFusion Administrator. Click Data & Services > Data Sources. Type northwind in the Data Source Name field, and select Microsoft SQL Server in the Driver drop-down list. Click Add.

Is ColdFusion an application server?

ColdFusion is a rapid application development platform designed to make it easier to connect simple HTML pages to a database. ColdFusion applications can use Coherence*Web for session management regardless of whether the application server is running the SPI or non-SPI version of Coherence*Web.


4 Answers

When I was a youngster who just graduated college without a lick of experience, I learned ColdFusion and had a workable foundation in it at my first job in about a week. It's really easy to learn.

Pros of ColdFusion:

  • Easy to learn
  • Allows for rapid development
  • Easiest language in the world to connect to a database and write SQL in
  • It's an Adobe product so configuration is a snap
  • Just released a new version with plenty of new features
  • You'll always be able to find a job knowing ColdFusion

Cons of ColdFusion:

  • Expensive (in $ terms)
  • Harder to find a good hosting company
  • A bit outdated, even with its newest update
  • Extremely verbose and cludgy (might describe it as Enterprisey)

I've used Java and ColdFusion with the Flex AMF protocol, and both are pretty easy and work right out of the box - don't rule out Java if you have any interest in that.

Although, without knowing everything, I have to ask: if you're building a desktop app, why do you need to connect to a backend when AIR has access to SQL lite?

Keep in mind that as Flex/AIR gets more popular, more languages will (in my opinion) likely provide AMF protocols as part of the language. But you may not want to bet on that.

Having said all that, I'd say go with ColdFusion. Even though it's not glamorous, it's a good skill to have - it's going to become the COBOL of scripting languages (a few state governments and large chunk of the federal government use it)

like image 183
Hooray Im Helping Avatar answered Oct 19 '22 08:10

Hooray Im Helping


I vote for ColdFusion. It is a piece of cake for almost any software developer, it is so easy. It doesn't take much time to learn it.

Not only AMF...

  • remote object as simple as declaring methods as access="Remote"
  • integration with BlazeDS or LiveCycle Data Service (LCDS included in CF8)
  • **CF as a service, exposes services like sending email directly from ActionScript
  • **support Data Centric Development in Flash Builder 4

**supported in ColdFusion 9

These really make ColdFusion the ideal platform for RIA. I would highly suggest you to use ColdFusion 9. The script-based CFC (class in CF) will be much easier to learn for ppl with PHP or JAVA or .NET background.

like image 25
Henry Avatar answered Oct 19 '22 08:10

Henry


I second the vote for ColdFusion. I recently pushed out a Time trackign app built in Air with a ColdFusion backend. You mentioned all one one and thats what you get its easy to setup and reliable. With Adobe backing both technologies ( client and server ) you cant go wrong. Here are some Flex and CF samples that may give you an incite as to how well CF and Flex/Air communicate: http://flexcf.com/

like image 45
Paul Avatar answered Oct 19 '22 09:10

Paul


I also recommend ColdFusion. I've been building Flex/AIR apps daily for three years. I've developed them with backends built in PHP, .NET, and Java.

ColdFusion is by far the smoothest integration. There are many, many other benefits as well.

For those saying CF is dying, it's growing by leaps and bounds every year. Instead of posting your random, unverifiable, negative information, post some real & verifiable information to back up your statements. Otherwise anything you say is complete fail. People like you have been saying CF is dying for 10 years.

Oddly, given that it's dying, the developer base has grown 30% over the last two years alone, according to Evans Data (buy the reports if you want to verify these figures). It has grown by 400% since 2004.

Two major open source CFML engines have been developed in the last few years. Pretty amazing someone would go through all that effort for a dying language. http://www.getrailo.org www.openbluedragon.org

The vast majority of Fortune 100 companies use ColdFusion: www.adobe.com/products/coldfusion/customers/

So back to the original point. ColdFusion is a viable backend for Flex/AIR apps and like to be the best choice for many solutions. Your needs should determine what the obvious choice will be for you, be it CFML/BlazeDS, PHP/AMFPHP, Java/BlazeDS, .NET/Web Services, etc.

like image 23
TJ Downes Avatar answered Oct 19 '22 10:10

TJ Downes