Re: Coldfusion online photo gallery creator?
On 3/7/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > > I've looked at that one. Problem is that you have to upload a batch of > images all at once. I want one that doesn't require FTP. > > we wrote our own to do that - uses cffile to do the uploading from a browse button.. Perhaps I should look at splitting it out and repackaging it - at the moment it needs ImageMagick installed on the server to do the image resizing. -- mac jordan home: www.kestrel.org work: www.webhorus.net them: www.jordan-cats.org ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234585 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfm captchas
Ps... Stan Winchester from www.aftershockweb.com made about 6 or 7 new image sets for BHCaptcha that you can find on the site as well (now that I've realized that I forgot to move them to the live serveroops). Demo and Image sets can be found at http://acoderslife.com/downloads/bhcaptcha/bhcaptchatest.cfm ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Kym Kovan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 11:05 PM To: CF-Talk Subject: Re: cfm captchas dave wrote: > what are our options for cfm captchas besides alagad > http://acoderslife.com/downloads/bhcaptcha/ no graphics manipulation engine/cfx required. HTH Kym K ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234584 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfm captchas
I'll second that one ;-) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Kym Kovan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 11:05 PM To: CF-Talk Subject: Re: cfm captchas dave wrote: > what are our options for cfm captchas besides alagad > http://acoderslife.com/downloads/bhcaptcha/ no graphics manipulation engine/cfx required. HTH Kym K ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234583 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS site like fullasagoog.com
>Should I run a script every few minutes to check the feeds for new entries? Yves: Only if you want to be hunted down by a bunch of irritated server admins for abusing their bandwidth. :) In general, you don't want to poll a given feed more than once an hour. If you must poll more frequently, you should HEAD each feed before doing a full GET... that way you can check the headers to see if anything has changed before requesting a feed full of redundant items. -- Roger Benningfield http://admin.mxblogspace.journurl.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234582 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfm captchas
http://www.compoundtheory.com/?action=captcha.index -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 March 2006 3:07 PM To: CF-Talk Subject: Re: cfm captchas Send me a nice friendly "please, please, please" email and I might get round to implementing the idea I've had in my head for the last year or so ;-) I think it would take about 30 people asking for it to get enough motivation for lift-off. Spike On 3/7/06, dave <[EMAIL PROTECTED]> wrote: > what are our options for cfm captchas besides alagad > > ~Dave the disruptor~ > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234581 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Ok, I give...how can I do this...
Numberformat(number,".99") worked for my problem. Unless you specify a comma, numberformat will not put one in (with the exception of if you do not put in a mask). I didn't realize that decimalformat outputs a string value (that's what I get for not reading the manual hehehehe) Eric -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, 07 March 2006 08:23 To: CF-Talk Subject: RE: Ok, I give...how can I do this... I would use a regular expression to remove *all* non-numeric characters. Then, check to see if the remainder is numeric. You could do this both on the client and the server. M!ke -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 7:16 PM To: CF-Talk Subject: RE: Ok, I give...how can I do this... Thanks for the tip, Josh...yet another way I'll have to validate an entry. Maybe it's just easier to let them make an illegal entry, then tell them how I want them to enter the data than try to catch all the possible violations... I wonder what will happen if they enter $1,000 and I run it against IsNumeric(Replace(Form.Dollars, ",","","all")) ? What about that dollar sign? I'll have to see...thanks, Josh... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234580 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Query brain teaser
I would have created a table with the student info, then using an id field from the student table, created a table that had student id, question #, and answer. Obviously there would also be a table that had question number and question. So to pull the info, I would do the following select: Tables: Student_table Student_id Student_name Question_table Question_id Question Student_question_table Student_id Question_id Answer Select student_name, question, answer >From student_table a , question_table b , student_question_table c Where a.student_id=c.student_id and b.question_id=c.question_id Eric -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Tuesday, 07 March 2006 06:56 To: CF-Talk Subject: Query brain teaser I have come across this a few times and was wondering how some of you would attack it. I have a table that looks like this uniqueID q1 q2 q3 ... q50 In reality the table should look like this uniqueID studentID answer qid I need it to have multiple records so I can do a join on a table that holds the answer which is written as a table with multiple records as opposed to a table with multiple columns.I know I can accomplish this in coldfusion. The way I did it was to query the big table, then create a structure so each column was in a structure. What would you have done? Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234579 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application Security Framework or model available?
You can check out my security application framework here (bottom of the page): http://www.depressedpress.com/Content/Development/ColdFusion/DPLibraries/Ind ex.cfm It's woefully undocumented, but all of the CFCs used are. The system is completely CFC based and provides only the services for security - you provide the interface. It can be used within an application or not (in which case the CFCs will instantiate in the server scope). Drop me a line if you glance and are interested - I can send you examples of using it (I'm very, very slowly collecting this stuff for documentation purposes). Jim Davis ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234578 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfm captchas
Send me a nice friendly "please, please, please" email and I might get round to implementing the idea I've had in my head for the last year or so ;-) I think it would take about 30 people asking for it to get enough motivation for lift-off. Spike On 3/7/06, dave <[EMAIL PROTECTED]> wrote: > what are our options for cfm captchas besides alagad > > ~Dave the disruptor~ > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234577 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfm captchas
dave wrote: > what are our options for cfm captchas besides alagad > http://acoderslife.com/downloads/bhcaptcha/ no graphics manipulation engine/cfx required. HTH Kym K ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234576 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
cfm captchas
what are our options for cfm captchas besides alagad ~Dave the disruptor~ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234575 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
>>I see it's not all that mysterious. Mysterious, no, but tricky, definitely, and sometimes quite frustrating ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234574 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How do I write a Regex for this?
Thanks, Claude! Rick > -Original Message- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 9:39 PM > To: CF-Talk > Subject: Re: How do I write a Regex for this? > > > >>What do the \'s do? And the + sign? > > The \ is used to escape special characters, like the dot and dollar sign. > The + means one or more occurences of the previous subexpression. > > -- > ___ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234573 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
Sorry Claude, turns out the answer to that question was not so intricate. I am a regex goober but upon some studying of livedocs I see it's not all that mysterious. 8-) -- Josh - Original Message - From: "Claude Schneegans" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, March 07, 2006 6:42 PM Subject: Re: How do I write a Regex for this? > >>I doubt Claude wants to spend time explaining the intricacies of > Regex's to you > > Man of poor faith! ;-) > > -- > ___ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234572 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX 6.1 & SQL Server
I am encountering empty strings being inserted into varchar(6000) fields in a SQL 2K table. I have tried adjusting the settings in cfadmin as well as scouting the MM website looking for an answer... The cf_sql_type is set to varchar (even tried long varchar)... Is a driver update in order? I am currently running the standard drivers that are installed with CFMX 6.1 on JRUN 4. TIA, Tango ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234571 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
>>I'll add that you don't need to escape the period and dollar sign Right, but I was not sure, and when you ar not sure, it doesn't hurt to escape anyway ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234570 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
>>I doubt Claude wants to spend time explaining the intricacies of Regex's to you Man of poor faith! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234569 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
>>What do the \'s do? And the + sign? The \ is used to escape special characters, like the dot and dollar sign. The + means one or more occurences of the previous subexpression. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234568 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application Security Framework or model available?
Its mainly implemented in an MVC pattern with the Controller being fusebox, and the Model in cfc's, so it could probably move into something else fairly easily -Original Message- From: Troy Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 8:47 PM To: CF-Talk Subject: Re: Application Security Framework or model available? Sandy, Thanks for the response. I'll take a look at your Fusebox plugin to see if it gives me any ideas. I am not using Fusebox. I am using ColdFusion MX 7 with Mach-II and Oracle 9.2. -- Thanks, Troy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234567 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application Security Framework or model available?
If you're willing to accept the framework it comes with. :) There's a complete security suite in the Members onTap plugin that would be able to provide the kind of access you describe. You would probably need to implement a RuleManager component to augment the security suite that's built into the plugin -- which I did in the Blogs onTap sample application. In fact, the security suite actually lends itself to this quite well as there's a relatively simple method that can be used in the application stage to override the default security settings. Thus a user can have permission to CRUD in general, which can then be overridden for an individual project at the beginning of the request to disable C, U, or D. The RuleManager component would then simply provide a mechanism for layering the security rules (and an interface for users to assign the 2nd layer) to determine who has access to which projects. The first layer of permissions is role-based (although a single user can be a member of multiple roles) -- the RuleManager components would allow you to assign any kind of logic you'd like to override the default rules, so it can be role-based but wouldn't need to be, for example, the Blog can allow you to let a user edit their own comments or not (at least I think I wrote in that ability), where the current user being synonymous with the comment author of course has no relationship to the role system at all. > CRUD: Create, Read, Update, Delete. > Does anyone know where I could find information and > examples of > applying access control on parts of a web application and > its data? > For example: I could have a list of users with permissions > to projects like so: > User1: > RUD: Project 1 > RU: Project 2 > R: Project 3 (Can Read Only Part of the Project) > User 2 > R: Project 1 (Can Read All of the Project) > RU: Project 2 > RUD: Project 3 > I have been searching the internet and I have found a > couple ideas so > far. They are: > 1. Role-Based Access Control > 2. Discretionary Access Control with Security Descriptor > and Access Token. > Are there any others? > Any ideas? s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234566 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application Security Framework or model available?
Sandy, Thanks for the response. I'll take a look at your Fusebox plugin to see if it gives me any ideas. I am not using Fusebox. I am using ColdFusion MX 7 with Mach-II and Oracle 9.2. -- Thanks, Troy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234565 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Popular Open API's
Thanks for the comments everyone! Taking them all down. What im really looking for though is like web applications that people have developed that they have opened an API to use. Not as much tools like java and such (although keep those coming, i need those for something else!) but like flickr, where they built an application/service, and then developed and api for other developers to be able to use what they built. Does that make sense? On 3/7/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > dunno about popular, but when you need it, you need it. > > http://jscience.org/ > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234563 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How do I write a Regex for this?
Thanks for the link, Josh... > -Original Message- > From: Josh Nathanson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 7:45 PM > To: CF-Talk > Subject: Re: How do I write a Regex for this? > > > Yo Rick - I doubt Claude wants to spend time explaining the > intricacies of > Regex's to you -- here's a link that will help: > > > http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimp > l/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=000 > 00982.htm > > Watch the link wrap! > > -- Josh ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
> Thanks Isaac, > I think you answered my question by stating that most > frameworks don't help you with data access. If that > is the case, then I could use FB/MG/whatever and then > do the data access how I like. They might suggest I > put my queries in a specific location, but after that > I can make them 10 lines or 500 lines, and the > framework will work the same. Yep, that's the gist of it. There might be exceptions, but generally speaking only if you went out of your way to find a specifically data-access framework. > As far as using views: we do use views here, and they > are very nice. But let me give a simple example to > explain why our queries can be complex. Say you have > financial data in 3 different databases, all built by > 3 different people. The reason there are 3 different > databases is because the data is gathered by 3 different > business units in the company. The Budgeting system > needs to gather data from all 3 systems. For example, > one page in the budget tool allows you to budget for a > department's payroll. In order to put the necessary > data on the screen (all of the info a manager needs > to create his payroll budget), you have to query the > budget database itself (for historical comparisons), > as well as the human resources and the ERP databases. > The reason for the first two is obvious, but the ERP > system is where employees charge their work orders > when they do capital labor jobs throughout the year. > So a data query for the payroll budget screen has to > join data from all three databases, hitting multiple > tables in each. This is not a simple report though, > because /every/ manager in the company will use this > tool, so every query will be unique to that manager's > department. Also, most of the data queries behind > this page are virtually useless in the rest of the > budget tool. We /could/ create a view that would > simplify the above queries, however this view would > be useless to any other page or tool because this > specific situation is very unique. > Am I making any sense? Yes and no. :) It may just be that the system is genuinely so complex that routine use of multi-hundred line queries is really necessary. It may be that I would have to actually sit down and look over the code and the db schema myself to understand that... But as a general rule I'm not inclined to think so... My money would be hedged on the idea that there is _some_ similarity between the payroll for one department and the next. If there's not, then I'd love to write a business case for your company outlining how they're hemoraging hundreds of thousands of dollars every year by making their programmers spend many, many extra hours coding by (among other things) reinventing payroll every time they create a new business unit. :P Actually (and I mean absolutely no disrespect by this) this conversation reminds me of another thread where someone was asking about how to programatically add columns to a table (or maybe tables to the db, I'm not sure). It turned out that their use for the extra tables was to create extra dimensions in a crud application. I don't remember the _precise_ details of their environment, but in essence they had a table that held the core records (example: workflow event) and then for each property that a user wanted to apply to those core records (example: status, priority) they would have the system programatically create another table for them. I was of course trying to explain that I felt this was a poor choice of architecture and they said, with no sarcasm "how am I supposed to do this without adding columns/tables"? I ended up sending a fairly detailed response which explained how to store id's and labels for the properties in one table and the values for properties in a 3rd so that the application would have only 3 tables and require no additional schema changes rather than continually adding columns or tables. (I had myself just recently implemented a similar 3-table workflow system.) If I remember correctly they never responded afterward. In any event, as I said, no disrespect intended. All I'm saying is that, while you could be correct in the assumption that there's not a good way to compress that code so it's not so verbose and easier to manage, I'm not inclined to think so because my own personal experience has been consistently different, but that it may be rather difficult for a) you to adequately explain your environment enough for me to fully understand the issues at hand or b) for me to adequately explain a proposed solution enough for you to implement it, particularly without my having a lot more (likely first-hand) exposure to your environment. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~
Re: OT: Popular Open API's
dunno about popular, but when you need it, you need it. http://jscience.org/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234561 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RSS site like fullasagoog.com
Hey there, I'm considering attempting to build a similar site to fullasagoog.com. Basically, pull in feeds from many different blogs and sort them (DESC). I'm wondering if anyone has built something similar and would maybe have some suggestions on what to look out for. Also, I guess I'm not sure what the best approach would be. Pulling the feeds and storing into a database, then display and sort. Should I run a script every few minutes to check the feeds for new entries? And when the page is loaded, I would use some query caching so as not to . Having never done a whole lot with rss feeds other than simply displaying their contents... just trying to find the most efficiant way to go about. Thanks, -- Yves Arsenault "Love is the only force capable of transforming an enemy into a friend". --Martin Luther King, Jr. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234560 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application Security Framework or model available?
If you are using Fusebox, I have a roles based security system that plugs into the Fusebox permissions. Alternatively you could use it to secure parts by simply making calls to application.security.validatepermissions(). You can create profiles which apply privileges. Sample app and stuff are on my site. Works in Access and MSSql right now, but since its a database abstraction layer, you could redo the db stuff in MySql, or Oracle and have it work. Sandy Clark http://www.shayna.com/index.cfm?fuseaction=public.code -Original Message- From: Troy Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 7:53 PM To: CF-Talk Subject: Application Security Framework or model available? CRUD: Create, Read, Update, Delete. Does anyone know where I could find information and examples of applying access control on parts of a web application and its data? For example: I could have a list of users with permissions to projects like so: User1: RUD: Project 1 RU: Project 2 R: Project 3 (Can Read Only Part of the Project) User 2 R: Project 1 (Can Read All of the Project) RU: Project 2 RUD: Project 3 I have been searching the internet and I have found a couple ideas so far. They are: 1. Role-Based Access Control 2. Discretionary Access Control with Security Descriptor and Access Token. Are there any others? Any ideas? -- Thanks, Troy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234559 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Application Security Framework or model available?
CRUD: Create, Read, Update, Delete. Does anyone know where I could find information and examples of applying access control on parts of a web application and its data? For example: I could have a list of users with permissions to projects like so: User1: RUD: Project 1 RU: Project 2 R: Project 3 (Can Read Only Part of the Project) User 2 R: Project 1 (Can Read All of the Project) RU: Project 2 RUD: Project 3 I have been searching the internet and I have found a couple ideas so far. They are: 1. Role-Based Access Control 2. Discretionary Access Control with Security Descriptor and Access Token. Are there any others? Any ideas? -- Thanks, Troy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234558 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
Yo Rick - I doubt Claude wants to spend time explaining the intricacies of Regex's to you -- here's a link that will help: http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=0982.htm Watch the link wrap! -- Josh - Original Message - From: "Rick Faircloth" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, March 07, 2006 4:04 PM Subject: RE: How do I write a Regex for this? > Thanks, Claude...that seems to have done just what I needed. > > What do the \'s do? And the + sign? > > Rick > >> -Original Message- >> From: Claude Schneegans [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 07, 2006 6:40 PM >> To: CF-Talk >> Subject: Re: How do I write a Regex for this? >> >> >> >>How would I write that in a Regex? >> >> Try this: >> >> REReplace (myString, "[\.\$,]+", "", "all") >> >> -- >> ___ >> REUSE CODE! Use custom tags; >> See http://www.contentbox.com/claude/customtags/tagstore.cfm >> (Please send any spam to this address: [EMAIL PROTECTED]) >> Thanks. >> >> >> > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234557 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFEclipse - Lost my snipTree?
I'm using the last stable build. It looks newer 1.2 than the bleeding edge build (1.18). If there is a newer build I can get, I'll try that, Sandy -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 6:49 PM To: CF-Talk Subject: Re: CFEclipse - Lost my snipTree? Sandra, what version of CFEclipse are you using? There was a bug fixed a few weeks ago where some people were having this problem with the 1.2 (or 1.20? 1.1.20? 1.1.2? i forget) release. Use a nightly build fo fix it, pretty much for good. -nathan strutz http://www.dopefly.com/ On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > > Its part of the workspace. I've deleted the entire workspace, deleted > all of eclipse, the workspace and reinstalled everything (had a copy > of the snippets directory saved). Still no joy. > > As another breadcrumb to the problem, When I deleted the workspace so > that it recreated itself as fresh, the snippets still show up as > blank, but when I try to create a new folder, or add a snippet, > clicking on the "OK" > button > does nothing, the add window stays and nothing else happens. Clicking > on cancel does get rid of the window. > > > > -Original Message- > From: Dave Watts > Sent: Tuesday, March 07, 2006 5:33 PM > To: CF-Talk > Subject: RE: CFEclipse - Lost my snipTree? > > > When opening up CFEclipse, my snip tree view is blank, I cannot > > create folders in it and I have physically verified that the folder > > that is pointed to in the preferences does in fact contain my snippet files. > > > > I need my snippets. Any one know how I can fix this? I even copied > > the snippets directory out, uninstalled all of eclipse and > > reinstalled it, all with the same results, a non functional snip tree view. > > I don't know much about CFEclipse yet, but is this part of a workspace? > Workspaces in Eclipse get corrupted quite often. Google "eclipse > corrupt workspace" for some fixes. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234556 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How do I write a Regex for this?
Thanks, Claude...that seems to have done just what I needed. What do the \'s do? And the + sign? Rick > -Original Message- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 6:40 PM > To: CF-Talk > Subject: Re: How do I write a Regex for this? > > > >>How would I write that in a Regex? > > Try this: > > REReplace (myString, "[\.\$,]+", "", "all") > > -- > ___ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234555 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFEclipse - Lost my snipTree?
Sandra, what version of CFEclipse are you using? There was a bug fixed a few weeks ago where some people were having this problem with the 1.2 (or 1.20? 1.1.20? 1.1.2? i forget) release. Use a nightly build fo fix it, pretty much for good. -nathan strutz http://www.dopefly.com/ On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > > Its part of the workspace. I've deleted the entire workspace, deleted all > of eclipse, the workspace and reinstalled everything (had a copy of the > snippets directory saved). Still no joy. > > As another breadcrumb to the problem, When I deleted the workspace so that > it recreated itself as fresh, the snippets still show up as blank, but > when > I try to create a new folder, or add a snippet, clicking on the "OK" > button > does nothing, the add window stays and nothing else happens. Clicking on > cancel does get rid of the window. > > > > -Original Message- > From: Dave Watts > Sent: Tuesday, March 07, 2006 5:33 PM > To: CF-Talk > Subject: RE: CFEclipse - Lost my snipTree? > > > When opening up CFEclipse, my snip tree view is blank, I cannot create > > folders in it and I have physically verified that the folder that is > > pointed to in the preferences does in fact contain my snippet files. > > > > I need my snippets. Any one know how I can fix this? I even copied > > the snippets directory out, uninstalled all of eclipse and reinstalled > > it, all with the same results, a non functional snip tree view. > > I don't know much about CFEclipse yet, but is this part of a workspace? > Workspaces in Eclipse get corrupted quite often. Google "eclipse corrupt > workspace" for some fixes. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction > at our training centers in Washington DC, Atlanta, Chicago, Baltimore, > Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234554 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How do I write a Regex for this?
Darn it Claude, you beat me to it. ;) Well, I'll add that you don't need to escape the period and dollar sign because they are in a character class: > -Original Message- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 4:40 PM > To: CF-Talk > Subject: Re: How do I write a Regex for this? > > >>How would I write that in a Regex? > > Try this: > > REReplace (myString, "[\.\$,]+", "", "all") > > -- > ___ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234553 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
>>Try this: I forgot to mention: to test your RegEx, don't miss the REWizard: http://www.contentbox.com/claude/REwizard/index.cfm -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234552 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I write a Regex for this?
>>How would I write that in a Regex? Try this: REReplace (myString, "[\.\$,]+", "", "all") -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234551 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
How do I write a Regex for this?
I want to find and remove all these three characters from string in a formfield: .. $ , That's a period, a dollar sign, and a comma. How would I write that in a Regex? Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234550 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRun High Memory Usage on CFMX 7
Well, another problem I've had like that was when the file backup services were eating up 80 to 90% of the bandwidth of the internal NIC card. coldfusion was stuck using ill amounts of transfer space to get and send data to the SQL server. Simular issue. Jrun would just hang. you can see this if you remote desktop into the server and run task monitor... on the network tab you will see what's going through your internal and external NIC cards. Normally this sits around under 10% but if you see it spikeing to 80 or 90% I'd bet on that as the issue. Casey On 3/7/06, Ming Lu <[EMAIL PROTECTED]> wrote: > Hi Casey, > > Sorry, not for this server. It's at "None" for Select Default Storage > Mechanism for Client Sessions in CFMX administrator. > > Ming Lu > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234549 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Fusion Reactor vs. See Fusion
The guys with Fusion Reactor are great! I had a lot of problems using the demo. I emailed them about it and had almost an instant reply. Not only did they help me, they gave me some new code that would be in an upcoming version to fix the problem. They are probably the best software company I have ever down business with. The Software is great too. The gzip compression works great and there hasn't been any noticeable performance increase using it. I would suggest giving the demo a try. On 3/7/06, Scott Stewart <[EMAIL PROTECTED]> wrote: > All, > > > > Any feedback on these two products. We need better metrics on our CF boxes. > I prefer the FR interface. > > But I'd like some real world commentary. > > > > Thanks > > > > sas > > > > Scott A. Stewart > > Webmaster/ Developer > > > > > > 11820 Parklawn Dr > > Rockville, MD 20852 > > (301) 770-9610 x 335 > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234548 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash Form CFGRID Hyperlink
Thanks, Nick. The problem with this method is that if I click on any part of the row, it drills down. So if I have two columns, one that's just text and another that's an editable text field, clicking on either one ends up drilling down. I need the drilldown to only happen on the static text column. >Sung, there's a workaround. > >Use 'onchange' event hander in the cfgrid. > >onchange="getUrl('index.cfm' + >grid_name.dataProvider[grid_name.selectedIndex]['database_field_name']); >"> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234547 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic form creation
Hi Andy, yeah we bought this up a few days ago with a survey... Which of course is a form. SurveyForm SurveyField SurveySelectOptions SurveyFormAnswer SurveyForm holds the fields that are unique to each form... FormID Title Description IsActive SeedList (Use a comma between addresses.) ~~ SurveyField - Holds the information about individual questions - Except Select Boxes are slightly different. I'll get to that in a moment. FieldID SurveyID Question Type - Text Area, Text Field, Select box SortOrder IsRequired Validation ValMessage ~ SurveyFormAnswer AnswerID SurveyID Status - Like Pending till someone reviews the data of the form. DateEntered ~~~ SurveySelectOptions SelectID FieldID - Linking back to those surveyFields which have Type=Select Title SortOrder That's about it... Well You'll notice I didn't bring up "Check boxes" I haven't gone there yet but it might have it's use. I guess that data could sit in the SelectOptions table... , just need to loop though the boxes upon submit of the form to get all of the answers inserted. Of course deleting forms and or questions could have their negative effects on the data but you could put another column in the tables for ISDeleted and if a person wants to delete a form or a question it would just mark the question deleted and leave the record in-tack Casey Dougall On 3/7/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I have a custom CMS that I use for most all of my clients. With each > iteration, I take a chance to add extra bits of code and improvements. The > aim is to cut down the amount of time needed to build out for each client. > > One of the things that has been on my list for a LONG time is dynamic form > element creation. Passing in a few values (field name, labels, whether the > field is required, etc) and have the corresponding code generated for me. > This would reduce the amount of code on the actual template page, splitting > it out to CFCs or custom tags. > > I'm wondering if any of you have done something like this before and might > care to share your methodolgy. Text and textarea fields would obviously be > VERY simple, but what about radio buttons? Checkboxes, or even worse, select > drop-downs? > > I'm not asking for code, just ideas. > > andy matthews > web developer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --//-> > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234546 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFEclipse - Lost my snipTree?
Its part of the workspace. I've deleted the entire workspace, deleted all of eclipse, the workspace and reinstalled everything (had a copy of the snippets directory saved). Still no joy. As another breadcrumb to the problem, When I deleted the workspace so that it recreated itself as fresh, the snippets still show up as blank, but when I try to create a new folder, or add a snippet, clicking on the "OK" button does nothing, the add window stays and nothing else happens. Clicking on cancel does get rid of the window. -Original Message- From: Dave Watts Sent: Tuesday, March 07, 2006 5:33 PM To: CF-Talk Subject: RE: CFEclipse - Lost my snipTree? > When opening up CFEclipse, my snip tree view is blank, I cannot create > folders in it and I have physically verified that the folder that is > pointed to in the preferences does in fact contain my snippet files. > > I need my snippets. Any one know how I can fix this? I even copied > the snippets directory out, uninstalled all of eclipse and reinstalled > it, all with the same results, a non functional snip tree view. I don't know much about CFEclipse yet, but is this part of a workspace? Workspaces in Eclipse get corrupted quite often. Google "eclipse corrupt workspace" for some fixes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234545 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: video files
>> what fomat have you found to have the most widespread >> ease of use/acceptance. I host hundreds of video files and serve about 1.5 to 2 terabytes a month from www.halomovies.org a machinima website. I typically host them in WMP9 (.WMV) and QuickTime (.MOV) formats and also in Flash Movie formats (.FLV). All the above formats are capable of progressive downloads (WMV and MOV and FLV) however I found that the bandwidth issues were such that it was better to place the WMP9 and QuickTime files into Zip files and deliver them to the desktop. That actually cut our bandwidth requirements nearly in half. We still have .FLV files that play in a browser using a simple Flash Player. What I found has more to do with social behavior than technical issues. When we presented them in the web browser with progressive downloads the users would watch (download) them several times over a period of a week, but when they downloaded them to their PC in a zip archive they would download them once. This bandwidth savings was very important since it is a hobby (no money) website I pay for. >> what are the best programs out there for compressing those into >> whatever that best format is I use Sorenson's Squeeze program to convert, compress and re-encode the videos. For progressive in browser videos The Flash Movie format is pretty compact for progressive downloads. >> does anyone know of hosts which provide reliable "media" hosting? Any major host can do media hosting provided they have the bandwidth to support it. Like I said my little hobby website uses 1.5 to 2 terabytes a month in bandwidth. With media files bandwidth is the issue. 95% of the files I serve are done via FTP because I archive them into zip files. As an example of what can happen, one of the people I host for (www.thisspartanlife.com) a machinima was written up on www.gismodo.com and www.boingboing.net on the same day. For about three hours we saturated an OC3 connection with downloads until I scaled back the bandwidth on the FTP server. Best Regards, Dennis Powers UXB Internet- A Website Design and Hosting Company 690 Wolcott Road - P.O. Box 6028 Wolcott, CT 06716 Tel: 203-879-2844 http://www.uxbinternet.com http://dennis.uxb.net -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Monday, February 27, 2006 3:59 PM To: CF-Talk Subject: OT:video files A few questions about hosting video files for those of you who have done it... 1. what fomat have you found to have the most widespread ease of use/acceptance. I'd like to embed these in the page. Any particular CODECs/compression that work best...these will be for product demos...the size does not need to be enormous. 2. assuming that you are provided with fairly large AVI files, what are the best programs out there for compressing those into whatever that best format is(see question 1). 3. As the clients who want to do this generally have low-priced shared hosting situations, I am looking at having the video hosted at some service external to their main host...does anyone know of hosts which provide reliable "media" hosting? -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234544 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Fusion Reactor vs. See Fusion
All, Any feedback on these two products. We need better metrics on our CF boxes. I prefer the FR interface. But I'd like some real world commentary. Thanks sas Scott A. Stewart Webmaster/ Developer 11820 Parklawn Dr Rockville, MD 20852 (301) 770-9610 x 335 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234543 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFEclipse - Lost my snipTree?
> Neither of those makes sense. I shut down eclipse last night > when I was finished working, opened it up this morning and > all the snippets were gone. > Nothing had changed that I know of between last night and > this morning. That's exactly what happens when my workspace gets corrupted. One day, stuff is there, the next, it isn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234542 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFEclipse - Lost my snipTree?
Neither of those makes sense. I shut down eclipse last night when I was finished working, opened it up this morning and all the snippets were gone. Nothing had changed that I know of between last night and this morning. I hadn't heard of project specific snippets directories before, that sounds interesting... Sandy -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 5:32 PM To: CF-Talk Subject: Re: CFEclipse - Lost my snipTree? Filesystem permission problems? Probably not if you're on windows, but if you're on OSX or *nix That's just a wild guess. Or perhaps you've got a project-specific snippets folder defined? I've never done that, so I don't know how it works, just that you can do it. cheers, barneyb On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > When opening up CFEclipse, my snip tree view is blank, I cannot create > folders in it and I have physically verified that the folder that is > pointed to in the preferences does in fact contain my snippet files. > > I need my snippets. Any one know how I can fix this? I even copied > the snippets directory out, uninstalled all of eclipse and reinstalled > it, all with the same results, a non functional snip tree view. > > Help! > > Sandy Clark -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234541 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFEclipse - Lost my snipTree?
> When opening up CFEclipse, my snip tree view is blank, I > cannot create folders in it and I have physically verified > that the folder that is pointed to in the preferences does in > fact contain my snippet files. > > I need my snippets. Any one know how I can fix this? I even > copied the snippets directory out, uninstalled all of eclipse > and reinstalled it, all with the same results, a non > functional snip tree view. I don't know much about CFEclipse yet, but is this part of a workspace? Workspaces in Eclipse get corrupted quite often. Google "eclipse corrupt workspace" for some fixes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234540 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFEclipse - Lost my snipTree?
Filesystem permission problems? Probably not if you're on windows, but if you're on OSX or *nix That's just a wild guess. Or perhaps you've got a project-specific snippets folder defined? I've never done that, so I don't know how it works, just that you can do it. cheers, barneyb On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > When opening up CFEclipse, my snip tree view is blank, I cannot create > folders in it and I have physically verified that the folder that is pointed > to in the preferences does in fact contain my snippet files. > > I need my snippets. Any one know how I can fix this? I even copied the > snippets directory out, uninstalled all of eclipse and reinstalled it, all > with the same results, a non functional snip tree view. > > Help! > > Sandy Clark -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234539 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFEclipse - Lost my snipTree?
When opening up CFEclipse, my snip tree view is blank, I cannot create folders in it and I have physically verified that the folder that is pointed to in the preferences does in fact contain my snippet files. I need my snippets. Any one know how I can fix this? I even copied the snippets directory out, uninstalled all of eclipse and reinstalled it, all with the same results, a non functional snip tree view. Help! Sandy Clark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234538 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Why do my selects in an iFrame do this?
Hi, Dan...I do have some plug-ins, like Pluck, the RSS Reader, and a couple more... I emailed you off-list about this...check out my email... Rick > -Original Message- > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 4:34 PM > To: CF-Talk > Subject: RE: Why do my selects in an iFrame do this? > > > Rick, > > >It happens consistently, even after a reboot. > > > >It's probably just the way I'm using DIV's or > >something. The other formfields (regular > >text inputs) aren't a problem at all...but the > >selects disappear from the display during > >and after scrolling of the iFrame until I run > >the mouse over them... > > I wonder if it's an IE add-on/toolbar that's causing problems. Either that > or something that's causing the behavior to trigger during an onscroll > event. I've just never seen that type of behavior before--which makes me > think it's more than just iframes and select elements. > > -Dan > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234537 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Truncated Emails : maybe OT
Do you have lines longer then 998 characters? The contents of the emails gets generated dynamically. I am not sure how I would know the character count per line. Charlie Hanlon - Original Message - From: "Jochem van Dieten" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, March 07, 2006 5:08 PM Subject: Re: Truncated Emails : maybe OT > Charlie Hanlon wrote: >> Excuse me if this is too OT, but I have an end user who recieves HTML emails >> from us, and the last few have been truncated with the bottom of the page >> displayin [Message clipped]. > > Do you have lines longer then 998 characters? > > Jochem > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234536 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
re: Coldfusion online photo gallery creator?
I have a small simple flash one that i need to finish up, nothing special but good for a quick use. I been using them everywhere this last week and my clients love'm here is a test page http://www.jamwerx.com/photogallery/index.cfm its not made to be a big huge production just to get a simple gallery going. It uses a flash drag n drop component, rick roots imagecfc to do the resizing and thumbs, cfm, xml and is in xhtml strict 1.0 and can be very easily matched to fit your site, i basically made it as a very basic template to just drop into my apps and then cutomize them from there, takes like 5 minutes to get going. Like the code is fairly basic and I left it that way so the user can decide on what methods they want to add stuff like error and file checking. The flash component is $10 but very well worth it, if anyone is interested in the code I will zip it up, you can buy the component from me. ~Dave the disruptor~ From: "Andy Matthews" <[EMAIL PROTECTED]> Sent: Tuesday, March 07, 2006 9:21 AM To: CF-Talk Subject: Coldfusion online photo gallery creator? Does anyone know of a free CF photo gallery creator? I googled for it last night but didn't see anything. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234535 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Truncated Emails : maybe OT
Charlie Hanlon wrote: > Excuse me if this is too OT, but I have an end user who recieves HTML emails > from us, and the last few have been truncated with the bottom of the page > displayin [Message clipped]. Do you have lines longer then 998 characters? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234534 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRun High Memory Usage on CFMX 7
Hi Casey, Sorry, not for this server. It's at "None" for Select Default Storage Mechanism for Client Sessions in CFMX administrator. Ming Lu ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234533 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Flash Form CFGRID Hyperlink
Sung, there's a workaround. Use 'onchange' event hander in the cfgrid. onchange="getUrl('index.cfm' + grid_name.dataProvider[grid_name.selectedIndex]['database_field_name']); "> -Original Message- From: Sung Woo [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 12:48 PM To: CF-Talk Subject: Flash Form CFGRID Hyperlink The more I use Flash Forms, the more I find how restrictive they are. Case in point: I'm trying to create a simple CFGRID with two columns: car name and a text field for color. I want the user to be able to type in anything for the color, and I want this information to be saved to a table. All of this is fine -- it's within the scope of CFGRID -- but I want one other thing. I want the user to be able to click on the car name and have it drill down to another page (picture and specs of the car, let's say). It seems like it isn't possible, at least not to me, to have an updatable grid that allows for a hyperlink in one of its columns. If there's a workaround, I'd like to hear it. FYI: I can't use onChange="xx" because if I click on the text field, it drills down. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234532 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
It's probably VERY premature, but I will be releasing an all Java based open souce cfc later this year for doing all sorts of zip operations. In the meantime there is a decent zip util on cflib.org -- Alan Rother Macromedia Certified Advanced ColdFusion MX 7 Developer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234531 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Dynamic form creation
I have a custom CMS that I use for most all of my clients. With each iteration, I take a chance to add extra bits of code and improvements. The aim is to cut down the amount of time needed to build out for each client. One of the things that has been on my list for a LONG time is dynamic form element creation. Passing in a few values (field name, labels, whether the field is required, etc) and have the corresponding code generated for me. This would reduce the amount of code on the actual template page, splitting it out to CFCs or custom tags. I'm wondering if any of you have done something like this before and might care to share your methodolgy. Text and textarea fields would obviously be VERY simple, but what about radio buttons? Checkboxes, or even worse, select drop-downs? I'm not asking for code, just ideas. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234530 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Flash Form CFGRID Hyperlink
The more I use Flash Forms, the more I find how restrictive they are. Case in point: I'm trying to create a simple CFGRID with two columns: car name and a text field for color. I want the user to be able to type in anything for the color, and I want this information to be saved to a table. All of this is fine -- it's within the scope of CFGRID -- but I want one other thing. I want the user to be able to click on the car name and have it drill down to another page (picture and specs of the car, let's say). It seems like it isn't possible, at least not to me, to have an updatable grid that allows for a hyperlink in one of its columns. If there's a workaround, I'd like to hear it. FYI: I can't use onChange="xx" because if I click on the text field, it drills down. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234529 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRun High Memory Usage on CFMX 7
Hi Casey, It's not in registry, it's in SQL. Ming Lu >how are your storing client variables? Hope it's not Registry. > >Casey >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234528 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Thanks Isaac, I think you answered my question by stating that most frameworks don't help you with data access. If that is the case, then I could use FB/MG/whatever and then do the data access how I like. They might suggest I put my queries in a specific location, but after that I can make them 10 lines or 500 lines, and the framework will work the same. As far as using views: we do use views here, and they are very nice. But let me give a simple example to explain why our queries can be complex. Say you have financial data in 3 different databases, all built by 3 different people. The reason there are 3 different databases is because the data is gathered by 3 different business units in the company. The Budgeting system needs to gather data from all 3 systems. For example, one page in the budget tool allows you to budget for a department's payroll. In order to put the necessary data on the screen (all of the info a manager needs to create his payroll budget), you have to query the budget database itself (for historical comparisons), as well as the human resources and the ERP databases. The reason for the first two is obvious, but the ERP system is where employees charge their work orders when they do capital labor jobs throughout the year. So a data query for the payroll budget screen has to join data from all three databases, hitting multiple tables in each. This is not a simple report though, because /every/ manager in the company will use this tool, so every query will be unique to that manager's department. Also, most of the data queries behind this page are virtually useless in the rest of the budget tool. We /could/ create a view that would simplify the above queries, however this view would be useless to any other page or tool because this specific situation is very unique. Am I making any sense? > -Original Message- > From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 12:58 PM > To: CF-Talk > Subject: RE: OOP, why me? > > > The queries we need to write to gather data can be very > > complex, often times in the hundreds of lines. Something > > I've often heard in the framework discussions is that > > you guys use these DAO thingies to simplify access > > to your data. I have always doubted that a DAO would > > be useful for my scenario, because our data queries > > are often very complex. > > If you continue to write your reports the same way then a DAO may not > help you reuse that code much if at all. A framework in general isn't > going to help with data access in particular (unless it happens to be > a DAO framework - I haven't looked at Reactor, so I can't comment on > that front). Although it really sounds to me like what your particular > environment lacks isn't so much OO but views... The power of a view to > simplify data access can be PHENOMENAL. I would be very surprised if > quite a few of your hundreds of line queries don't ultimately boil > down to a dozen or so well conceived views and would then be able to > produce very simple queries in your reports which probably could be > reused quite easily. Being able to reduce your queries from hundreds > of lines to tens of lines or less than ten lines I suspect would make > putting all those queries related to the same subject in a single DAO > make a lot more sense for you. May God have mercy on your soul if you > put dozens of queries with hundreds of lines each in a single DAO. > Templates (CFC or otherwise) with thousands of lines in them are > _NO_FUN_. > > > Here are the two big reasons I've heard people cite for > > using a DAO: > > > > 1. Abstraction of your database > > 2. Caches the data > > > > Sure, we /could/ use a DAO, but it would be very specific > > to the one report it is used for. What's the point of > > using an object if you only need it one page? > > A DAO object typically has a collection of related data access methods > in it, so the same object would be used in several places, even if a > given method only appears on one page. Which may seem like a waste on > an individual page, and you might not be wrong if you create the > object for each request (instead of storing the object in memory) > because the server has to create the object and every method in that > object means one more thing the server has to create (an object called > a "functor" if you're curious enough to look it up on Wikipedia). > However the amount of time required to create a single method is > typically very small, so even if you do recreate the object on each > request sometimes the benefit of having all that database access in > one place for simple organizational reasons can be beneficial in > helping you see the bigger data-access picture in your application. > > > Also, I really don't want the millions of records > > that would be filtered sitting in memory on my server. > > The whole reason databases were created in the first > > place was so that you don't /have/ to carry data
RE: Why do my selects in an iFrame do this?
Rick, >It happens consistently, even after a reboot. > >It's probably just the way I'm using DIV's or >something. The other formfields (regular >text inputs) aren't a problem at all...but the >selects disappear from the display during >and after scrolling of the iFrame until I run >the mouse over them... I wonder if it's an IE add-on/toolbar that's causing problems. Either that or something that's causing the behavior to trigger during an onscroll event. I've just never seen that type of behavior before--which makes me think it's more than just iframes and select elements. -Dan ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234526 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Coldfusion online photo gallery creator?
>Does anyone know of a free CF photo gallery creator? I googled for it last >night but didn't see anything. http://www.bellavite.com/bellaalbum.cfm Massimo Foti Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234525 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRun High Memory Usage on CFMX 7
how are your storing client variables? Hope it's not Registry. Casey > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234524 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: anyone used cfx_zip??
> Well what am I using then? ... heh ... I never installed any > command-line zip utilities in my win2k server installation. I > did install winzip... I can't answer that for you. However, you can find out using "which", which is available with Cygwin or UnxUtils for Win32: http://unxutils.sourceforge.net/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234523 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Popular Open API's
MS SharePoint (with CF popular in intranets, this might be worth looking at) http://msdn.microsoft.com/library/en-us/spptsdk/html/spsintropltopic1_SV0116 2845.asp?frame=true http://www.csharphelp.com/archives4/archive602.html Amazon http://www.amazon.com/gp/browse.html/002-1802109-3315269?node=3435361 --- Kevin Graeme Cooperative Extension Technology Services University of Wisconsin-Extension > -Original Message- > From: Ryan Guill [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 6:42 AM > To: CF-Talk > Subject: Re: OT: Popular Open API's > > These are great examples of API's, but I was meaning more like the > Flickr API, the Yahoo! and Google maps api's, and the Paypal api's, > the more mainstream API's that you always hear so much about. > > But keep them coming, I want to hear about these as well. > > On 3/6/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > > S. Isaac Dealey wrote: > > > JSON > > > SOAP > > > JDOM/Xalan/Xerces -- although you don't see much of these with CF > > > java.util.Zip > > > java.util.TimeZone > > > > don't forget the rest of core java. i expect they're > darned popular. > > > > > ICU4J (IBM's internationalization (i18n) project) > > > > well of course icu4j ;-) > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234522 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRun High Memory Usage on CFMX 7
Hi Leon, Thank you so much for your input. [1]. I checked our Windows Server 2003 for Available Bytes counter, Handle Count, Pool Nonpaged Bytes, Pool Paged Bytes, and Private Bytes counters. None of these has a consistently increasing curve, so it does not look like it has memory leak. [2]. For The jvm.config file in the bin directory in JRun, the -Xmx setting has been setup at -Xmx512m, but the problem is still there. [3]. According to our programmer, we have already used the application variables where we could. Do you know if there is a way to find out which site(s) those opened sessions belong to and are from which page? Thank you very much for your help! Ming Lu ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234521 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: anyone used cfx_zip??
Dave Watts wrote: > I'm pretty sure that this isn't the case. Windows 2000 has > no built-in zip/unzip functionality, and Windows XP and > Windows Server 2003 support the ZIP file format through > Windows Explorer - there aren't any built-in > command-line tools available. Well what am I using then? ... heh ... I never installed any command-line zip utilities in my win2k server installation. I did install winzip... I suppose it's possible that winzip installed a command-line utility but I didn't remember the help for it saying it was part of winzip. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234520 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRun High Memory Usage on CFMX 7
Hi Russ, Thank you very much for your reply. I will check with our programmer on your question. Ming Lu >Are you instantiating any components and persisiting them inside the session >scope? >I blogged about such a problem on a client site. > >http://lordmichaels.blogspot.com > >Russ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234519 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOT: template aliasing...
Very nice.. That'll do.. Thanks! Jeff On 3/7/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > > google "isapi rewrite" > > > This is an odd question. > > > Is there any way in IIS or coldfusion when a page is > > requested.. > > > Say: > > https://www.abccompany.com/mypage.XYZ?showimage=red > > > you can alias to a different page I.E. (kind of like a > > redirect): > > https://www.abccompany.com/mypage.cfm?showimage=red > > or even > > https://www.abccompany.com/newpage.cfm?showimage=red > > > There is more to it here, but I wanted to be as simple as > > possible for this > > question. (yeah I know I can ask the client to change the > > page call, but it > > MAY NOT be possible for them to do that, so I need to find > > an alternative.) > > > s. isaac dealey 434.293.6201 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234518 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
[quote = "Mike"] CFCs are simply magic. Whoever thought of them deserves a nobel prize. [/quote] Well, Mike that depends on who you are talking to. (Personally, I like CFCs and I think they are really great.) But when CF start coming out, it boasts as (and it is true) simple yet powerful server side language. With a line or two in CF can accomplish the same thing with more lines of codes in other programming language (like Java for example). Anyway, that was the reason I started learning CF in CF 4 days. But with CFCs and OO introduced into CF, CF is starting to sound like Java (more like J2EE actually). And people who shams from OO languages because of their complexity choose ColdFusion in the first place, but not they face the somewhat similar complexities that is introduced into CF. That confuses a lot of old-timers of CF. In a way, there will always be push and pull with OO paradigm. Who wins and who lose, only time will tell I guess. Meanwhile, I think we mere mortal developers have to choose what is the best for our own situation. Thanks & Regards, Pine -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 4:25 PM To: CF-Talk Subject: Re: OOP, why me? Now you have a reason, Rick. CFCs are simply magic. Whoever thought of them deserves a nobel prize. CFMX is a whole 'nother world of excitement and thrills.Well ok . ..maybe it's not exactly Disney World but it's a lot better than the older versions. I had to do a job on CF5 not so long ago and there were SO many things I missed that have become second nature to me now. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 3/7/06, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Guess I'll have to wait...still using 4.5.2...I still > haven't found a compelling reason to upgrade. > > Rick > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234517 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: template aliasing...
> Is there any way in IIS or coldfusion when a page is requested.. > > Say: > https://www.abccompany.com/mypage.XYZ?showimage=red > > you can alias to a different page I.E. (kind of like a redirect): > https://www.abccompany.com/mypage.cfm?showimage=red > or even > https://www.abccompany.com/newpage.cfm?showimage=red Yes. In IIS, you can do this with a third-party ISAPI filter, such as ISAPI_Rewrite (http://www.isapirewrite.com/). In CF, you can do this by examining the requested URL in Application.cfc/cfm and redirecting as appropriate. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234516 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: anyone used cfx_zip??
> Incidentally every version of windows from 2000 on (not sure about > before) has a command-line zip utility built in... So as long > as your server is Win2K or later you don't have to download > anything. I have batch files on my machine that package up my > projects from subversion using the built-in zip util in Win2K > and then upload them to my public server using the built-in > ftp util in Win2K. Just FYI. :) > > So -- if you're interested in the built in zip tool, just type > "zip ?" into a command prompt. I'm pretty sure that this isn't the case. Windows 2000 has no built-in zip/unzip functionality, and Windows XP and Windows Server 2003 support the ZIP file format through Windows Explorer - there aren't any built-in command-line tools available. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234515 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Quick Question CF Image Library
Resize with aspect ratio would be a great addition Rick. -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 1:42 PM To: CF-Talk Subject: Re: Quick Question CF Image Library Andy Matthews wrote: > Yep. Image.cfc by Rick Root. > > http://www.opensourcecf.com/imagecfc > > I just put it into place in a Content Management System and it works great! I've got a couple more minor features and one bug to fix for the final release.. one user pointed out to me the wisdom of resizing to fit a space while preserving aspect ratio... so I'm gonna add a "preserveAspectRatio" option to deal with resizing an image to fit within a specified area... obviously the scaleX() and scaleY() methods allow you to resize to an exact width or an exact height, and the resize() method lets you resize to a specific width *AND* height but it munges the aspect ratio when you do that (which is sometimes desirable). Plus, if you resize an image down and overwrite the original image file, it doesn't change the size of the file... which is kinda weird. Almost like java treats the original file as a bucket, and when you make the data bigger it makes the "bucket" bigger, but when you make the data smaller it doesn't change the size of the bucket. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234514 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Coldfusion online photo gallery creator?
I've looked at that one. Problem is that you have to upload a batch of images all at once. I want one that doesn't require FTP. -Original Message- From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 1:59 PM To: CF-Talk Subject: Re: Coldfusion online photo gallery creator? BellaAlbum Andy Matthews wrote: >Does anyone know of a free CF photo gallery creator? I googled for it last >night but didn't see anything. > > > >andy matthews >web developer >ICGLink, Inc. >[EMAIL PROTECTED] >615.370.1530 x737 >--//-> > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234513 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Hi Gareth, As long as you are the only one developer who codes and maintain the application till its sunset and the code reuser is only you (you are using your own code so you know where to find one), then you do not need the OOP. As long as your code is modular (not OOP) and you don't forget what you have coded or done, you are pretty well on your way without OOP. Otherwise, OOP will benefit you. Thanks & Regards, Pine -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. Model glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it? Words of wisdom / good reading (including book recommendations) most appreciated. Many thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234512 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOT: template aliasing...
google "isapi rewrite" > This is an odd question. > Is there any way in IIS or coldfusion when a page is > requested.. > Say: > https://www.abccompany.com/mypage.XYZ?showimage=red > you can alias to a different page I.E. (kind of like a > redirect): > https://www.abccompany.com/mypage.cfm?showimage=red > or even > https://www.abccompany.com/newpage.cfm?showimage=red > There is more to it here, but I wanted to be as simple as > possible for this > question. (yeah I know I can ask the client to change the > page call, but it > MAY NOT be possible for them to do that, so I need to find > an alternative.) s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234511 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Flash Form Performance
What is the current verdict on Flash Form performance when used with ColdFusion? Is it still unacceptably slow or has there been any improvement? Does anyone have any links with performance hints for using Flash Forms? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234510 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Date Validation Three Digit Year
This is a matter of preference (and I'm sure there are others here who might agree with me), but the validation code provided by the cfform tags is abismal. Roll your own. Cutter [EMAIL PROTECTED] wrote: >I've got an interesting form date validation problem. I'm using the >standard built in cfinput date validation code. > > > > >message="Please enter a valid end date (mm/dd/)" validate="date" >required="No" maxlength="10"> > > > >I'm also using CreateODBCDate and cfQueryParam in the query > > > >End_Date <= cfsqltype="CF_SQL_DATE"> > > > >My problem is that if a user enters a year less than 1000 (01/01/500), >it gets through the CF validation but errors at the SQL level. The SQL >Server settings are not available to me. I wan't to avoid adding >JavaScript or doing anything server side. Are there any other >possibilities? > > > >Lee Surma > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234508 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Quick Question CF Image Library
Andy Matthews wrote: > Yep. Image.cfc by Rick Root. > > http://www.opensourcecf.com/imagecfc > > I just put it into place in a Content Management System and it works great! I've got a couple more minor features and one bug to fix for the final release.. one user pointed out to me the wisdom of resizing to fit a space while preserving aspect ratio... so I'm gonna add a "preserveAspectRatio" option to deal with resizing an image to fit within a specified area... obviously the scaleX() and scaleY() methods allow you to resize to an exact width or an exact height, and the resize() method lets you resize to a specific width *AND* height but it munges the aspect ratio when you do that (which is sometimes desirable). Plus, if you resize an image down and overwrite the original image file, it doesn't change the size of the file... which is kinda weird. Almost like java treats the original file as a bucket, and when you make the data bigger it makes the "bucket" bigger, but when you make the data smaller it doesn't change the size of the bucket. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234509 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Coldfusion online photo gallery creator?
BellaAlbum Andy Matthews wrote: >Does anyone know of a free CF photo gallery creator? I googled for it last >night but didn't see anything. > > > >andy matthews >web developer >ICGLink, Inc. >[EMAIL PROTECTED] >615.370.1530 x737 >--//-> > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234507 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
SOT: template aliasing...
This is an odd question. Is there any way in IIS or coldfusion when a page is requested.. Say: https://www.abccompany.com/mypage.XYZ?showimage=red you can alias to a different page I.E. (kind of like a redirect): https://www.abccompany.com/mypage.cfm?showimage=red or even https://www.abccompany.com/newpage.cfm?showimage=red There is more to it here, but I wanted to be as simple as possible for this question. (yeah I know I can ask the client to change the page call, but it MAY NOT be possible for them to do that, so I need to find an alternative.) Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234506 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Document Management??
Terry Schmitt wrote: > Anyone know of a basic CF Document Management System? > I'm not looking for an Enterprise level tool, but just some basic doc > management with security. I've toyed with using Farcry (yes, I know it's a > CMS)and it is way over-kill for what I'm looking for. > I've googled till I'm dizzy, but can't find anything. Open-Source is always > good, as I'm sure I'll have to tweak it. The obvious alternative it to write > my own, but it seems like there should be something out there. Terry, Depending on what you're looking for, CFFM is a really nice open source file manager, but it doesn't have any security "built in". Project homepage: http://www.opensourcecf.com/cffm Demo: http://www.opensourcecf.com/cffm/cffm.cfm (My template is a little messed up right now so you may have to scroll down for the demo link) I did build a document management solution for a client based on CFFM last year that had built in security, and stored metadata about files and such. Email me off list if you want more details. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234505 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
> I got it working.. right now notusing coldfusion solution, > I downloaded pkzipc (command line utility for pkzip on > windows) installed it. > now whenever user selects a folder he is interested in > (the one from which he selectively chooses folders and > files to zip ) Incidentally every version of windows from 2000 on (not sure about before) has a command-line zip utility built in... So as long as your server is Win2K or later you don't have to download anything. I have batch files on my machine that package up my projects from subversion using the built-in zip util in Win2K and then upload them to my public server using the built-in ftp util in Win2K. Just FYI. :) So -- if you're interested in the built in zip tool, just type "zip ?" into a command prompt. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234503 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
> The queries we need to write to gather data can be very > complex, often times in the hundreds of lines. Something > I've often heard in the framework discussions is that > you guys use these DAO thingies to simplify access > to your data. I have always doubted that a DAO would > be useful for my scenario, because our data queries > are often very complex. If you continue to write your reports the same way then a DAO may not help you reuse that code much if at all. A framework in general isn't going to help with data access in particular (unless it happens to be a DAO framework - I haven't looked at Reactor, so I can't comment on that front). Although it really sounds to me like what your particular environment lacks isn't so much OO but views... The power of a view to simplify data access can be PHENOMENAL. I would be very surprised if quite a few of your hundreds of line queries don't ultimately boil down to a dozen or so well conceived views and would then be able to produce very simple queries in your reports which probably could be reused quite easily. Being able to reduce your queries from hundreds of lines to tens of lines or less than ten lines I suspect would make putting all those queries related to the same subject in a single DAO make a lot more sense for you. May God have mercy on your soul if you put dozens of queries with hundreds of lines each in a single DAO. Templates (CFC or otherwise) with thousands of lines in them are _NO_FUN_. > Here are the two big reasons I've heard people cite for > using a DAO: > > 1. Abstraction of your database > 2. Caches the data > > Sure, we /could/ use a DAO, but it would be very specific > to the one report it is used for. What's the point of > using an object if you only need it one page? A DAO object typically has a collection of related data access methods in it, so the same object would be used in several places, even if a given method only appears on one page. Which may seem like a waste on an individual page, and you might not be wrong if you create the object for each request (instead of storing the object in memory) because the server has to create the object and every method in that object means one more thing the server has to create (an object called a "functor" if you're curious enough to look it up on Wikipedia). However the amount of time required to create a single method is typically very small, so even if you do recreate the object on each request sometimes the benefit of having all that database access in one place for simple organizational reasons can be beneficial in helping you see the bigger data-access picture in your application. > Also, I really don't want the millions of records > that would be filtered sitting in memory on my server. > The whole reason databases were created in the first > place was so that you don't /have/ to carry data > around in your applications, you just grab the pieces > you need, when you need them. Caching makes sense if > you have a user table with a couple hundred records, > but when you are querying a financial ledger that > contains millions of rows, I'm not sure I'd want to > pre-cache the data. There are two types of caching which may or may not be relevant here. The first is the type I described above where you have a CFC which you've stored in memory, however, having stored that component in memory doesn't require you to store the returned data in memory (the second type of caching). Typically with a report you would not cache the returned data, you would simply write a function ("method") in your CFC which executes your query. Caching of data is typically used for individual records when you're using "object-relational mapping" (ORM) to provide data to "beans". The performance gained from this scenario is mostly in the CRUD portions of an application -- an individual detail view page may not need to access the database if the information for the desired record is already stored in memory. > I realize I may be butchering things here, as I've never > used a framework. So please don't take this as an attack, > but rather as an attempt to understand the benefits of > frameworks, and how they could help me. I suspect that most frameworks don't really address these issues in particular. Most frameworks actually say very little about data access (unless it happens to be a data-access framework, which is uncommon) -- their authors may mention or recommend DAO's, but as is the case with Fusebox, Mach-II, Model-Glue, the Hub, etc. most of them don't more than hint really at what they think might be a good place to put your ad-hoc queries. The onTap framework is a whole other animal together -- I'm not convinced it would do much for your issue of having hundreds of lines of query code... It could if you used the sql-abstraction API and you have foreign key constraints in your database, it might save you a fair lot of keystrokes (particularly if you're using a lot of cfqueryparam tags now, an
Re: is this thing on?
Bryan, I have four messages (including yours) from this list since 11AM EST. Cutter Bryan Stevenson wrote: > I just don't know what to do when my inbox doesn't flood with CF_Talk mail > first thing in the morning ;-) > > I take there is a list problem? > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > phone: 250.480.0642 > fax: 250.480.1264 > cell: 250.920.8830 > e-mail: [EMAIL PROTECTED] > web: www.electricedgesystems.com > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234502 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I get rid of single quote duplication in sql?
PreserveSingleQuotes() On 3/7/06, Oleg Gunkin <[EMAIL PROTECTED]> wrote: > > I have the following problem with sql generation: > Example > > > select #sqlPart# as name from user > > The outcome of this code is > select ''name: '' + name as name from user > > How do I get rid of single quote duplication? > > > -- > Oleg Gunkin > Email: [EMAIL PROTECTED] > Phone: (604) 666-9392 > Emerging Technologies / Pacific Web Services > Information Technology Services > Public Works and Government Services Canada (Pacific) > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234501 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How do I get rid of single quote duplication in sql?
Use the function PreserveSingleQuotes() -Brandon -Original Message- From: Oleg Gunkin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 11:26 AM To: CF-Talk Subject: How do I get rid of single quote duplication in sql? I have the following problem with sql generation: Example select #sqlPart# as name from user The outcome of this code is select ''name: '' + name as name from user How do I get rid of single quote duplication? -- Oleg Gunkin Email: [EMAIL PROTECTED] Phone: (604) 666-9392 Emerging Technologies / Pacific Web Services Information Technology Services Public Works and Government Services Canada (Pacific) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234499 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I get rid of single quote duplication in sql?
try using preserveSingleQuotes() DK On 3/7/06, Oleg Gunkin <[EMAIL PROTECTED]> wrote: > I have the following problem with sql generation: > Example > > > select #sqlPart# as name from user > > The outcome of this code is > select ''name: '' + name as name from user > > How do I get rid of single quote duplication? > > > -- > Oleg Gunkin > Email: [EMAIL PROTECTED] > Phone: (604) 666-9392 > Emerging Technologies / Pacific Web Services > Information Technology Services > Public Works and Government Services Canada (Pacific) > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234500 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How do I get rid of single quote duplication in sql?
PreserveSingleQuotes() -Original Message- From: Oleg Gunkin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 2:26 PM To: CF-Talk Subject: How do I get rid of single quote duplication in sql? I have the following problem with sql generation: Example select #sqlPart# as name from user The outcome of this code is select ''name: '' + name as name from user How do I get rid of single quote duplication? -- Oleg Gunkin Email: [EMAIL PROTECTED] Phone: (604) 666-9392 Emerging Technologies / Pacific Web Services Information Technology Services Public Works and Government Services Canada (Pacific) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234498 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How do I get rid of single quote duplication in sql?
preserveSingleQuotes() ? On 3/7/06, Oleg Gunkin <[EMAIL PROTECTED]> wrote: > I have the following problem with sql generation: > Example > > > select #sqlPart# as name from user > > The outcome of this code is > select ''name: '' + name as name from user > > How do I get rid of single quote duplication? > > > -- > Oleg Gunkin > Email: [EMAIL PROTECTED] > Phone: (604) 666-9392 > Emerging Technologies / Pacific Web Services > Information Technology Services > Public Works and Government Services Canada (Pacific) > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234497 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ANN: ColdFusion tag for tabbed GUIs
C. Hatton Humphrey wrote: > > Looks like given some tweaks it might be a good work-around for the > tabbed Flash forms (sh!) I've actually developed several such forms using jComponents, which includes a tab component, accordian component, tree component, etc. Nice stuff http://clearsoftware.net/jComponents1_0/ Massimo's work looks good too. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234496 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: still nothing
Is it possible that your server has some sort of spam blocker? We've had that cause cf-mail not be delivered once it was listed in some databases. Everything's fine now though. > -Original Message- > From: Bryan Stevenson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 2:22 PM > To: CF-Talk > Subject: still nothing > > ..from VIctoria, BC Canada...no mail making it through from the list?? > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > phone: 250.480.0642 > fax: 250.480.1264 > cell: 250.920.8830 > e-mail: [EMAIL PROTECTED] > web: www.electricedgesystems.com > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234495 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
How do I get rid of single quote duplication in sql?
I have the following problem with sql generation: Example select #sqlPart# as name from user The outcome of this code is select ''name: '' + name as name from user How do I get rid of single quote duplication? -- Oleg Gunkin Email: [EMAIL PROTECTED] Phone: (604) 666-9392 Emerging Technologies / Pacific Web Services Information Technology Services Public Works and Government Services Canada (Pacific) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234494 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
still nothing
..from VIctoria, BC Canada...no mail making it through from the list?? Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234493 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Why do my selects in an iFrame do this?
Well...I followed your instructions...twice. IE7 was extracted and run, and I can get on the Internet with no problem...everything seems fine, except when I try to use a select. On mine and on others, such as Google.com, selects cause the Pop-Up blocker to respond. I've read the Help file about settings to stop the Pop-Up blocker from responding to file downloads, etc...even turned it off, but selects always set it off and they don't work? IE7 works fine as a full install on my laptop, replacing IE6...suggestions? Rick > -Original Message- > From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 11:38 AM > To: CF-Talk > Subject: Re: Why do my selects in an iFrame do this? > > > I got the following instructions for a sitepoint email: > > > So, let's say you're curious and you'd like to take IE7 for a spin, > but you're not ready to let it oust IE6 as your IE of choice -- can > this be done? > > I'm no expert on the interplay of Microsoft components, but I did > manage to get it going, and I'm happy to run you through the process I > used to get it running on my XP system. > >1. Download and save the beta EXE but don't run it. It's a > self-extracting, self-installing ZIP file; we want to do this > manually. >2. Create a new folder called 'IE7'. >3. Right-click on the EXE and scroll down to 'Extract to...' for > Winzip. If you don't use Winzip, this process should work in your > decompression software of choice. >4. Extract everything to your 'IE7' folder, making sure you keep > the folder structure intact by keeping 'Use folder names' checked. >5. Open your 'IE7' folder, right-click inside the folder and scroll > to 'New/Text Document. >6. Rename that file to 'iexplore.exe.local'. Make sure you're > changing the file's format, not just renaming your text document to ' > iexplore.exe.local.txt'. >7. That's it. Run 'iexplore.exe' in that folder -- do not run > 'iesetup.exe', which will initiate the full install. > > > > > On 3/7/06, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > You can use both of them at the same time. I can't seem to find the > > post at the moment, but you can download the exe file (for IE 7), > > extract the contents using Winzip, and just run it from the folder you > > extract it to. You have to do a couple of other things that I can't > > remember, but you don't have to let it replace your old IE install. Do > > a google search, and you'll find it. :) > > > > > -Original Message- > > > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, March 07, 2006 8:49 AM > > > To: CF-Talk > > > Subject: RE: Why do my selects in an iFrame do this? > > > > > > Is there any reason anyone knows of why I shouldn't > > > just replace IE 6 on my development workstation with IE 7? > > > Or should I keep both? > > > > This transmission may contain information that is privileged, > confidential and/or exempt from disclosure under applicable law. > If you are not the intended recipient, you are hereby notified > that any disclosure, copying, distribution, or use of the > information contained herein (including any reliance thereon) is > STRICTLY PROHIBITED. If you received this transmission in error, > please immediately contact the sender and destroy the material in > its entirety, whether in electronic or hard copy format. Thank you. A1. > > > > > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234492 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: PDF Upload Problems
I remembered reading something like it in Ben Forta's book (CFMX7 Web Application Construction Kit) and I went back and searched. This is what I found: " ...illustrates one of Internet Explorer 6's policies. Unlike most other browsers, it thinks the file extension-and the format of the actual content itself-is more important than the specified content type. The content type considered only if the file extension doesn't have an associated program, or when there is no file extension. To get consistent behavior with IE, add a content-disposition header to the page request, using a tag, such as the following. The tag is the way ColdFusion enables you to send custom HTTP headers back to the browser, along with the content your template generates. You would add this line right before the line in Listing 33.3: " So, I guess you can use Content-Disposition tag somewhere? I am not exactly sure though..Just a thought. Regards, Pine -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:13 PM To: CF-Talk Subject: Re: PDF Upload Problems I don't personally have a pdf generator, but I can reproduce it with an excel file, for example. It only happens with IE, though - Firefox correctly figures out the mime type. But, if you open an excel file with Microsoft Excel, and then try to upload it via your web page and IE, you'll discover that it thinks it's an application/octet-stream. On 3/6/06, Mike Chabot <[EMAIL PROTECTED]> wrote: > > Deanna, > Thank you for the information. Is there a way to reproduce this > problem, since I cannot seem to do so? > > I did some further testing and it appears that CFMX, for the most > part, is determining the MIME-type from the file extension, since I am > able to add .pdf to any file type to get it past the application/pdf > mime type restriction. > > Thank you, > Mike Chabot > > On 3/6/06, Deanna Schneider <[EMAIL PROTECTED]> wrote: > > Application/octet-stream is what you'll get if the pdf is open on > > their system when they try to upload it. I don't know of a really > > great work around, other than catching that particular error and > > telling them to be sure to close it before uploading it. > > > > On 3/6/06, Mike Chabot <[EMAIL PROTECTED]> wrote: > > > > > > We have a file upload form that only accepts PDF files. A very > > > small percentage of people have tried to upload files that end in > > > ".pdf," but CFMX 6.1 rejects them because they have MIME types of > > > "application/octet-stream" or "application/unknown." Since these > > > files could not be uploaded, I am not sure if these files are > > > legitimate PDFs, so I would like to know if anyone else has > > > experience with this, or if there is some advice I can give to the > > > people experiencing these problems? At what stage of the upload > > > process does the MIME-type get associated with the file? > > > > > > Thank you, > > > Mike Chabot > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234491 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: JRUN Metrics
Hey Chad. Another point to add to this is that the behavior you're seeing is far from normal. In our consulting practice we've regularly seen the number of sessions reach the default 1,000 session limit (at which point swapping kicks in), and with much higher memory utilization (in these session-intensive situations, you'd typically see the VM at max memory allocation/utilization, or ~1.5G on Windows). If your server is unresponsive at 21 sessions while only utilizing 400K of memory, then that's a significant performance bottleneck. You'll need to do some VM memory tuning at the least, and likely some substantial application tuning as well. Hope that helps. Best, Patrick > I am trying to figure out what exactly the "Sessions" refer to on my > coldfusion-event.log. Does the "Sessions" refer to how many total > session variables are set on my application? I am having a problem > with that number causing my JRUN.exe to take up a lot of memory. > > When the number of sessions gets to around 21 my JRUN memory is > usually around 400+k and becomes unresponsive. > > Can anyone help me out? > > Thanks. > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234490 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash Forms: Checkbox Repeater loop?
Okay, I figured this out. The checkboxes are in an array, and their true/false state is stored in the value property. Here is my final function which seems to work well. I'm sure it could be optimized more, but I'll save that for version 2 :) function globalSelect():Void { var i:Number = 0; var trueCount:Number = 0; // Check value of global, and if it is 0, and more than 1 region is selected, unselect all regions and display a popup if (multiRegionsAllowed() == false) { for (i = 0; i < regions.length; i++) { if (regions[i].value == true) { trueCount++; if (trueCount > 1) { regions[i].value = false; } } } if (trueCount > 1) { alert("You may only select multiple regions if you have selected a global option other than 'None'."); } } } On 3/7/06, Ken Dunnington <[EMAIL PROTECTED]> wrote: > I've got a flash form that uses the Repeater formitem to create a few > checkboxes that have the same name, like in HTML forms. I've got this > working, and it submits a list of true/false values as expected (I > wish you could submit a list of actual values, like in HTML forms, but > that's another post) but I can't figure out how to access these values > in an event handler. I'm using the script formitem introducted in > 7.0.1 so my onClick is calling a function. My function looks like this > so far, but it doesn't work: > > function globalSelect():Void { > if (multiRegionsAllowed() == false && regions.selectedIndices.length > > 1) { > for (var i:Number = 0; i < regions.getLength()-1; i++) { > if (regions.isSelected(i) == true) { > regions.getItemAt(i).selected = false; > } > } > } > } > > The checkboxes are named "regions" and the relevant form items are as follows: > > > value="{regionQuery.currentItem.value}" > label="{regionQuery.currentItem.name}" onclick="globalSelect();" > /> > > > The reason I'm using a repeater as opposed to a cfloop is a) the > checkboxes are related and b) they checkboxes are unlikely to change > (though it isn't out of the question) and I want to avoid a recompile > whenever possible. If I alert(regions) I get a list of object > references, so I know that I CAN get at these values, I just can't > figure out HOW! :) Can someone please point me in the right direction? > The Flex documentation hasn't helped. > Thanks! > - Ken ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234489 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Coldfusion 7 Jrun Memory Problem
I am trying to figure out what exactly the "Sessions" refer to on my coldfusion-event.log. Does the "Sessions" refer to how many total session variables are set on my application? I am having a problem with that number causing my JRUN.exe to take up a lot of memory. When the number of sessions gets to around 21 my JRUN memory is usually around 400+k and becomes unresponsive. Can anyone help me out? Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234488 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Date Validation Three Digit Year
I've got an interesting form date validation problem. I'm using the standard built in cfinput date validation code. I'm also using CreateODBCDate and cfQueryParam in the query End_Date <= My problem is that if a user enters a year less than 1000 (01/01/500), it gets through the CF validation but errors at the SQL level. The SQL Server settings are not available to me. I wan't to avoid adding JavaScript or doing anything server side. Are there any other possibilities? Lee Surma ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234487 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Thanks for the verification...I figured it would work that way. And, yes, all my apps are customized and relatively small at this point...no general consumption apps. Which is probably why I haven't been terribly concerned with framewords, OOP, etc., since I don't reuse much code... However, I am starting to develop "modules" that I can plug into any site that I develop... like announcments, calendar, email newsletter, etc. That does help make site development a lot faster. I still go through the modules and customize the code for the site, however. Rick > -Original Message- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 12:14 PM > To: CF-Talk > Subject: RE: OOP, why me? > > > > > > > > > > > Nice idea, Isaac... So the above ExpandPath > > function assumes my processing templates > > are in the same directory as the display page? > > > If so, what how would the code change if I put > > my processing templates in directory called > > "processing" and my display pages were in the > > "html" directory? > > > (Showing my ignorance about the ExpandPath > > function...haven't used it...familiar with it, but > > not in depth...) > > I unfortunately don't find ExpandPath() to be terribly useful in my > own development because it starts from the directory containing the > base template (the one used in the browser's address bar -- I'm sure > you already knew that :) ... The way I work (with lots of > subdirectories), the path of the base template is rarely (if ever) > relevant, because cfinclude and cfmodule tags don't use the base > template as their point of reference, they use the current template. > So imo it would be _much_ more useful (that is to say -- it would be > useful period) if ExpandPath() used the current template directory as > its baseline. To give you an example why the implementation of > ExpandPath() is patently bad, lets say you have a base template > form.cfm inside form.cfm you're including another template called > switch.cfm which includes code like I described above. Now lets say > that you decide you want to move switch.cfm and all of its associated > files into a subdirectory. Here's an illustration: > > You're chaing this: > > /form.cfm > /switch.cfm > /switch_x.cfm > /switch_y.cfm > > to this: > > /form.cfm > /switch/switch.cfm > /switch/switch_x.cfm > /switch/switch_y.cfm > > Now... if you've used ExpandPath() to check for the existence of the > file as in the code above, once you've moved these files your > application won't include any of the switch_x.cfm or switch_y.cfm > templates, even though the path to the included templates which is > used in your tag is correct and hasn't changed. The reason > is because although you moved switch.cfm into a subdirectory, > ExpandPath() still starts from the parent directory. > > This can be fixed by changing the code to read ExpadnPath("switch/" & > action & ".cfm"), however, then you have the name of the subdirectory > in your code. What happens if you decide to change the name of the > directory? Well... when you change the name of the directory you then > suddenly have to change this block of code again, which shouldn't be > necessary. It's understandable that you would need to change the path > in form.cfm, but needing to change the code in a template because its > _parent_ directory name changed imo is unacceptable. > > Thus ExpandPath() will _always_ produce an undesirable dependancy on > the base template directory of your application. So... I don't > recommend that people use ExpandPath() as a rule... > > I used it in my original example really because this explanation > wasn't really necessary to explain the include concept, because you > can write code that works with it (even if it's less maintainable), > because I figured you'd appreciate the simplified explanation, and > because I had the impression your applications are designed > specifically for your clients (mine are for general consumption) and > tend to be smaller anyway (didn't you say this in a previous post?) in > which case, the maintenance hassle that ExpandPath() causes is less of > an issue. > > For your specific directory structure, this (or something very close > to it) should work: > > > > > > I'm assuming that the "html" directory is synonymous with your web > root directory. If the html directory is a subdirectory of your web > root, then you would just drop ../ from those paths. > > s. isaac dealey 434.293.6201 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234486 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Uns