Re: CFFM update

2006-02-04 Thread Dwayne Cole
Is there a demo site for cffm


-- Original Message --
From: Rick Root [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 31 Jan 2006 09:24:00 -0500


CFFM has been updated with PNG manipulation support and I fixed a little 
bug that was in 1.12.

Previous versions of CFFM only allowed manipulation of JPG images.

http://www.cfopen.org/projects/cffm

As a side note, I'm preparing to release a new image CFC based on Jim 
Dew's original work.  It will be more robust, and I'm playing with java 
renderinghints and jpeg compression to try to increase the quality of 
the output.  Please email me off list if you are interested in either 
knowing when it's done or in helping.  This new image manipulation 
component will be free and open source under the BSD license like all 
the stuff I do, so you can do whatever you want with it.

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231346
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: MySQL 5 and CFMX7 (New Problem)

2006-02-04 Thread Casey Dougall
Mysql5, CF7, Win2003 all work together when using

I recomend Connector/ODBC 3.51

I would say the 5.0 beta drivers are causing the issue.

Casey

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231347
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: ImageCFC component Available

2006-02-04 Thread Will Tomlinson
I can't wait til Rabidimage.cfc comes out! heeheehee!

:)

Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231348
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: CFFM update

2006-02-04 Thread Casey Dougall
Yeah, rick put a demo of this up along with his imagecfc

http://www.opensourcecf.com/cffm/


On 2/4/06, Dwayne Cole [EMAIL PROTECTED] wrote:
 Is there a demo site for cffm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231349
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


MG VS. Mach - No holds barred

2006-02-04 Thread Baz
Frameworks get brought up a lot on this list - but we have yet to see an
honest and ruthless direct comparison between them. Would anyone who has had
experience in both MG and Mach provide a *specific* point where one
framework is better than the other? 

Examples: (none are true)
- MG processes faster pages faster than Mach
- Mach uses less code to complete the same tasks
- MG allows the use of multiple factories, Mach doesn't
- Mach breaks on linux
(again, none are true)

Cheers,
Baz

P.S. If this interests you, the cfpetmarket.com project is a goldmine. It
shows the same app built in different frameworks.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231350
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: sending mass emails

2006-02-04 Thread Pete Ruckelshaus
What method are you using to trickle your emails?

Thanks,

Pete

