|
John,
Here are a few things to keep
in mind regarding Cold Fusion:
1- The Cold Fusion Markup
Language (CFML) is a proprietary standard of Allaire and thus it'll be harder to
find people who can create and maintain your project.
2- All of the SQL is located
inside of the HTML page, whether it be a component that is included by the
page, or simply inserted into directly into the page. The only way (I can
think of) to encapsulate raw SQL as objects (if you're interested in the
benefits this offers) is to use an Active X approach which would then pin you
down to the Windows platform or (if you get that Active X for Solaris deal), a
Solaris solution (after fidgeting with the Cold Fusion server
here).
3- Cold Fusion pages include
all of the functionality in the HTML (unless you go to Active X components),
which can be hard to maintain in big projects. What I mean here is that it
is far easier to update classes located elsewhere and simply make references to
these objects in your pages rather than sticking the code directly in your
pages, and (if you copied this same code from page to page to page) then having
to go through every page with this code and change/add new
functionality.
If you go with the servlet (and/or
JSP) solution, you get a standard programming language with all of the readily
available Java programers who can immediately pick up a project if need
be. You have access to all of the java libraries that are out there
(including XML parsers, Object->Relational mapping layers, free web servers
and free HTML template systems, etc.). You are also divorced from the
Windows platform and thus can run your site from any Java capable platform
(while still being able to develop on ANY platform
available).
I think Cold Fusion works well for
smaller projects (such as a few pages with easy access to the db), but
larger projects (I feel) fill the gap better with a more O-O solution,
which is what Java and servlets will buy you here.
Erik
Sahl
|
- Cold Fusion and servlets John McDonald
- Re: Cold Fusion and servlets David Medinets
- Erik Sahl
