|
Can someone who has worked with these two technologies tell me which is better. Pros and Cons... I know that ASP.Net is a newer technology, but that is all.
Thanks..
|
|
|
|
|
I work with both. I've used cold fusion for years, but am relying more and more on asp these days.
Cold fusion pros: The big one is consistancy. If you are given a server that runs cold fusion, you know exactly what is on it. While it is possible to develop custom cf tags, it is more common to just use the standard set of tags. The nice part about this is that if you develop something that you want to hand out to multiple people, you can be sure it will work across the board.
Cold fusion cons: $$$ Cold fusion server is expensive. If your site is hosted, the cost is passed along to the site owners. Therefore, a cold fusion enhanced site is more expensive to maintain.
ASP pros: A hell of a lot of support. If you shake a tree, an ASP developer will most likely fall out. This means if you have a problem, finding the answer is a whole lot easier. It also means there are many custom objects out there that you can add into your projects.
Furthermore, it is cheap. The asp engine is free if you are using IIS (or even personal web server for that matter).
Cons: Too many flavors. Let's say you are trying to produce something and you find documentation on how to do it on some random site. You copy the code and stick it on your site. You try running it and it doesn't work. Why? Because the other guy has been using some custom object that he hasn't documented. Assuming you are able to figure out what it is, you might still have to pay for this package, which increases your development cost or force you to start over and find a different way to do it.
There are other pros and cons of each, but that is what I focus on at least.
|
|
|
|
|
Great info.. Thanks...
Do you have any idea of the cost of the cold fusion server.
|
|
|
|
|
|
I have never ever seen cold fusion code... My company is considering purchasing an application that is in cold fusion. I have done a little ASP programming. My background is mainly C++. Is it worth my while to take a cold fusion class or is the syntax easy to grasp?
Is Cold Fusion a dying technology? Would you purchase cold fusion source code?
|
|
|
|
|
Cold fusion works in tags like html. Here is an example:
<cfset name="Jim">
<cfoutput>
Hello, my name is #name#
I found it easier to learn than ASP or ASP.Net, but then again, I suck at C++ and my C background is nothing to write home about. For someone who understands the concept of server-side processing, learning cold fusion should only take a weekend (at least to a degree necessary of managing a pre-built solution). Go to the bookstore and pick up a Cold Fusion basics book. You should be set.
Is it dying? Who knows. It used to have a much stronger presence than it does now. If it dies off, it is because Macromedia is charging to much for it. It isn't that it is over-priced for what it does. I whole-heartedly admit that it is a great tool. In fact if price were not a factor, I would choose to use it over ASP/ASP.Net. I just think that the majority of the world will never be able to afford to use it.
|
|
|
|
|
I'm Facing a project of two Databases in Diffrent PCs & I want to Transfer data/Update/edit from & to each one ( Not mirror ) But I transfer then process it & compair ...etc then put it in the database according , then back it's Id to the 1st PC, like this Imagination :
note :
PC1 : SQL server database
Windows OS
PC2 : windows OS
DBase database or something else
----------------------------------------
The Records are sooo BIG & have to take on Mind Many Updates at the same time & also Disconnected senario then Sync
--------------------------------------------
PC1 ----> PC2(Process Incomming Data & Update the dbase)
PC1<------PC2(Back the ID )
--------------------------------------------
then How to do so with fast way & do the Operation
Know that i can install any reqirment Tools or tech.
|
|
|
|
|
Hey friends,
I have a problem related javascript.
I am trying to create "scriting.filesystemobject" using javascript
but I am getting the error "automation server can not create object"
Plz send me the solution i any of u have it.
Thank u all.
|
|
|
|
|
There could be host of reasons for this error. For example no scripting engine is installed on your machine or you do not have permissions to access the filesystemobject, or you do not have permissions to open the necessary files.
Are you doing this as a part of your web page? also what os are you using. a lot depends on this too.
Prady
|
|
|
|
|
Hi,
Thank u very much for the reply.
I am using windows2003 server and developing a web application using ASP.NET and Web server is IIS of my system.
I want to make .txt files on server using javascript. For that I am doing like this.
fso =new ActiveXObject("Scripting.FileSystemObject");
f = fso.CreateTextFile(filename, ForReading);
f.Write(myRTF.document.body.innerHTML);
f.close();
Do u have solution of this problem.
If u have it then plz sent it to me.
Thank u again.
|
|
|
|
|
Hi Chetan,
Hello! there is a better way to do this. If you are using ASP.Net and want to create the files on the server then why are you using JavaScript? you could use C# code behind for a much richer functionality. However that is your choice.
The problem you are facing is due to permissions. Your JavaScript is not getting permission to write the file, which is what it is designed to do by default. You will have to change the web conf file for your project to grant permission to access the disk resource. Only then can you write to a file.
Prady
|
|
|
|
|
Thank u very much for ur reply,
The way u suggested that to use code behind to create file on server is very right but in my application it is mandatory to create it by javascript.
and u said that there could be a problem reagrding permissions, thats right.
I also tried for that but could not get proper solution. actually It was performing in fine way just berofre two days.
but now it not working.
Thank u again for ur suggestion and the way u suggested.
|
|
|
|
|
Hi,
I'm trying to create TD and TR elements in Javascript.
Using document.createElement("tr") and document.createElement("td");
Also to catch mouse events i use,
setAttribute("onmouseout", "this.className='mouseOver';");
How to handle ARROW KEY events like mouseover .Pls help.
Thanks in Advance
Ram
|
|
|
|
|
setAttribute("onKeyDown","javascript:KeyDown();");
function KeyDown()
{
var whichKey = event.keyCode;
switch(whichKey)
{
case 37:
case 38:
case 39:
case 40:
}
}
I hope that's what you're looking for...
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
Hi all,
My problem is finding how to control the right of printing, saving a PDF file specifically and file of any type generally through IE.
Can you help me?
Thank you all!
N@m
|
|
|
|
|
When I send a Query that returns no results there is simply an error page and NOT the "NO RESULTS FOUND" that I want displayed... CAN YOU PLEASE HELP.. This is my code for the body section... all seems fine as per my tutorial?? Would you need the rest of the code page or not? It is simply suppose to display SOMETHING except an error page when you have no results in the query search???
<%
i=0
While (i<=37)
%>
><%=response.Write(CatArray(i))%>
<%
i=i+1
Wend
%>
OR
| |
<% If Not Recordset1.EOF Or Not Recordset1.BOF Then %>
<% IF Recordset1.EOF OR Recordset1.BOF Then %>
<% Else %>
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
Records <%=(Recordset1_first)%> to <%=(Recordset1_last)%> of <%=(Recordset1_total)%> | Category | Price | <%=(Recordset1.Fields.Item("DESCRIPTION").Value)%> | <%=(Recordset1.Fields.Item("CAT").Value)%> | R<%=(Recordset1.Fields.Item("INCL TAX").Value)%> |
<% End If ' end Not Recordset1.EOF Or NOT Recordset1.BOF %>
<% End if %>
<% If Recordset1.EOF And Recordset1.BOF Then %>
<% End If ' end Recordset1.EOF And Recordset1.BOF %>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
this is me
|
|
|
|
|
<meta http-equiv="refresh" content="10; url="http://www.lama.com/">
That code will refresh the browser to the indicated URL 10 seconds after loading the page.
How can I cancel the refresh timer? I have tried removing the meta tag element but that does not work.
regards,
Paul Watson
South Africa
PMW Photography
Gary Kirkham wrote:
The ability to destroy a planet is insignificant next to the power of the cliché...Star Trek had it in spades.
|
|
|
|
|
How did you remove the tag? Using javascript? Once the page is loaded it's probably to late to stop it.
Are you using any server code? Then remove the tag on the server side, e.g. don't write it to the page.
---
b { font-weight: normal; }
|
|
|
|
|
By other means (window.location= / window.location.href= ), redirect to another page less than 10 sec after the page loads.
|
|
|
|
|
Pardon? I don't want the page to redirect at all, the meta refresh needs to be cancelled all together. I cannot strip out the meta refresh before it gets to the browser either.
regards,
Paul Watson
South Africa
PMW Photography
Gary Kirkham wrote:
The ability to destroy a planet is insignificant next to the power of the cliché...Star Trek had it in spades.
|
|
|
|
|
I am experiencing problems with events.
I want to develop (eventually) a keyboard pop-up window as a user control that will pass data back to the page.
I have attached a cut-down version and now basically all I have is a web form with a textbox, and a user control with a button on, which when pressed will populate the textbox with some characters.
I’m trying to use events to do this but I get errors, can any one help?
Webform1.asp.cs
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace testeventsc
{
///
/// Summary description for WebForm1.
///
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.TextBox TextBox1;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
void uc1_OkClick(object source,EventArgs e)
{
this.TextBox1.Text = "xx";
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
}
}
Webform1.aspx
<%@ Register TagPrefix="uc1" TagName="uc" Src="uc.ascx" %>
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="testeventsc.WebForm1" %>
<title>WebForm1
<asp:textbox id="TextBox1" runat="server">
<uc1:uc id="Uc1" runat="server">
uc.ascx.cs
namespace testeventsc
{
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
///
/// Summary description for uc1.
///
public delegate void OkClickEventHandler(object sender, EventArgs e);
public class uc1 : System.Web.UI.UserControl
{
public event OkClickEventHandler OkClick;
protected System.Web.UI.WebControls.Button buttonOK;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
public string Value()
{
return "xx";
}
private void buttonOK_Click(object sender, System.EventArgs e)
{
OkClick(this,new EventArgs());
}
}
}
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="uc.ascx.cs" Inherits="testeventsc.uc1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<asp:button class="Fatkey" id="buttonOK" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 12px"
="" runat="server" text="Ok">
Clueless Novice
|
|
|
|
|
Hi
Anyone have any idea why in my ASP.NET app (which has active configuration set to debug; unchanged project settings from the default; and compilation debug=true in web.config), does not trace to the output window with System.Diagnostics.Debug.WriteLine ?
The debugger will break properly, and I can step over code fine, but the cursor jumps right over a debug statement, and does not execute it.
Any ideas greatly appreciated, because this is winding me up.
Another thing i've noticed is that if an exception isn't handled, the debugger doesn't catch it: I end up with an asp.net error page in the browser.
Cheers
Jon
using System.Beer;
|
|
|
|
|
What Asp SourceCode Management Tool do you use?
I want to find an Asp SourceCode Management Tool to manage my Asp SourceCode.
Please give me some advice,Thank you!
|
|
|
|
|
I am sorry,I mean Source Control Tool
|
|
|
|
|
hi there,
U can use MS Visual source safe or u can go here
http://www.freedownloadscenter.com/Best/visual-cvs-free.html to get more info about "Source Version Control"
<< >>
|
|
|
|