How to convert asp to cold fusion?

Hello All,
            This is nagaSeshu,I want to convert asp to clod fuasion.Right now our application is in simple asp,Because of some reasons we are planing to change our appliction into cold fusion.So is there any converters to convert asp into cold fusion pages automatically.If any one having idea about this please give me reply.
Thanks &regards,
NagaSeshu,

An application in "simple ASP" should be straightforward to convert to CF, but it will nevertheless be a manual process.  There won't be a one-to-one correspondence between the ASP code and the CF code:  the CF equivalent is likely to be much smaller and simpler.
The difference (and the potential advantage of CF) lies in its fundamental approach to the problem:
ASP is, well, Visual Basic.  It's a programming language by nature, and a web-page is therefore "a script."  The web-server hands the car-keys to the page (full of executable code...) and the page drives the car to its destination.
CF is, in general, much more of a declarative language.  The various documents contain a well-defined structure ... the structure of HTML itself ... and they are parsed and processed (conceptually speaking...) by an external processor which carries out the desired action based on the overall structure of the page that it sees.  Since "most pages of a certain type are more-or-less exactly the same, and there might be thousands of them," CF gives you a few well-chosen ways to build "pages like that" and to do so quickly.  CF "already knows how to drive the car to the destination," and the stuff that you write consists mostly of details.
(I recognize that my description, above, of CF's actual modus operandi is not technically correct.  But the big-picture conceptual idea stands, and that's all I'm driving at here.)
The best way to take advantage of a tool like CF in a conversion project is, "when in Rome, do what the Romans do."  Study CF to see what it can do "quickly and easily," and adapt your project's design to shamelessly take advantage of that way.  Do not spend a lot of time trying to figure out how to "jimmy" CF so that it will do a certain thing in a certain way.
The choices that were made by CF's designers are pretty-good ones.  Although CF gives you "a full programming language if you want to use it," its greatest strength is in what you don't have to write in order to get "a certain thing" done.  If you find yourself writing a lot of programming, then you need to step-back and have another look:  "there's more than one way to do it."  CF's interpretation of a dot-NET application will be quite different from the original, and it should be.  If it isn't, you're not getting market-value out of the conversion effort.

Similar Messages

  • How to call C through Cold Fusion?

    I have some legacy C code.Does anybody know how to
    call it from Cold Fusion?
    Thanks!

    Depends on what it does and how you need to interact with the
    code. Do you have the option of simply passing arguments and
    retrieving output via CFEXECUTE? Is it something akin to CGI that
    may require using the CFX framework?
    &laz;

  • How to convert/download videos embedded with cold fusion?

    Does anyone know of a free video conversion software that will convert and download online videos embedded with cold fusion ("cfmid=?") format/extension?  I tried a few online sites and they do not support that format yet.   Please help.  Thank you so much!
    Judy

    Actually COLD FUSION was a hoax a few years ago. COLDFUSION is the app.
    If you need content from a web site, talk to the developer.
    fwiw - Since ColdFusion is an Adobe app, you should try asking your question on that forum. This one is here to primarily support Shake.
    Have fun.
    x

  • How not to use Cold Fusion and Java

    Overview
    This write up is intended to give java developers that are
    developing ColdFusion applications some beneficial information:
    things that are not documented.
    Scenario
    The company builds enterprise class web application software
    for fortune 500 companies. It had purchased a CF 7 based product,
    had and existing proprietary J2EE based product, and needed to
    integrate the two while meeting a host of new requirements. These
    requirements were based on delivering a better user experience,
    faster / cheaper integration, increased flexibility /
    configuration, useablily, decreasing maintenance costs, the ability
    to deploy in either install or ASP models. An initiative was
    started to create a new framework that integrated the best of each
    technologies. Tactically, this meant that we were to build a hybrid
    CF and java application: one that used building blocks (decoupled /
    cohesive components) that would allow applications to be rapidly
    assembled, configured and deployed. This made sense on several
    levels, the team was composed of Java and CF developers, the CF
    rapid application development was very productive, there is great
    functionality delivered in the CF platform and initial performance
    tests showed no cause for alarm
    The agreed upon design, based on requirements, and analysis
    by both the CF and Java staff has us using CF in the presentation
    layer, using a CF based MVC, use of CF based web services. The MVC
    was deployed using CFC inheritance for model objects and views made
    use of CF custom tags. The internals of the application, used a
    rules engine, some proprietary java, ORM, and other J2EE
    technology. The initial performance of the system was reasonable.
    We pushed on with product implementation.
    Then it was time to load test the application, and tune it.
    Under load the response times were orders of magnitude slower,
    sometimes the pages even timed out.
    Armed with our profiler, oracle execution plans and we
    charged ahead addressing issue after issue. Note that we took
    meticulous care in tweaking the active thread pool and ensuring
    that our CF setup was tuned for our application. None of the
    observations here are a condemnation of the language; rather they
    are aspects that, when considered together, not conducive for
    building integrated java and CF frameworks that use a structured /
    OO programming practices. Further detail can be provided on
    request.
    CFC inheritance should be avoided - resolution of variable
    scope is expensive even if properly declared.
    Since CF creates a class per method under the covers call
    stacks become very large, especially if used in a loop. This is
    nominally exacerbated by CF calls necessary to set up for the
    method call (String.toUpper()).
    Nesting of loops and if statements should be kept to a
    minimum - the conditional for each lookup of logical operator like
    LT, GT are synchronized. Under load this results in thread waits.
    Jrun has as single thread pool - both http and web service
    requests use the same pool. Under load this leads to thread
    deadlock. There are work arounds, but they are painful.
    Recursion should be avoided - we had a few recursive routines
    and these had to be rewritten.
    Custom Tags - should be used sparingly - each custom tag
    makes a synchronized call to the license server - (This may be
    fixed in CF 8)
    Summary
    In the end we got the performance to reasonable numbers, but
    we ended up moving some code to java (Custom Tags) and getting rid
    of 'good programming' practices (Inheritance, loops, etc), mandated
    proper variable scoping for those things left over. We prototyped a
    sans cold fusion implementation and had an order of magnitude
    improvement in performance and number of requests served per
    second.
    The lesson? Use Coldfusion in its sweet spot: make a query,
    iterate over the results and format for display. Extensive use of
    structure programming techniques or OO CFCs should be avoided: they
    will work but under load - but are better as a prototype. Building
    frameworks in CF? Think twice, no three times, and, if you must, be
    minimalist.
    Text

    interesting aslbert123,
    Not that I doubt you, but could you answer some questions
    about your implementation that was so slow:
    1.) Did you put your CFCs in the application or server scope?
    2.) Were you initializing your CFCs, via CreateObject or
    <cfinvoke>, on every request?
    3.) Are you sure that you were properly Var'ing every
    variable in your methods? (people typically forget about query
    names and loop iterator variables)
    4.) Could you give examples of how your inheritence was set
    up?
    5.) For CustomTags, did you call them the old <cf_tag>
    way or the newer, better-performing <cfimport> way?
    6.) How did you connect CF to Java exactly?
    Thanks,
    Aaron

  • Calling asp pgm in cold fusion

    i have a asp program which i have to call in cold fusion and
    work with. now how can i call can some one give me some
    directions...thanks.

    Naturally, an Adobe ColdFusion application engine is not
    going to run
    ASP code. You can supposedly using the Blue Dragon CF/.NET
    server.
    Using Adobe's ColdFusion server you can connect to ASP
    resources with
    hyper links, web services and cfhttp calls.
    manju thammaiah wrote:
    > you right, since i don't have that info i don't know
    that. any way i am just trying to find out is it possible to call a
    asp program and what are my optins. thanks.

  • How do you determine what version of PHP is on the cold fusion server

    I am trying to find out what version of PHP is on my cold
    fusion server, how do I do this? Does coldfusion come with
    PHP?

    In the C:\Windows folder, locate the file called php.ini and
    open it in Notepad.
    <?php phpinfo() ?>
    I answered it myself. Maybe it can help someone else.

  • How to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10

    how to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10

    You just need to run the Web Server Configuration Tool to connect ColdFusion to IIS.  It can be found in the ColdFusion program group off of the Start menu.  Be sure to run it "As Administrator".
    -Carl V.

  • How to register Rest web services in Cold Fusion 9 administration console?

    I am building a Rest web service using Cold Fusion 9 and Cold Fusion Builder 3 and now I want to register it on Cold Fusion 9 admin console, but I didn't see any option there as in CF 10 and CF 11 Data Services ---> Rest Web service. So, please tell me how to register my Rest web service in CF 9 either through admin console or through code?

    Simple answer: you can't.  REST services were a new feature released with CF10.  Alternatively, you can use a community-supported framework to provide REST services, such as:
    Taffy (a dedicated REST framework)
    FW/1 (an MVC framework with REST capabilities)
    ColdBox (an MVC framework with REST capabilities)
    -Carl V.

  • How to register Rest web services in Cold Fusion 9 ?

    I am building a Rest web service using Cold Fusion 9 and Cold Fusion Builder 3 and now I want to register it on Cold Fusion 9 admin console, but I didn't see any option there as in CF 10 and CF 11 Data Services ---> Rest Web service. So, please tell me how to register my Rest web service in CF 9 either through admin console or through code?

    You've posted this question twice.  Please delete this one and people can respond to the other one.
    -Carl V.

  • How can we purchase Cold Fusion 10. Please can you help.

    Please can you give detail how we gonna purchase Cold Fusion 10.

    Kindly email at [email protected] for this concern, you would get required information there too.

  • How to Disable Cold Fusion MX 6

    Hello All,
    Hopefully this is a simple answer.  We have a Cold Fusion 6.1 install on Windows 2003 R2 server that we are looking to decomission but still continue to run IIS.  This is a production box so I want to be as unobtrusive as possible.  Can someone tell me or point me to how I would disable cold fusion cleanly?  I attempted to stop the service once before and after about a day, IIS started complaining and ground to a halt.  Any suggestions would be appreciated as I move forward.
    Joe

    First, run the web server configuration tool to disconnect CF from IIS. Then, you can stop the CF services and/or uninstall CF in its entirety. I don't know if you have a desktop icon for the web server configuration tool, but it's available within the CF install directory as wsconfig.exe (which is really just a wrapper for wsconfig.jar).
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Cold fusion 9 Installation on Windows server 2008 (IIS 7.0) - IIS websites not working ?

    I am having a 64 bit machine on which windows server 2008 R2 is installed. IIS 7.0 is configured and running on it. on which I have my organisations main website. I have to install Cold fusion on this machine as some of my site pages are designed with CF.
    I used all the default settings for installing cold fusion 9. It got completed succefully. But after I restarted my system and tried accesing my ASP.net website it was not loading the page. Text getting displayed was only as follows '<script> src="'. Later I unsistalled CF and my site was working fine.
    Please can any one guide me to successfully install Cold fusion without disturbing my main site deployed on IIS ?

    Sarfarajms, I don't recognize what about the CF install would conflict with ASP.NET, but I'll note this:
    If you downloaded CF 9 recently, you are still running 9.0--which does NOT formally support IIS 7. If you followed the steps about enabling IIS 6 compatibility and such (in the install guide or some blog entry), perhaps that caused the conflict.
    Instead, you will want to install 9.0.1 (CF 9 Updater 1, which is NOT provided in the current 9.0 install). THAT is the first release to formally support IIS 7. And if you read the updater installation guide (http://www.adobe.com/support/documentation/en/coldfusion/901/cf901install.pdf), it discusses how to deal with the upgrade depending on what you had done with respect to IIS, starting at the bottom of its page 8.
    Hope that helps.
    /charlie

  • Updater 2 and Dreamweaver's Cold Fusion development server

    Hello,
    I am in the process of developing a Cold Fusion Web
    application for my university dean's office using...
    <cfobject type="COM" action="create" name="Chart"
    Class="Corda.Embedder">
    ...and I am receiving this error message...
    An exception occurred when instantiating a Com object.
    ...the Corda documentation states the following, and I agree
    with them that this is what I am experiencing and need to do...
    COM Corda Embedder (Windows)
    If you are using ColdFusion MX on Windows, be sure you have
    updated your server to the latest version using the ColdFusion MX
    Updater Release 1. This is available at
    http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html.
    You will need to apply this update to fix a bug in ColdFusion MX
    that prevents it from accessing Window’s Component Object
    Model (COM).
    Other than that, you don’t need to do anything. The COM
    version of the Corda Embedder is installed automatically for you.
    ...I am running Windows XP Professional 2002 SP2, and the
    Cold Fusion Developer Server THAT COMES WITH Dreamweaver 8.0. The
    Cold Fusion server is an established server running several CF
    applications. The Corda product is also known to be running fine,
    as I am able to view my current projects in a browser.
    Server Details
    Server Product ColdFusion MX
    Version 7,0,0,91690
    Edition Developer
    Serial Number Developer
    Operating System Windows XP
    OS Version 5.1
    1) Am I missing something with instantiating the COM object?
    2) How can I tell if I need the Cold Fusion updater?
    3) Which updater version do I download (1 or 2) and for which
    server (MX, MX7, Special Dreamweaver version)?
    4) Where do I install the updater - since I am running the
    Cold Fusion Developer Server that comes with Dreamweaver, it is not
    located in the default C:\CFusionMX7 directory?
    Thank You Very Much For Your Time,
    Nathan
    Technology Support Analyst, Sr.

    2) How can I tell if I need the Cold Fusion updater?
    Version 7,0,0,91690
    You are on Version 7MX, no updater. After the update you will
    have a
    version something like this.
    Version 7,0,1,xxxx OR Version 7,0,2,xxxx
    3) Which updater version do I download (1 or 2) and for which
    server
    (MX, MX7, Special Dreamweaver version)?
    You need to download and install at least updater 1 for MX 7
    per the COM
    instructions, updater 2 (which by default includes updater 1
    IIRC) could
    be even better, but has a small chance of doing something you
    don't want
    it to. One would have to read all the tech notes and make a
    decision.
    There is no "Special Dreamweaver" version, it is just the
    standard Free
    Development version anybody can download and install. "Serial
    Number
    Developer" And to turn this into a professional version all
    one has to
    do is purchase a license number an enter it into the
    administration
    panel. This converts a developer CF server to a Production CF
    server
    with no other downloading or installing necessary.
    4) Where do I install the updater - since I am running the
    Cold Fusion
    Developer Server that comes with Dreamweaver, it is not
    located in the
    default C:\CFusionMX7 directory?
    Most likely the installer will figure that out. If it does
    not, just
    provide the directory/file path to where your CF is installed
    when asked.
    HTH

  • How to convert well format xml in coldfusion?

    Hi,
    I am consuming asp.net webservice in coldfusion.It returns xml but it is not in wellformat.
    Please suggest me how to convert to well format xml.
    Advance Thanks,

    chandra12345 wrote:
    I am consuming asp.net webservice in coldfusion.It returns xml but it is not in wellformat.
    Please suggest me how to convert to well format xml.
    Technically speaking, a piece of text must be well-formed before it can be called an XML document. So you cannot yet say the returned text is XML.
    The first thing to do is to check whether it is. Use, for example, isXml(someString) to check whether someString is well-formed XML.
    There is no one standard way to convert text to well-formed XML. This is because there are infinitely many ways in which text can fail to be well-formed. The easiest solution for you will be to learn the rules for well-formed XML.
    Any elementary book on XML will teach you that. If you find books old-fashioned, then you could instead google well-formed xml .

  • Flex/cold fusion wizard & Visual Query builder has a problem

    has anybody tried the cold fusion / flex application wizard in flex 3?
    to get there follow these menu choices:
    file     new     other     cold fusion wizards     coldfusion / flex application wizard
    I previously installed cf8 and the rds query viewer works fine.
    i simply choose from the following menus:
    window     other views...     Cold Fusion     RDS dataview
    i was initially prompted for the rds password which i entered.
    in the RDS Dataview, I can see the tables, columns, and data for all my existing datasources.
    Unfortunately, when I use the COld Fusion/Flex application wizard,
    I get to the page layout and design screen, add a page with the name artists, choose page type master,  and click the Edit master page button.
    Nothing happens when I click the Edit Master Page button.  I followed the cf/flex tutorial exactly but there is no query builder.
    I dont know if this is related but in the RDS query viewer, the Visual Query BUilder doesn't work.
    I think this may be the problem (the visual query builder has a problem)
    Unfortunately, how do I fix this problem

    already found the answer
    flex has to be run as administrator if using WIndows Vista
    simply shut down flex, right click the startup icon, choose run as administrator, and the visual query builder runs fine.
    Dont know why this occurs because you are always prompted for the rds password.
    anyway, problem solved.
    http://forums.adobe.com/message/228385#228385

