Re: CF vs. Java Web Developer

2011-06-20 Thread Patrick Santora
> wilg...@trunkful.com > www.trunkful.com > > On Jun 20, 2011, at 2:02 PM, Patrick Santora wrote: > > > > > Out of curiosity, how is that false Mike? > > > > On Mon, Jun 20, 2011 at 11:55 AM, Mike Chabot wrote: > > > >> > >> What you he

Re: CF vs. Java Web Developer

2011-06-20 Thread Patrick Santora
Out of curiosity, how is that false Mike? On Mon, Jun 20, 2011 at 11:55 AM, Mike Chabot wrote: > > What you heard is false. I agree with what Jason said. > > -Mike Chabot > > On Mon, Jun 20, 2011 at 1:18 PM, scott bloodworth < > sbloodwo...@rinovelty.com > > wrote: > > > > > Have heard that the

Re: CF vs. Java Web Developer

2011-06-20 Thread Patrick Santora
I believe it has more to do with how you desire programming within ColdFusion as you can program against it in either a procedural and/or OOP manner. Since CF sits on JRun which is a Java engine it simply uses java as it's workhorse for everything and since Java is a OOP language if you planned on

Re: Regular Expression Help

2011-06-14 Thread Patrick Santora
This might be more of what you are looking for. It captures special characters as well and should fit more in line to what you want. ", "$1}~" )#" /> 2011/6/14 Patrick Santora > If you'd like you can use the underlying java implementation of replaceAll. >

Re: Regular Expression Help

2011-06-14 Thread Patrick Santora
If you'd like you can use the underlying java implementation of replaceAll. ", "$1}~" )#" /> Should show: ~{Test Information2}~~{Test Information}~~{Test Information4}~~{Test Information}~ -Pat On Tue, Jun 14, 2011 at 7:49 AM, Patrick Kerley wrote: > > I have a regular expression issue. > >

Re: serializeJson() oddity

2011-04-26 Thread Patrick Santora
looks like the post was just too large. I've went ahead and emailed you the cfc file i use. On Tue, Apr 26, 2011 at 9:28 AM, Patrick Santora wrote: > Sorry for the ugly format. I can send the file to you directly if you'd > like. > > > On Tue, Apr 26, 2011 at 9:28

Re: serializeJson() oddity

2011-04-26 Thread Patrick Santora
Sorry for the ugly format. I can send the file to you directly if you'd like. On Tue, Apr 26, 2011 at 9:28 AM, Patrick Santora wrote: > I ran into this problem myself and ended up building my own cfc to help > handle this. It's a mix of other fixes that I've found. May

Re: serializeJson() oddity

2011-04-26 Thread Patrick Santora
I ran into this problem myself and ended up building my own cfc to help handle this. It's a mix of other fixes that I've found. Maybe it will help you. var ret = ""; var key = Tri

Re: Looking for Suggestion: e-Commerce/CMS Integration

2010-04-08 Thread Patrick Santora
Depending your time frame you may want to look at http://www.quilldesign.com/. They provide an e-commerce solution. Their latest version does not supply an API, but their upcoming release (version 5 around May or so) will have an API. Here at Mura we are hoping to build a good relationship with t

Re: FedEx Services to Print Label

2010-03-24 Thread Patrick Santora
It kind of depends on the route you take. Route 1: Loftware comes with pre-designed labels, but you may need to still get them certified. This will be your simplest route to take. Route 2: If you build your own then you will most definitely need to get them certified. If you plan on going this r

Re: FedEx Services to Print Label

2010-03-23 Thread Patrick Santora
You may want to look into a separate piece of software to handle label printing. In the past I used Loftware http://www.loftware.com with great success. In the past I successfully talked to the FedEx server to generate tracking number, then create an XML file in which Loftware would pick up and s

Re: Unit Testing Frameworks

2009-10-26 Thread Patrick Santora
Yes, CFCUnit has not been update for some time. CFer's have moved to unit testing frameworks such as MXUnit ( http://www.mxunit.org/) for back end testing and have started to use cfSpec (http://github.com/adelphus/cfspec/) for behavioral front end testing. I'm sure there are others out there, but

Re: multi-database code

2009-10-24 Thread Patrick Santora
You have the right idea. I would just be concerned with cfc bloat since you could be mirroring methods. If you'd like to stay clear of this you can consider breaking out your components into folders that represent the database engine itself. Below is an example: dao + mssql + customerDAO

Re: Shift from a single developer team to a multiple developer team

2009-10-20 Thread Patrick Santora
I second what Cutter mentions here. They are common practices and really work well on getting the job done within development teams. In regards to the development/staging/production environments, you should make sure that only one maybe two people are responsible for pushing code to at least produ

Re: Variable scope

