Nikhil Madani
Lead Software Engineer
AEBN Inc.
704-529-1600 ext.146 (Office)
704-661-0574 (Mobile)
[EMAIL PROTECTED]
~|
Find out how CFTicket can
Hi all CF-TALKers :),
I'm trying to implement a Model-View-Controller architecture in a new project I'm working on. I've borrowed heavily from Ben's (http://www.benorama.com/coldfusion/patterns/part2.htm) visualization of the MVC pattern in CFMX- with CFC's serving as the controller layer.
Not handling the situation will allow the CFC to throw an
uncaught exception to the User- again I won't (?) be able to
put try/catch statements around the CFC.
You should be able to trap this with CFERROR or the site-wide error handler.
Dave Watts, CTO, Fig Leaf Software
How would one do this in CFSCRIPT-
cfset someStruct.#myVar#=somevalue
TIA
Nikhil
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
How would one do this in CFSCRIPT-
cfset someStruct.#myVar#=somevalue
someStruct[myVar] = somevalue;
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
Thank you.!
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
I'm using cfc's as controllers for my application by setting access=remote and calling the cfc directly from the browser like so-
http://localhost:8500/someApp/someCFC.cfc?method=someFnc
My question to the forum is- if a curious user tries to try typing in some arbitrary method name in the URL,
I've been trying to test a small app. with the MVCF framework proposed by Ben at Benorama.com. I'm using the pagelet CustomTag from that framework and it works great! But I was wondering if anyone has tried nesting pagelets. I'm trying to do that but the application won't acknowledge the nested
Sorry...My bad. I wasn't making a module call to the layout taglib in the view page. I assumed I would have to call it only once and I'm wrong.
I've been trying to test a small app. with the MVCF framework proposed
by Ben at Benorama.com. I'm using the pagelet CustomTag from that
Benorama site seems to down most of the time. Can someone please send me the example BlogMX.zip file offlist.
TIA
Nikhil
[EMAIL PROTECTED]
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Agreed...maybe it will take some getting used to, but I'm aware of what you correctly point out as an example of flexibility.
Even if one allows CFMX leeway on this issue (I can
Most OO languages allow the use of static classes, don't they? In those
cases, you're not interested in creating
I have a deep sense of loathing for the use of CFC's with cfinvoke given that Macromedia meant the latest CF release to be an object-oriented version. I'm aware that they do not claim it to be a completely OO based language like Java for example, but to me the valuable patterns that OO theorists
Dave,
At first glance Mach II seemed similar to Struts..I've had difficulty getting good documentation on Mach II with most of the stuff on the Mach II site very sketchy as to the framework API. I know I can start trying to understand the framework source code, but is there an easier way
I know this forum might not be the most relevant place for _javascript_ help, but anyway here is my problem:
On a certain page A, I have a _javascript_ function that needs to retrieve
HTML code from another web page B, possibly on another server.I know for a fact that the page I'm trying to reach
Original Message-
From: Nikhil Madani [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 1:20 PM
To: CF-Talk
Subject: _javascript_: Retrieving Remote HTML
I know this forum might not be the most relevant place for _javascript_
help, but anyway here is my problem:
On a ce
IFRAMEs
http://www.oreillynet.com/pub/a/_javascript_/2002/02/08/iframe.html
http://www.oreillynet.com/pub/a/_javascript_/2002/02/08/iframe.html
I haven't used them yet but it might be just what you're looking for.
Mark
-Original Message-
From: Nikhil Madani [mailto:[EMAIL PROTECTED
="" with the src page returning the entire _javascript_ function.
I hope that made some sense whatsoever :)
Is this the sort of thing you're looking for?
http://jibbering.com/2002/4/httprequest.html
-Bret
-Original Message-----
From: Nikhil Madani [mailto:[EMAIL PROTECTED]
[Toda
Cool folks...thanks a lotI'm going to getting working on all these
ideas. Once again, thanks for your inputs
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Philip,
I wish to email you offlist but dont have your email address
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
We have a very high traffic site that resides on a cluster running CFMX 6.1. We upgraded to CFMX 6.1 and Fusebox 4 recently from CF4.5 and FB3. All our servers are Windows 2003 servers with CFMX 6.1 running with IIS 6.
The problem is that we receive a bunch of java.lang.nullpointerexception
I'm not using cferror. Construct our own custom email error with cfcatch elements
and other information and mail using cfx_jmail.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
If that's true that might explain why its not getting written to the
exception log.
But do you think that if we kept rethrowing the exception and
not catch it anywhere, eventually having it write to the log, there might
be greater detail than a terse java.lang.nullpointerexception. If it does
Thanks..that worked out easier.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
CFMX 6.1 Cached Query Problem:
I have an XML file that I'm reading into a query object (to facilitate faster search) using the QueryNew(), QueryAddRow() and QuerySetCell() functions. Now, I need to hit this query often and I decided that caching it would be a good idea. Hence I did a query of
I have a XML file that looks like this
(actually fusebox.xml file from FB4, for those who are familiar)
circuit
fuseaction name=somename
..
/fuseaction
.
.
/circuit
I need to get a list of all the attribute values for name into an array. Right now, I'm using the xpath _expression_ /circuit/[EMAIL
I have a bunch of xml files from which my application creates cached
queries for use in the application. While all the xml files put together are not more than a megabyte, memory usage on my CFMX 6.1 Server (Running on Windows 2003 and IIS 6.0; 1GB RAM) spikes up to about 400 MB when the app. is
We have an existing application in FB3 that I'm planning to migrate to FB4 in the MVC pattern. Everything about FB4 with the MVC pattern sounds great (I come from the Java world, so CFMX with FB4 and MVC seems a welcome improvement from earlier versions)- my problem is this:
Our site/application's
Thanks! That was reassuring..
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I'm trying to do pretty much the same --- and want to know if anyone out there has
experience with multi language mgmt- especially the pitfalls to be avoided.
The page in question on my site that needs to support 5 languages is primarily images
and little text. But most of the text is derived
28 matches
Mail list logo