Maybe you are looking for

  • Unable to install iTunes 8.1.1 for windows vista home premium 32 bit

    When program is installing from version 7.3, a message comes up stating I have a newer version of QuickTime which is impossible. Having purchased a new iPod Nano I cannot use it because iTunes 8.1.1 has not worked out bugs, or so it seems, to downloa

  • Install OS X 10.4.3 on my PC

    Hi, I would like to install Mac OS X 10.4.3 on my PC. Is that possible?If yes, can you tell me how? Thanks.

  • Differences between Oracle's and ArcSDE's validation routines

    I am having a small number of problems with valid Oracle geometries not displaying through ArcSDE. I have read the following on ESRI's website. Features stored in Oracle's SDO_GEOMETRY can be validated after storage using Oracle's validation subprogr

  • C:import and f:verbatim leads to invalid jspx?

    When I c:import a JSP page that contains <f:subview id="included">   <h:form>     <table>       <tr>         <td>A button label</td>         <td><h:commandButton value="Press Me"/></td>       </tr>     </table>   </h:form> </f:subview>it produces wro

  • Interface determination did not yield any actual interface

    Hello, I'm doing a file to proxy scenario where I sent a csv file to proxy. I'm using POD SAP 7.4 and I have done all the configurations properly. I'm getting this error - "interface determination did not yield any actual interface". Please help. Tha