2009-10-19 Thread Patrick Santora
Best of luck! Just know there are options in case you get stuck. Projects like the one you are describing can have some interesting curve balls. Just watch out for them. They can sting! ;-) On Mon, Oct 19, 2009 at 6:57 PM, Brian Bradley wrote: > > We have been using windows iis, etc. since 1999

Re: Variable scope

2009-10-19 Thread Patrick Santora
Wow! That makes quite the difference on how you might want to approach this. You have a lot of files to manage, which easily promotes something a little more senior/enterprise based. Knowing this you may want to consider going one of the below routes instead of shoehorning in the bit of code I rec

Re: Variable scope

2009-10-19 Thread Patrick Santora
I think I have the findNoCase arguments mixed up :P. Switch them. If you are using CF 7+ then application.cfc should be available to use. -Pat On Mon, Oct 19, 2009 at 3:21 PM, Patrick Santora wrote: > Alan's right. Coldfusion sits on top of the directories, so you can head > the

Re: Variable scope

2009-10-19 Thread Patrick Santora
Alan's right. Coldfusion sits on top of the directories, so you can head the user off at the pass before showing off anything that may be within that folder. In your case you may want to consider trapping whether or not the user has access by pushing in some security logic into the onRequestStart

Re: Variable scope

2009-10-19 Thread Patrick Santora
Does each folder have a different application scope? If so, then unless each application scope has the same name then different session containers will be used within each application. Can you supply us with some more clarity about your setup on a per application level? -Pat On Mon, Oct 19, 2009

Re: CF CMS Opinions

2009-05-06 Thread Patrick Santora
Larry, I work for Mura (formally known as Sava) and we have just created a great automated install script that will keep the pathing issue you brought up from happening again. We are pleased to hear as always that it was simple to implement as that is our goal ("make it easy for our users"). Bre

Re: Hosting

2009-02-11 Thread Patrick Santora
This is known as a good one in the CF community http://www.hostmysite.com/ -Pat On Wed, Feb 11, 2009 at 7:48 PM, Robert Bailey wrote: > > I am trying to find a decent CF8 hosting company that offers SQL Server. > The company I am working with now (remotely) does not have a dev server, so > I am

Re: Antigen Notification

2009-02-04 Thread Patrick Santora
I've gotten a few as well On Wed, Feb 4, 2009 at 11:48 AM, Charlie Griefer wrote: > > i got a few of them off of that thread. > > On Wed, Feb 4, 2009 at 11:42 AM, Claude Schneegans < > schneeg...@internetique.com> wrote: > > > > > Hi, > > > > Wondering if other people are receiving this message

Re: application scope and persistent CFC's

2009-02-03 Thread Patrick Santora
Outside of the Ray has mentioned I would take a look at the following page "Configuring and enabling application variables". http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars6.htm#1185482 Just note that the component will be removed from the cache a

Re: Acces a record count in javascript

2009-02-03 Thread Patrick Santora
Jason, It's important to remember that Javascript is commonly rendered AFTER Coldfusion has compiled the page. This allows you to use Coldfusion to help render such content. Here is a basic request cycle to help show this: Client makes request -> Server proccess request (Coldfusion) -> Server se

Re: Regex help

2009-01-30 Thread Patrick Santora
gt; nathan strutz > [Blog and Family @ http://www.dopefly.com/] > [AZCFUG Manager @ http://www.azcfug.org/] > > > > On Fri, Jan 30, 2009 at 10:54 AM, Patrick Santora >wrote: > > > > > This pattern should account for as well now: > > > > > > refindNoCase(&q

Re: Regex help

2009-01-30 Thread Patrick Santora
This pattern should account for as well now: |)(([A-Z0-9_%+-]*\.)+[a-z0-9_%+...@[a-z0-9.-]+\.[a-z]{2,4})(<\/b>|<\/strong>)", string, 1, true )/> Just amend the tag you want to wrap around the email "(|)" and "(<\/b>|<\/strong>)" as shown above. Pipes are the "or" operators. -Pat On Fri, Jan 30

Re: Regex help

2009-01-30 Thread Patrick Santora
Try this: )(([A-Z0-9_%+-]*\.)+[a-z0-9_%+...@[a-z0-9.-]+\.[a-z]{2,4})(<\/b>)", string, 1, true )/> On Fri, Jan 30, 2009 at 8:08 AM, Dean Lawrence wrote: > > Hi All, > > Can anyone help me with a particular regex patten? I am trying to find any > email address that has at least one dot in the

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
It's kind of like a right of passage It just looks to tempting to use sometimes :-) Well said Charlie. On Tue, Sep 9, 2008 at 2:33 PM, Charlie Griefer <[EMAIL PROTECTED]>wrote: > hey i was laughing at patrick laughing at you, not laughing at you > directly, > so it's ok :) > > > there's probab

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
It's sometimes the best and fastest way to learn :-). Evaluate works, it's just not really recommended "Ouch". ;-) On Tue, Sep 9, 2008 at 2:27 PM, David Moore, Jr. <[EMAIL PROTECTED]>wrote: > I just love giving you guys something to laugh at ... Rag the newbie... > It's OK. At least I am learnin

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
Ouch! Evaluate On Tue, Sep 9, 2008 at 2:15 PM, David Moore, Jr. <[EMAIL PROTECTED]>wrote: > Would something like this work? > > '#appconfig.code_value#'> > ~ David Moore > _ > Get more out of the Web. Learn 10 hidden secrets of

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
So are you saying: or even does not work? The second example with quotes around the set variable should also work I believe. -Pat On Tue, Sep 9, 2008 at 2:01 PM, Wally Randall <[EMAIL PROTECTED]>wrote: > >>>The variable application. ends with a "." character. > > > >This looks to me like ap

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
Charlie has the idea. It's because you are referring to a variable contained within an structure and doing dynamic dot notation has it's issues and will not work in this case. -Pat On Tue, Sep 9, 2008 at 1:57 PM, Charlie Griefer <[EMAIL PROTECTED]>wrote: > try > > On Tue, Sep 9, 2008 at 1:53 PM