On 2/4/06, dave [EMAIL PROTECTED] wrote:
 yes thats why I am trickling them out, their old site sent them all out at 
 once.

 ~Dave the disruptor~
 I forgot what I was gunna put here, Will woulda stole it anyways!

 
 From: Robert Munn [EMAIL PROTECTED]
 Sent: Saturday, February 04, 2006 12:26 AM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: Re: sending mass emails

 Are you worried about getting tagged as a spammer because of the volume? Just 
 wondering , I didn't know that sort of stat showed up on the spam filters.

 gotta send out 26,000 emails to a mailing list (dont worry it ain't sp*m)
 
 Made an email trickler to send them out in bursts.
 
 Does anyone have any current info on whats safe to send out at a time?
 
 # of messages per burst and time inbetween bursts.



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231351
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: passing multiple values from the same form field

2006-02-04 Thread George Abraham
Hi,
By saying 'I want to pass these options along with the productID and qty',
are you saying that when you submit the form, the values are not being
passed to the action page?

Otherwise Ian's answer about the array notation for form data seems right.
In simple terms, the radio button for option1 will be named
form.option1(when the action page sees it) and it's value will be
#form.option1#.

If you know the total number of options, you can loop through that number
like so (not tested):

cfloop from=0 to=thatNumber index=thisNumber
   cfif StructKeyExists(form,'option#thisNumber#')
  cfset whateverVariable = #form[option  thisNumber]#
   /cfif
/cfloop

George

On 2/3/06, j s [EMAIL PROTECTED] wrote:

 It is for a form which will display a product.  That product has options
 you can add to.  Like Coffee, you can have the option of whole
 milk/skim/cream, sugar/equal/brown, caffine/decafe and so on.

 I want to pass these options along with the productID and qty.

 The possible values that are passed are:

 FORM.ProductID,
 FORM.Qty
 FORM.Option1 (option#count#)
 FORM.Option2
 FORM.Option3
 And so on...

 The Options are created dynamic so I don't know how many option groups (ie
 milk, sweeatner) I will have for each option (whole, skim, equal,
 splenda).  This is why I have the input name= option#counter#.  Since I'm
 working with radio input each group of options must have a unique name so I
 can select either whole milk, skim
 whole milk skim milk all have input nmes option1
 white sugar, equal all have input names option2


 The sku and qty are stored in a cartTable with a unique key for each line.
 Options will be insert in a seperate table which will only store the
 optionID and the cartID.

 Anyway, I don't know how to pass the many options along with the productID
 and qty.


 Can you point me to how to do this?

  I have no idea what you are really trying to do.  It sounds very
  convoluted.
 
  But hopefully the answer to your question is the array notation for
  form data.  It usually is for these kinds of serially numbered fields.
 
 
  #form[fieldname  counter]#
 
  HTH
 
  --
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  -
  | 1 |   |
  -  Binary Soduko
  |   |   |
  -

 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231352
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: ImageCFC component Available

2006-02-04 Thread Rick Root
Will Tomlinson wrote:
 I can't wait til Rabidimage.cfc comes out! heeheehee!

hahahah

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231353
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: CFFM update

2006-02-04 Thread Rick Root
Casey Dougall wrote:
 Yeah, rick put a demo of this up along with his imagecfc
 
 http://www.opensourcecf.com/cffm/

Yeah that's it.. I haven't yet integrated the new image.cfc into cffm 
yet but that's next ;)

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231354
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: sending mass emails

2006-02-04 Thread Russ
We use 1000 every 2 minutes... send 30k plus per day... 

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 04, 2006 12:31 AM
 To: CF-Talk
 Subject: Re: sending mass emails
 
 yes thats why I am trickling them out, their old site sent them all out at
 once.
 
 ~Dave the disruptor~
 I forgot what I was gunna put here, Will woulda stole it anyways!
 
 
 From: Robert Munn [EMAIL PROTECTED]
 Sent: Saturday, February 04, 2006 12:26 AM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: Re: sending mass emails
 
 Are you worried about getting tagged as a spammer because of the volume?
 Just wondering , I didn't know that sort of stat showed up on the spam
 filters.
 
 gotta send out 26,000 emails to a mailing list (dont worry it ain't sp*m)
 
 Made an email trickler to send them out in bursts.
 
 Does anyone have any current info on whats safe to send out at a time?
 
 # of messages per burst and time inbetween bursts.
 
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231355
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: Equivalent to Java 'import package.class;'?

2006-02-04 Thread Dave Carabetta
On 2/3/06, Dave Watts [EMAIL PROTECTED] wrote:
  Is there an equivalent to Java's 'import package.class;'
  statement? I do not want to write cfinvoke component=...
  ... all the time.

 No, there isn't. The CFIMPORT tag allows you to import JSP tag libraries and
 assign them prefixes, but that's not the same thing at all, really.

I just wanted to point out that you can also use the cfimport tag to
import CF custom tag libraries as well. Using cfimport is technically
the most efficient way of calling custom tags, as the cfimport is used
compile-time to determine the library's location rather than
on-the-fly, like cfmodule and cf_*. That being said, it can be a bit
of a maintenance headache because you have to have this directive on
each actual page that uses the page.

Anyway, Dave's point still holds, of course, but cfimport can do more
than just JSP tag libraries.

Regards,
Dave.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231356
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: sending mass emails

2006-02-04 Thread John McKown
We send even more than that, because we have been working on a CF 
powered Constant Contact killer.
It prolly sends 100K per day.   Four years ago AOL got tough and started 
to block IP RANGES based
on volume of messages.   Breaking them up into batches is the only way 
to go.  I recommend less than 10K
per domain name.  You can always use multiple domain names and IP ranges 
though ;)

John McKown
President, Delaware.Net
We host Fusebox.org and all of our apps are 
Fusebox/ColdFusion/BlueDragon compliant.


Russ wrote:

We use 1000 every 2 minutes... send 30k plus per day... 

  

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 04, 2006 12:31 AM
To: CF-Talk
Subject: Re: sending mass emails

yes thats why I am trickling them out, their old site sent them all out at
once.

~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways!


From: Robert Munn [EMAIL PROTECTED]
Sent: Saturday, February 04, 2006 12:26 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: sending mass emails

Are you worried about getting tagged as a spammer because of the volume?
Just wondering , I didn't know that sort of stat showed up on the spam
filters.



gotta send out 26,000 emails to a mailing list (dont worry it ain't sp*m)

Made an email trickler to send them out in bursts.

Does anyone have any current info on whats safe to send out at a time?

# of messages per burst and time inbetween bursts.
  








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231357
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: Equivalent to Java 'import package.class;'?

2006-02-04 Thread Rick Root
  On 2/3/06, Dave Watts [EMAIL PROTECTED] wrote:
 
Is there an equivalent to Java's 'import package.class;'
statement? I do not want to write cfinvoke component=...
... all the time.

Classes in the class path are automatically available, there is no 
equivalent of the import statement in java.

You do, always, have to instantiant the object to use them though ie,

in java:
SomeClass foo = new SomeClass();

in CF:
cfset foo = createObject(java,java.abc.SomeClass)

No way around that.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231358
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: Comcast blacklisting solutions?

2006-02-04 Thread Jochem van Dieten
Claude Schneegans said:
 It's more cost effective to put the
 hammer down and inconvenience a minority then watch customer
 satisfaction levels plummet and support costs rise.

 This is not an excuse for not providing at least one address to
 which,  even black listed people,
 could mail enquiries about what is the problem.

If I blacklist IP or email addresses, I do that because I don't want
to receive email from them. And I certainly don't want to receive
enquiries from them. Especially not if they are too stupid to read the
URL in the bounce and fix their problem.

If you want to deliver email to my server you have to play by my rules.

Jochem




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231359
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: Comcast blacklisting solutions?

2006-02-04 Thread Claude Schneegans
 If I blacklist IP or email addresses, I do that because I don't want
to receive email from them. And I certainly don't want to receive
enquiries from them. Especially not if they are too stupid to read the
URL in the bounce and fix their problem.

Good for you, but I've also seen administrators too stupid to include a 
link in their message,
this was long ago, though.

-- 
___
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:231360
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: sending mass emails

2006-02-04 Thread dave
run a query and get a maxrows where a message hasnt been sent then loop thru it 
and send the messages and mark each record as sent then use a meta refresh at 
whatever interval to send the next batch, then when done go back to db and 
reset the sents to not sent. You could use a scheduling but we arent going to 
do that, at least for the first one until we get all the junk completely out of 
their database.

~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways! 


From: Pete Ruckelshaus [EMAIL PROTECTED]
Sent: Saturday, February 04, 2006 9:43 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: sending mass emails 

What method are you using to trickle your emails?

Thanks,

Pete

On 2/4/06, dave  wrote:
 yes thats why I am trickling them out, their old site sent them all out at 
 once.

 ~Dave the disruptor~
 I forgot what I was gunna put here, Will woulda stole it anyways!

 
 From: Robert Munn 
 Sent: Saturday, February 04, 2006 12:26 AM
 To: CF-Talk 
 Subject: Re: sending mass emails

 Are you worried about getting tagged as a spammer because of the volume? Just 
 wondering , I didn't know that sort of stat showed up on the spam filters.

 gotta send out 26,000 emails to a mailing list (dont worry it ain't sp*m)
 
 Made an email trickler to send them out in bursts.
 
 Does anyone have any current info on whats safe to send out at a time?
 
 # of messages per burst and time inbetween bursts.



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231361
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: ImageCFC component Available

2006-02-04 Thread dave
Hey Rick, how does this compare to alagad?
I was supposed to buy that today and just curious, i'm def gunna give yours a 
shot first though.

~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways! 


From: Rick Root [EMAIL PROTECTED]
Sent: Friday, February 03, 2006 2:39 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: ImageCFC component Available 

Hi all,

http://www.opensourcecf.com/imagecfc

I've got my new image.cfc component ready for public consumption. I'm 
calling it 2.00 beta 1 right now. 2.00 because it's based on Jim 
Dew's original work. Beta because it's not thoroughly tested.

It *HAS* been tested on CFMX 7 (Windows and Linux) and Bluedragon 6.2 JX 
(Linux). Should also work on CFMX 6.1.

The most important feature is that it supports specifying JPEG 
compression, allowing you to increase your output quality as long as 
you're willing to accept he increase in file size.

The CFC includes the following methods:

getImageInfo(), rotate(), scaleX() scaleY(), resize(), flipHorizontal(), 
flipVertical(), crop(), and convert()

It will read JPG, PNG, and GIF images from local files or from URLS. It 
will write JPG and PNG files. Any valid readable format can be 
converted to a valid writeable format.

All functions can take a file, URL, or BufferedImage object as input. 
All functions can output a file OR return a BufferedImage object.

all functions optionally accept a JPEG compression argument, a number 
between 0 and 100. The default is 90.

Rick Root



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231362
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: passing multiple values from the same form field

2006-02-04 Thread j s
It is passed to tag first.  What I'm not clear on is how to loop the form 
fields.

cfmodule 
 template=productAdd.cfm
 action = add
 ProductID = #FORM.ProductID#
 qty = #FORM.Qty#
 options = #FORM.Option.CurrentRow# 



Hi,
By saying 'I want to pass these options along with the productID and qty',
are you saying that when you submit the form, the values are not being
passed to the action page?

Otherwise Ian's answer about the array notation for form data seems right.
In simple terms, the radio button for option1 will be named
form.option1(when the action page sees it) and it's value will be
#form.option1#.

If you know the total number of options, you can loop through that number
like so (not tested):

cfloop from=0 to=thatNumber index=thisNumber
   cfif StructKeyExists(form,'option#thisNumber#')
  cfset whateverVariable = #form[option  thisNumber]#
   /cfif
/cfloop

George

On 2/3/06, j s [EMAIL PROTECTED] wrote:


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231363
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


CFAJAX Wiki available

2006-02-04 Thread James Holmes
For those not on the CFAJAX list, or those who don't even know what
CFAJAX is, the CFAJAX wiki is now available.

http://www.indiankey.com/cfajax/wiki/

(CFAJAX is a CF-oriented AJAX framework, based on DWR).

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231364
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: MySQL 5 and CFMX7 (New Problem)

2006-02-04 Thread John Paul Ashenfelter
On 2/4/06, Casey Dougall [EMAIL PROTECTED] wrote:
 Mysql5, CF7, Win2003 all work together when using

 I recomend Connector/ODBC 3.51

This is awful advice. To use the ODBC drivers for MySQL, you have to
install the ODBC services and go through the JDBC-ODBC bridge.

 I would say the 5.0 beta drivers are causing the issue.

They're alpha (Connector J/5.0), so rolling back to the production
Connector J/3.1 drivers should be your first choice, unless there's
something very specific you need from the 5.0 drivers.


 Casey

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231365
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: MG VS. Mach - No holds barred

2006-02-04 Thread Mike Kear
I thought Sean Corfield did just that, by building a simple application in 8
or 9 different ways using the different frameworks.

It certainly helped me make up my mind to have a serious look at
Modelglue.   (I chose ModelGlue not so much for its technical capabilities -
at the time i didnt understand much about the technicalities - I was looking
for good documentation and ease of learning.  A lot has changed in all the
frameworks since then though).

Why not go to Sean's blog and download the sample apps and the documentation
that goes with it.  You'll probably find most of what you're looking for
there.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com



On 2/5/06, Baz [EMAIL PROTECTED] wrote:

 Frameworks get brought up a lot on this list - but we have yet to see an
 honest and ruthless direct comparison between them. Would anyone who has
 had
 experience in both MG and Mach provide a *specific* point where one
 framework is better than the other?

 Examples: (none are true)
 - MG processes faster pages faster than Mach
 - Mach uses less code to complete the same tasks
 - MG allows the use of multiple factories, Mach doesn't
 - Mach breaks on linux
 (again, none are true)

 Cheers,
 Baz

 P.S. If this interests you, the cfpetmarket.com project is a goldmine. It
 shows the same app built in different frameworks.




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231366
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


regex help

2006-02-04 Thread dave
didnt Mike have a cfm regex builer at one time??

I need a regex to find an email inbetween brackets like such [EMAIL 
PROTECTED]  but its gotta be an email because some will also have postmaster 
as well and I dont want those.

anyone? Ben..

~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways! 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231367
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: passing multiple values from the same form field

2006-02-04 Thread George Abraham
Well,
Normally if you want to loop over form fields, you can use something like
this:

cfloop list=#form.fieldnames# index=thisField
   cfset whateverVariable = #StructFind(form,thisField)#
/cfloop

George

On 2/4/06, j s [EMAIL PROTECTED] wrote:

 It is passed to tag first.  What I'm not clear on is how to loop the form
 fields.

 cfmodule
  template=productAdd.cfm
  action = add
  ProductID = #FORM.ProductID#
  qty = #FORM.Qty#
  options = #FORM.Option.CurrentRow#
 


 Hi,
 By saying 'I want to pass these options along with the productID and
 qty',
 are you saying that when you submit the form, the values are not being
 passed to the action page?
 
 Otherwise Ian's answer about the array notation for form data seems
 right.
 In simple terms, the radio button for option1 will be named
 form.option1(when the action page sees it) and it's value will be
 #form.option1#.
 
 If you know the total number of options, you can loop through that number
 like so (not tested):
 
 cfloop from=0 to=thatNumber index=thisNumber
cfif StructKeyExists(form,'option#thisNumber#')
   cfset whateverVariable = #form[option  thisNumber]#
/cfif
 /cfloop
 
 George
 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231368
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: ImageCFC component Available

2006-02-04 Thread Rick Root
dave wrote:
 Hey Rick, how does this compare to alagad?
 I was supposed to buy that today and just curious, i'm def gunna give yours a 
 shot first though.

I honestly haven't even demo'ed Alagad because I was happy, for the most 
part, with the free options available =)  At least, happy enough to know 
that I didn't want to pay for something.

I do know that Alagad does a LOT more stuff, but if all you need is 
image resizing, cropping, rotating, flipping and flopping... image.cfc 
should do the trick.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231369
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: regex help

2006-02-04 Thread Bobby Hartsfield
rereplace(replace(body, postmaster, , all), .+(.*?).+, \1,
all)

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 04, 2006 11:47 PM
To: CF-Talk
Subject: regex help

didnt Mike have a cfm regex builer at one time??

I need a regex to find an email inbetween brackets like such
[EMAIL PROTECTED]  but its gotta be an email because some will also have
postmaster as well and I dont want those.

anyone? Ben..

~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways! 





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231370
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: Equivalent to Java 'import package.class;'?

2006-02-04 Thread Eric Roberts
Not sure if I am reading this right, but you can put a copy of the class
files in the CF directory and then specify that directory in the class path
section of the Java and JVM section of CF Administrator...

Once you reboot, all you have to do is create the objects using cfset.

Eric 

-Original Message-
From: Oleg Gunkin [mailto:[EMAIL PROTECTED] 
Sent: Friday, 03 February 2006 18:11
To: CF-Talk
Subject: Equivalent to Java 'import package.class;'?

Is there an equivalent to Java's 'import package.class;' statement?
I do not want to write cfinvoke component=... ... all the time.

--
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:231371
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: Equivalent to Java 'import package.class;'?

2006-02-04 Thread Eric Roberts
I think that only works if you have it specified in the class path in cf
admin...

Eric 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Friday, 03 February 2006 19:53
To: CF-Talk
Subject: Re: Equivalent to Java 'import package.class;'?

cfset x = theJavaClassYouCreated.whicheverMethod(someArgument) will do it.
You don't need cfinvoke.

On 2/4/06, Oleg Gunkin [EMAIL PROTECTED] wrote:
 I want to be able to call all the functions of this component without
cfinvoke component=...

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231372
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: passing multiple values from the same form field

2006-02-04 Thread Eric Roberts
If you have them have the same name, it passes a list.  You can do a listlen
on the variable to get the number of values passed and then loop it through
to get values into the tables.  If you know what the values are, you can
also do some if then processing to sort them out into the proper tables...

Eric 

-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, 03 February 2006 20:06
To: CF-Talk
Subject: Re: passing multiple values from the same form field

It is for a form which will display a product.  That product has options you
can add to.  Like Coffee, you can have the option of whole milk/skim/cream,
sugar/equal/brown, caffine/decafe and so on.

I want to pass these options along with the productID and qty.

The possible values that are passed are:

FORM.ProductID,
FORM.Qty
FORM.Option1 (option#count#)
FORM.Option2
FORM.Option3
And so on...

The Options are created dynamic so I don't know how many option groups (ie
milk, sweeatner) I will have for each option (whole, skim, equal, splenda).
This is why I have the input name= option#counter#.  Since I'm working with
radio input each group of options must have a unique name so I can select
either whole milk, skim
whole milk skim milk all have input nmes option1 white sugar, equal all have
input names option2


The sku and qty are stored in a cartTable with a unique key for each line.
Options will be insert in a seperate table which will only store the
optionID and the cartID.

Anyway, I don't know how to pass the many options along with the productID
and qty.


Can you point me to how to do this?
  
 I have no idea what you are really trying to do.  It sounds very 
 convoluted.
 
 But hopefully the answer to your question is the array notation for 
 form data.  It usually is for these kinds of serially numbered fields.
 
 
 #form[fieldname  counter]#
 
 HTH
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -
 
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231373
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: passing multiple values from the same form field

2006-02-04 Thread Bobby Hartsfield
 FORM.ProductID,
 FORM.Qty
 FORM.Option1 (option#count#)
 FORM.Option2
 FORM.Option3

It looks like you wont have any issues with fields like productid and qty
since they are most likely hard coded... so you know their names

The options though are probably built with a cfloop from a query or
something so use the same loop to create params for them and get their
values.

Eg...

to build them

cfloop query=myquery
input type=checkbox name=option#currentrow# value=#column_with_value#
/
/cfloop

 to check them

cfloop query=myquery
cfparam name=form.option#currentrow# default=NULL /
cfif form['option'  currentrow] NEQ NULL
INSERT RECORD HERE USING THE VALUE FROM #form['option' 
currentrow]#
/cfif
/cfloop

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: Eric Roberts [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 1:00 AM
To: CF-Talk
Subject: RE: passing multiple values from the same form field

If you have them have the same name, it passes a list.  You can do a listlen
on the variable to get the number of values passed and then loop it through
to get values into the tables.  If you know what the values are, you can
also do some if then processing to sort them out into the proper tables...

Eric 

-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, 03 February 2006 20:06
To: CF-Talk
Subject: Re: passing multiple values from the same form field

It is for a form which will display a product.  That product has options you
can add to.  Like Coffee, you can have the option of whole milk/skim/cream,
sugar/equal/brown, caffine/decafe and so on.

I want to pass these options along with the productID and qty.

The possible values that are passed are:

FORM.ProductID,
FORM.Qty
FORM.Option1 (option#count#)
FORM.Option2
FORM.Option3
And so on...

The Options are created dynamic so I don't know how many option groups (ie
milk, sweeatner) I will have for each option (whole, skim, equal, splenda).
This is why I have the input name= option#counter#.  Since I'm working with
radio input each group of options must have a unique name so I can select
either whole milk, skim
whole milk skim milk all have input nmes option1 white sugar, equal all have
input names option2


The sku and qty are stored in a cartTable with a unique key for each line.
Options will be insert in a seperate table which will only store the
optionID and the cartID.

Anyway, I don't know how to pass the many options along with the productID
and qty.


Can you point me to how to do this?
  
 I have no idea what you are really trying to do.  It sounds very 
 convoluted.
 
 But hopefully the answer to your question is the array notation for 
 form data.  It usually is for these kinds of serially numbered fields.
 
 
 #form[fieldname  counter]#
 
 HTH
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -
 
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231374
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


CFAJAX and WebOrb

2006-02-04 Thread Aaron Roberson
I have recently been looking into RIA's using CFML and AJAX and I have
come across two technologies that both look like they do what I am
looking for but the one is sort of a hack and the other appears to be
much more sophisticated.

Can anyone on this list tell me what the differences and similarities
are between CFAJAX and WebOrb?

The WebOrb site is: http://www.themidnightcoders.com/weborb/
The CFAJAX site is: http://indiankey.com/cfajax

Thanks,
Aaron

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231375
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: passing multiple values from the same form field

2006-02-04 Thread Aaron Roberson
Jose,

I am trying to do the same thing, and have posted a couple of threads
here but have received no response.

Guys, your suggestions are very helpful! I am understanding more how
this can be done and I am sure that you are beginning to understand
more as well, Jose. Instead of hijacking this thread or starting a new
one for my particular db design and component based coding, I am going
to keep watch of this thread and gleam what I can. That way, those of
you who are providing tips and techniques can help more than one
person at a time.

Thanks,
Aaron

On 2/4/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
  FORM.ProductID,
  FORM.Qty
  FORM.Option1 (option#count#)
  FORM.Option2
  FORM.Option3

 It looks like you wont have any issues with fields like productid and qty
 since they are most likely hard coded... so you know their names

 The options though are probably built with a cfloop from a query or
 something so use the same loop to create params for them and get their
 values.

 Eg...

 to build them

 cfloop query=myquery
 input type=checkbox name=option#currentrow# value=#column_with_value#
 /
 /cfloop

  to check them

 cfloop query=myquery
 cfparam name=form.option#currentrow# default=NULL /
 cfif form['option'  currentrow] NEQ NULL
 INSERT RECORD HERE USING THE VALUE FROM #form['option' 
 currentrow]#
 /cfif
 /cfloop

 ..:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com






 -Original Message-
 From: Eric Roberts [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 05, 2006 1:00 AM
 To: CF-Talk
 Subject: RE: passing multiple values from the same form field

 If you have them have the same name, it passes a list.  You can do a listlen
 on the variable to get the number of values passed and then loop it through
 to get values into the tables.  If you know what the values are, you can
 also do some if then processing to sort them out into the proper tables...

 Eric

 -Original Message-
 From: j s [mailto:[EMAIL PROTECTED]
 Sent: Friday, 03 February 2006 20:06
 To: CF-Talk
 Subject: Re: passing multiple values from the same form field

 It is for a form which will display a product.  That product has options you
 can add to.  Like Coffee, you can have the option of whole milk/skim/cream,
 sugar/equal/brown, caffine/decafe and so on.

 I want to pass these options along with the productID and qty.

 The possible values that are passed are:

 FORM.ProductID,
 FORM.Qty
 FORM.Option1 (option#count#)
 FORM.Option2
 FORM.Option3
 And so on...

 The Options are created dynamic so I don't know how many option groups (ie
 milk, sweeatner) I will have for each option (whole, skim, equal, splenda).
 This is why I have the input name= option#counter#.  Since I'm working with
 radio input each group of options must have a unique name so I can select
 either whole milk, skim
 whole milk skim milk all have input nmes option1 white sugar, equal all have
 input names option2


 The sku and qty are stored in a cartTable with a unique key for each line.
 Options will be insert in a seperate table which will only store the
 optionID and the cartID.

 Anyway, I don't know how to pass the many options along with the productID
 and qty.


 Can you point me to how to do this?

  I have no idea what you are really trying to do.  It sounds very
  convoluted.
 
  But hopefully the answer to your question is the array notation for
  form data.  It usually is for these kinds of serially numbered fields.
 
 
  #form[fieldname  counter]#
 
  HTH
 
  --
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  -
  | 1 |   |
  -  Binary Soduko
  |   |   |
  -

 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 





 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231376
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: Equivalent to Java 'import package.class;'?

2006-02-04 Thread Rick Root
Eric Roberts wrote:
 I think that only works if you have it specified in the class path in cf
 admin...

the java classes or jar files MUST be in the class path no matter what 
you do, otherwise you can't get to them with CF.

And if you put them in the default class path you don't have to adjust 
any cfadmin settings.

I'm pretty sure things have to be in the class path to use cfinvoke too 
(I don't *THINK* you can use cfinvoke to invoke local class files.. like 
you can't just use a java class found in your web site's home directory.)

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231377
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