Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-07 Thread David McGraw
Well Dave, I would say in that instance, their Mojo would just be considered their tried and true techniques to get results. Just as all of us developers use tried and true functions, frameworks, etc... which give us advantages, or Mojo, over other development companies. I do agree that it is

Re: Template Page Not Found Errors

2011-01-04 Thread David McGraw
You can log more information. My framework I use email's me the entire cfcatch structure when an error occurs. Regards, David McGraw Oyova Software - http://www.oyova.com On Tue, Jan 4, 2011 at 1:35 PM, Richard Steele r...@photoeye.com wrote: Our error handler captures information about

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread David McGraw
To further Andrews Point, We typically create a script to deliver the requested file so we can run a bit of CF to properly name the file and ensure the user has a valid permission to even request it. So with our basic framework we usually have a download.cfm script which will serve it up if all

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread David McGraw
Yeah, I wasn't knocking it... On Tue, Jan 4, 2011 at 5:15 PM, Steve Bryant st...@bryantwebconsulting.comwrote: David, That is certainly another point altogether. As I said, the framework does allow you to configure location and URL path for uploaded files which *should* allow a URL path

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread David McGraw
How would CF server know to process a .cfm file unless you pre-configured your IIS or Apache to tell CF to process and execute PNGs? I'm honestly asking. I agree that your files should not be in the webroot, but it sounds like you can easily use a dynamic loader script, and configure the

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread David McGraw
I think the fear would be if an EXE was uploaded as a CFM file... Regards, David @ Oyova - http://www.oyova.com On Tue, Jan 4, 2011 at 5:52 PM, Steve Bryant st...@bryantwebconsulting.comwrote: Ian, I'm not sure that is exactly accurate. A mime-type can certainly be spoofed, no debate

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread David McGraw
Right, Andrew is spot on, you don't want someone writing a CFM script, or any script which can do a cffile action on your website... By ensuring the files which are uploaded from users residing outsite the webroot, IIS won't even prompt CF to execute the script, therefore it's just a text file

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread David McGraw
Yeah... I second this... Anyone who sets up to create something more than a random assortment of code, deserves a nod. -Dave Oyova Software, LLC www.oyova.com On Tue, Jan 4, 2011 at 6:23 PM, Mark A. Kruger mkru...@cfwebtools.comwrote: Steve, In spite of the small hornet's nest you stepped

Re: What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion? [Stackoverflow.com]

2010-12-20 Thread David McGraw
in syntax, like going form PHP to CF. Regards, David McGraw Oyova Software, LLC On Mon, Dec 20, 2010 at 12:20 PM, wrote: When it comes to CFML programming the docs for Railo is pretty much the same as ColdFusion. Pretty much, until you find something that works under CF and does not under Railo

Re: Database query - match 1 or more zeros

2010-12-17 Thread David McGraw
Can you cast is as a numeric value, all entries with '' should turn into 0, while anything with number becomes Null? then you simply check WHERE CAST() = 0 Regards, David McGraw Oyova Software, LLC - http://www.oyova.com On Fri, Dec 17, 2010 at 2:18 PM, Ian Skinner h...@ilsweb.com wrote

Re: CF Blog software

2010-11-09 Thread David McGraw
So am I and I have no complaints. Dave McGraw Oyova Software, LLC http://www.oyova.com On Tue, Nov 9, 2010 at 6:27 PM, AJ Mercer ajmer...@gmail.com wrote: I am running mangoBlog on Railo http://www.mangoblog.org/ http://www.mangoblog.org/ On 10 November 2010 02:25, DURETTE, STEVEN J

Re: cfm vs html pages

2010-11-08 Thread David McGraw
Always a good idea to give you 1 file to update. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Mon, Nov 8, 2010 at 5:08 PM, Rob Voyle robvo...@voyle.com wrote: Hi folks I am building a new website that will have about a 100 pages with an extensive menu that will need

Re: rereplace for removing repeating characters

2010-11-02 Thread David McGraw
the top of my head. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Tue, Nov 2, 2010 at 8:34 AM, Richard White rich...@j7is.co.uk wrote: Hi, i need to replace all repeating commas in a string with only one comma, plus remove the trailing comma, have tried a few different routes

Re: Latency Issues when pulling data from other websites

2010-10-30 Thread David McGraw
If you are using cfhttp to retrieve the image, add a timeout value to it and code for the case in which id doesn't come back in time. Or you can utilize ajax to do your retrievable so the entire page is presented, and then a secondary process retrieves the files post page load. Regards, David

Re: Latency Issues when pulling data from other websites

2010-10-30 Thread David McGraw
Russ, I would assume he's using Amazon services for files that need more than just loading images on a web page, but for something like a image gallery, or something else that requires loading on the server side, which is why his question is about requesting the file using CF. On Sat, Oct 30,

Re: Query Var Disappears

2010-10-26 Thread David McGraw
Not sure if this was suggested, but when you use cfqueryparam you need to specify a type as well, not just a value. Try adding int the CF_SQL_TYPE attribute... Thanks, David McGraw Oyova Software, LLC http://www.oyova.com On Tue, Oct 26, 2010 at 3:03 PM, Matt Quackenbush quackfu

Re: Query Var Disappears

2010-10-26 Thread David McGraw
I stand corrected... however did you add it and did it fix it? On Tue, Oct 26, 2010 at 3:10 PM, Matt Quackenbush quackfu...@gmail.comwrote: Actually, that is incorrect. cfsqltype is **not** a required attribute for cfqueryparam /. If omitted, it defaults to cf_sql_char.

Re: Query Var Disappears

2010-10-26 Thread David McGraw
Ahhh... I have gotten that error before, but it was so long ago, I don't remember what the cause or the fix was. Good luck! On Tue, Oct 26, 2010 at 3:17 PM, Matt Quackenbush quackfu...@gmail.comwrote: It was never missing from the real code. Again, I posted pseudo code in order to save

Re: Query Var Disappears

2010-10-26 Thread David McGraw
Probably becuase when using a SELECT INTO you can potential insert more than just 1 record, so that probably doesn't work with that. What does TMP look liek when you just dump that after the query? Maybe it's an array of IDs? Doubt it, but that's what I would assume since it could in theory

Re: Query Var Disappears

2010-10-26 Thread David McGraw
I guess I am so lost, I thought Matt just said what I suggested would generate an error? On Tue, Oct 26, 2010 at 3:42 PM, Bryan Stevenson br...@electricedgesystems.com wrote: plus one for David's explanation re: new ID...nail hit on head ;-) On Tue, 2010-10-26 at 15:35 -0400, David

Re: Query Var Disappears

2010-10-26 Thread David McGraw
I'll take it! On Tue, Oct 26, 2010 at 4:04 PM, Bryan Stevenson br...@electricedgesystems.com wrote: SorryI replied with my plus 1 before seeing Matt's post about the error. I still think that is the reason it doesn't work (error or not). On Tue, 2010-10-26 at 15:47 -0400, David

Re: Does ORM scale?

2010-10-22 Thread David McGraw
independent, that's when stored procedures come into play. This will keep your code generic, and put the emphasis on the DB of choice, and you can't get better scale or speed for complex needs than just developing the process on the DB. Regards, David McGraw Oyova Software, LLC http://www.oyova.com

Re: OOP vs cfinvoke

2010-10-22 Thread David McGraw
Not 100% sure, but cfinvoke only calls a method, which in theory has to load the object. When you create the object vs CreateObject in cfscript, and then call multiple methods based on that one loading command, you should see improved performance. Regards, David McGraw Oyova Software - http

Re: Memory Upgrade - Revisited

2010-10-20 Thread David McGraw
There is something wrong with the idea of using such a beastly web-server with an Access DB backend, upgrade your DB while you are at it. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Wed, Oct 20, 2010 at 11:48 AM, Steve LaBadie slaba...@po-box.esu.eduwrote: We

Re: Totaling items in a recordet

2010-10-19 Thread David McGraw
know. Regards, David McGraw http://www.oyova.com Jacksonville, FL - Web Design and Development On Tue, Oct 19, 2010 at 3:16 PM, Rick Sanders r...@webenergy.ca wrote: Hey all. I am pulling prices from a database and want to total them. Is there a function like #total(query.column)# ? Kind

Re: totaling items in a recordset

2010-10-19 Thread David McGraw
. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Tue, Oct 19, 2010 at 3:18 PM, Rick Sanders c...@webenergy.ca wrote: Hey all. I am pulling prices from a database and want to total them. Is there a function like #total(query.column)# ? Kind Regards, Rick Sanders Webenergy

Re: Totaling items in a recordet

2010-10-19 Thread David McGraw
Yeah, you need ColdFusion Server version 7+ and then you need to write CF code to do it... ;) Regards, David McGraw http://www.oyova.com On Tue, Oct 19, 2010 at 3:33 PM, Rick Sanders c...@webenergy.ca wrote: This is something along the lines of what I was looking for. Now, is there a way

Re: totaling items in a recordset

2010-10-19 Thread David McGraw
, I usually just create a variable and total them up while I am looping around to display. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Tue, Oct 19, 2010 at 3:34 PM, Michael Grant mgr...@modus.bz wrote: I'd have to respectfully disagree. I think you'll find the way I

Re: CF (8.0.0) performance vs PHP (5)

2010-10-19 Thread David McGraw
Although I tend to agree with you Will, as a 12 year vet developing CF and for the past 3 years mixing in some PHP, PHP is just simply faster on an average setup every day need basis. I still use CF, and love it, but it's not as fast as PHP. Regards, David McGraw Oyova Software, LLC http

Re: Subversion Software

2010-10-13 Thread David McGraw
worrying about maintaining your own server. http://www.beanstalkapp.com/ Regards, David McGraw Oyova Software, LLC http://www.oyova.com Website Help, Design, and Development http://www.oyova.com On Wed, Oct 13, 2010 at 3:08 PM, Paul Alkema paulalkemadesi...@gmail.comwrote: Hey All, I'm

Re: Looping over Query that's contained in a structure.

2010-10-13 Thread David McGraw
Could be becuase your structure key is LineTEMS, not LineItems... Spelling is sometimes the worst bug to catch. David McGraw Oyova Software, LLC http://www.oyova.com On Wed, Oct 13, 2010 at 4:09 PM, Cameron Childress camer...@gmail.comwrote: cfloop query=#q['lineItems']# Pound signs

Re: PDF scaling

2010-10-12 Thread David McGraw
Could the fontEmbed option help? I don't think it will but worth a try. Dave @ Oyova.com a href=http://www.oyova.com;Web Development and Design - Oyova Software/a ~| Order the Adobe Coldfusion Anthology now!

Re: Microsoft rumored to be buying Adobe

2010-10-12 Thread David McGraw
I can't imagine it's good for ColdFusion, then again, perhaps it may mean some real advertising and pushing of a great technology. Imagine CF freely bundled with all IIS servers. It could mean a HUGE boom for the CF community. CF.NET would rock. Dave @ Oyova Software http://www.oyova.com

Re: CF based Poll?

2010-10-12 Thread David McGraw
I have worked with Soundings before and I found it horrible to work with... I would rather develop my own before trying to work with that again. Just my experience with it, I am sure the client and the situation had more to do with it than the product. Regards, David McGraw Oyova Software, LLC

Re: Lions, Tigers and Images, Oh My!

2010-10-12 Thread David McGraw
Did you supply a location for where to place the file on a cffile action=upload, if not it's just saving it to the CF server's default temporary location. I think you want to make sure every cffile has a destination attribute filled out with where you want the file to go. Dave @ Oyova Software

Re: Lions, Tigers and Images, Oh My!

2010-10-12 Thread David McGraw
I'm referring to how you handle the submission on the server side. I almost never use any cfform objects so you may need someone else to help you there. Typically after you submit the form, you have a set of code to process the incoming file fields. In order to handle a form submission in CF,

Re: Array Error

2010-10-10 Thread David McGraw
StructInsert(myLeafStruct, q.account_id, q.account_id, true); /cfscript /cfloop This will allow you to reference the account if by the query id. Regards, David McGraw Oyova Software, LLC http://www.oyova.com Hi All - I am trying to do the following in my code. cfquery

Re: CFParam vs. IsDefined

2010-09-01 Thread David McGraw
The only general advantage I see is that you are reserving memory no matter what, even though it's not much, where as with the isDefined, your just checking, rather than reserving that memory. I prefer to CFParam my vars with a default value of a zero len string or a 0 for numeric values.

Re: calling a cfc function from the same cfc

2010-08-25 Thread David McGraw
In instances of calling a function that has no return, I find it easier on the eyes to call them with cfscript. cfscript domain1_404(arguments.requested_template); /cfscript David McGraw Oyova Software, LLC http://www.oyova.com cfset domain1_404(arguments.requested_template) / Hmm

Re: Alternatives to CFFM?

2010-08-19 Thread David McGraw
! moment, and realize what's happening. Thanks, David McGraw Oyova Software, LLC http://www.oyova.com Thanks John, I dont think its a CF error, thats the problem.A narrow very tall popup appears (taller than the window) with a whole lot of code in it, generated by javascript I assume, but since

Re: OOP Principles question

2010-08-04 Thread David McGraw
At some point your going to have to develop some uniqueness into your application that is project specific. You can spend a lot of time on form generators, and generic and configurable work flow engines, but is the time worth it? I even have some CFC's that are project specific. What I try

Re: cfwindow - dynamically setting window title using javascript?

2010-07-07 Thread David McGraw
I simply use JS to set the innerHTML of the dynamically created element which houses the Title. Using Prototype: $('popupWindow_title').innerHTML = '#JSStringFormat(Title)#'; popUpWindow is the name of my cfWindow. When the window is rendered, the content for the title is contained in an

Re: cfwindow - dynamically setting window title using javascript?

2010-07-07 Thread David McGraw
I simply use JS to set the innerHTML of the dynamically created element which houses the Title. Using Prototype: $('popupWindow_title').innerHTML = '#JSStringFormat(Title)#'; popUpWindow is the name of my cfWindow. When the window is rendered, the content for the title is contained in an