using persist type objects in event gateways and other cfc's

2008-08-07 Thread Patrick Santora
Hi fellow cfers, First a little history... I am working on a project that requires me to use the directory watcher event gateway. For those who have used the event gateways, they hit supplied cfc's as (non-singletons ... correct me if i'm wrong :-) ), which removes the ability to create and a p

Re: More RegEx fun (Negative lookaheads)....

2008-07-03 Thread Patrick Santora
If you are using any Cold Fusion MX version you can use the underlying regex engine. I came into this thread late, but if this helps you then great. Take a look at the below blog to see what mean. This works with Cold Fusion version 6 to current. http://patweb99.avatu.com/post.cfm/how-to-access-un

Re: loop versus

2008-04-15 Thread Patrick Santora
Oh good catch Dominic! On Tue, Apr 15, 2008 at 6:50 AM, Dominic Watson < [EMAIL PROTECTED]> wrote: > Could it be that qNav is not var scoped? i.e. > > > > If this a recursive function, that should break it. > > Dominic > > -- > Blog it up: http://fusion.dominicwatson.co.uk > > > ~~

Re: loop versus

2008-04-15 Thread Patrick Santora
n the 4th or 5th time through. They are both using the same external > methods [getDepth(),getParent(),getSubs()]. > > -Original Message- > From: Patrick Santora [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 15, 2008 8:30 AM > To: CF-Talk > Subject: Re: loop versus

Re: loop versus

2008-04-15 Thread Patrick Santora
I thought that too, but after copying the code from the thread and pasting it into my local environment showed it is being a capital "i". On Tue, Apr 15, 2008 at 6:32 AM, Richard White <[EMAIL PROTECTED]> wrote: > just an observation but the index in the doesnt look like an 'i' > > my eyes may b

Re: loop versus

2008-04-15 Thread Patrick Santora
is the one that's giving me trouble. Perhaps > it's not in the loop syntax. I've gone character by character comparing > the rest of the code in each function and they appear identical. > > -Original Message- > From: Patrick Santora [mailto:[EMAIL PROTEC

Re: deleting all files in a directory with code

2008-04-15 Thread Patrick Santora
look at cfdirectory On Mon, Apr 14, 2008 at 1:47 PM, Richard White <[EMAIL PROTECTED]> wrote: > hi > > is there a way to delete all files in a directory through code, tag or > function > > thanks > > ~| Adobe® ColdFusion® 8 sof

Re: loop versus

2008-04-15 Thread Patrick Santora
you need to declare "i" via the script approach. cfloop does a basic declaration for you. the for loop does not. NOTE: if this loop is within a cffunction then ensure you have scoped i correctly (place "var i = 1" above the loop) or (i = 1; i LTE qNav.recordCount; i=i+1) { ...

Re: OT: domain registrar

2008-04-10 Thread Patrick Santora
hate godaddy.com, love register.com. Not sure about the API with register.com though. On Thu, Apr 10, 2008 at 3:14 PM, Jenny Gavin-Wear < [EMAIL PROTECTED]> wrote: > Hi all, > > I'm looking for a good domain name registrar with: > > 1. a good control panel, including nameserver changes > 2. decen

Re: Migrating to Application.cfc

2008-04-10 Thread Patrick Santora
This question has been tossed around a few lists lately. I have not verified, but from what I understand as long as you have the same application name within the application.cfc and application.cfm files, then you should be ok. On Thu, Apr 10, 2008 at 9:38 AM, Jeff Price <[EMAIL PROTECTED]> wrote: