Re: mssql beyond compare tool?

2008-05-20 Thread John Paul Ashenfelter
+1 for the RedGate tools. They are *unbelievably* useful if you're
thrown in with lots of poorly documented MSSQL databases or just
problems.

On Tue, May 20, 2008 at 10:23 AM, Crow T. Robot
[EMAIL PROTECTED] wrote:
 it's expensive at $595 for the bundle, but RedGate's SQL Compare and SQL
 Data Compare are top-notch and well worth it.

 http://www.red-gate.com/Products/index.htm

 On Tue, May 20, 2008 at 9:08 AM, Paul Ihrig [EMAIL PROTECTED] wrote:

 is there a mssql2k beyond compare tool?
 i have a failing server with tons of crap on it. 1% free space.

 need to move old back ups, create new backups, then migrate them...

 i need to move the databases to a newer server.
 but they have about 45% overlap in database names.

 so looks like the previous developer was in the process of migrating every
 thing, but thta didnt get completed and there is no documentation..

 so is there a tool i can use to analyze differences.
 man.. i am so sqrewd..
 any help would be beautiful..
 -paul.




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305708
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Lucene (Was: SOUNDEX() in MSSQL)

2008-04-04 Thread John Paul Ashenfelter
Another good option is to look at Apache Solr, which is a really nice
web-service style wrapper around Lucene. I've used it on a couple of
projects a while back and it's *really* nice. It's all lucene under
the hood, but you configure, maange, and access through the web.

On Fri, Apr 4, 2008 at 11:50 AM, James Smith [EMAIL PROTECTED] wrote:
 Cheers, will have a look into it early next week.



  On Fri, Apr 4, 2008 at 4:07 PM, Gerald Guido [EMAIL PROTECTED] wrote:
   Ray Camden has some stuff on his site.  Search his site for Lucene. He has
some code samples. look for the download links at the bottom of his posts
  
http://www.coldfusionjedi.com/index.cfm/2007/9/30/ColdFusion-Lucene-Test
  
I have got it up and running so it is do-able
  
cflucene.org is MIA btw I have the source somewhere if you are interested.
  
G
  
On Fri, Apr 4, 2008 at 10:47 AM, James Smith [EMAIL PROTECTED]
  
   wrote:
  
 OK, does anyone have any good examples of setting up and using Lucene?
 The Apache docs are not beginner friendly...

 On Thu, Apr 3, 2008 at 3:28 PM, James Smith [EMAIL PROTECTED]
 wrote:
   If you want really good search results, look into Lucene.  I believe
 you can
 use the Did you mean functionality, which I think is what you're
 going
 for.
 
   I will have a look into it, cheers.
 
   --
   Jay
 



 --
 James Smith
 IT Director
 Music Express Ltd


  
  

  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302747
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread John Paul Ashenfelter
On 10/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 There is a special 'MAMP' version of the 'LAMP' environment for the
 Mac.
 Always be sure, if there is a choice, to pick the 'intel' version of a
 program, when you install it.

Personally, I'd suggest install MacPorts and using it to manage all
these kinds of tools -- makes upgrades happen on your schedule with
good rollback capabilities.

sudo port install apache2
(wait)
sudo port install php5
(wait)

etc. There's plenty of good tutorials on macport if you look around.

You'd still need to install CF outside of that (and if you're not a
glutton for punishment, use CF8 which actually installs easily on a
Mac instead of CF7 and the hassle of installing it.

I use a mac mini very similarly, except that I deploy to it using Ant
or Rake (ruby projects) instead of simply copying/saving files to it.
Keep in mind that unless you're using Linux-friendly databases (eg
MySQL) that you'll still need to have it linking back to the
MSAccess/MSSQL/whatever on your laptop.

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292481
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread John Paul Ashenfelter
I should have also mentioned the how to/etc on the wiki

http://trac.macosforge.org/projects/macports/wiki

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292510
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread John Paul Ashenfelter
MacPorts is an installer/package manager (like rpm on linux or like,
well, port on bsd).

You install it from the main site -- it's just a normal mac app

http://www.macports.org/

You *will* need XCode from Apple.

Then you run the port command as administrator from the terminal

sudo port

Then you find the things you're interested in installing

[Users/you]search apache

Assuming you want to install the apache 2.2 distro

[Users/you]install apache2

(wait for all the compilation to happen behind the scenes)

Now you've got apache2 installed from source. Want PHP?

[Users/you]search php5

[Users/you]install php5
[Users/you]install php5-xdebug

etc

You get natively compiled versions of whatever you're after. It's
really deep, so you can dig through the commands if you want to pick
different versions, add different options, etc. I find
[Users/you]help is pretty useful

Then when you php 5.2.5 comes out, you simply need to

[Users/you]upgrade php5

and it all happens magically

Something bad about php 5.2.5 and want to revert to 5.2.4?

[Users/you]deactive php5 5.2.5
[Users/you]activate php5 5.2.4

etc.








On 11/1/07, Andy Matthews [EMAIL PROTECTED] wrote:
 Without sounding needy, I found a few sites for MacPorts, but they're all
 ..am or .c files. I have no clue how to go about using those. I did install
 XCode from my Tiger CD (on the recommendation from a friend), so I guess I
 can compile those files if need be.

 Also, am I correct in understanding that MacPorts is like MAMP in that it
 gives you all of the needed software all in one package?


 andy

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 01, 2007 12:34 PM
 To: 'cf-talk@houseoffusion.com'
 Subject: RE: Setting up MacMini as full featured local webserver - with
 ColdFusion

 Thanks for the update. MacPort sounds like a good idea. I'm all for easy as
 I don't know the MacOS at all right now.

 My production environment is a Windows box so it's more to get all of the
 load off my workstation, plus to put the mini to good use.

 I'll look into MacPort, thanks John.


 andy

 -Original Message-
 From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 01, 2007 11:41 AM
 To: CF-Talk
 Subject: Re: Setting up MacMini as full featured local webserver - with
 ColdFusion

 On 10/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  There is a special 'MAMP' version of the 'LAMP' environment for the
  Mac.
  Always be sure, if there is a choice, to pick the 'intel' version of a
  program, when you install it.

 Personally, I'd suggest install MacPorts and using it to manage all these
 kinds of tools -- makes upgrades happen on your schedule with good rollback
 capabilities.

 sudo port install apache2
 (wait)
 sudo port install php5
 (wait)

 etc. There's plenty of good tutorials on macport if you look around.

 You'd still need to install CF outside of that (and if you're not a glutton
 for punishment, use CF8 which actually installs easily on a Mac instead of
 CF7 and the hassle of installing it.

 I use a mac mini very similarly, except that I deploy to it using Ant or
 Rake (ruby projects) instead of simply copying/saving files to it.
 Keep in mind that unless you're using Linux-friendly databases (eg
 MySQL) that you'll still need to have it linking back to the
 MSAccess/MSSQL/whatever on your laptop.



 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292509
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: WebDav + SVN + Dreamweaver

2007-10-23 Thread John Paul Ashenfelter
Jake,

All of the changes are going to be in the *subversion* repository --
c:\svnrepos -- at the appropriate place in the directory tree.
c:\webdav doesn't know *anything* about svnrepos just because you did
an import. And the push to the remote site only happens when you
actually do it unless you're using the Automatically Upload to Server
on Change option.

I'm assuming what you're after is that files saved to through webdav
are automatically written to subversion and then pushed to the
remote server. Just to be clear, WebDAV is an *awful* way to connect
to svn -- their protocols aren't completely compatible and there are
lots of problem areas (the first of which, from my perspective, is you
get commits with no comments). It might be easier to just use
something like SFTPDrive or Webdrive to map the remote server and edit
directly

One alternative to look at is SVNProxy
http://www.pushok.com/soft_svn.php or one of the ones from this post
http://epicserve.com/blog/61/dreamweaver-8-annoyances-complaints

Another alternative is Eclipse, which of course does have SVN support
through Subclipse.

And of course if the real goal is WebDAV, and not Version Control, you
probably want a real webdav server.

All of that aside, I think what you're needing to do is ensure that
your WebDAV client (DW8) is connected to your SVN repository and that
you're looking for the files there.

On 10/23/07, Jake Pilgrim [EMAIL PROTECTED] wrote:
 I'm trying to get SVN autoversioning (webDav) configured for use with 
 dreamweaver (in this case, dreamweaver 8). It seems like it's working, but I 
 can't publish new files. Also, I'm not seeing file revisions when I post new 
 files. Admittedly, I'm new to SVN so this could easily be a user issue.


 Here's a rundown of of my software versions/configuration:



 Apache 2.0.59 (it's only purpose in life is to provide webDav access)
 SVN 1.4.3
 Windows XP (will eventually move to Windows 2003 server when in production)

 Client: Dreamweaver 8 - remote server as a webDav connection

 Besides switching the default port to 8080 (to prevent conflicts with IIS on 
 80), here are the changes I made to httpd.conf

 LoadModule dav_module modules/mod_dav.so
 LoadModule dav_fs_module modules/mod_dav_fs.so
 LoadModule dav_svn_module C:/Program Files/Subversion/bin/mod_dav_svn.so
 LoadModule authz_svn_module C:/Program Files/Subversion/bin/mod_authz_svn.so

 DocumentRoot C:/webDav
 Directory C:/webDav

 DavLockDB C:/Program Files/Apache Group/Apache2/var/DavLock

 Location /
 Dav svn

 AuthType Basic
 AuthName DAV
 AuthUserFile C:/Program Files/Apache Group/Apache2/var/user.passwd
 require valid-user
 ForceType text/plain

 SVNPath c:/svnRepos
 /Location


 I created a new repository (C:\svnRepos) using Tortoise SVN. I then imported 
 the files which I wish to keep under version control (c:\webDav). I then did 
 the necessary password work to create an account for the basic authentication.

 Dreamweaver says it connects successfully to my remote server. When I push 
 out a file that already exists, it doesn't bark at me. However when I look in 
 my c:\webDav folder, the changes are not there. I tried doing an SVN Update 
 (via Tortoise SVN) on c:\webDav, but the changes were still not visible. I 
 also tried checking out a new working copy (c:\webDav2) and that did not 
 contain the changes either. The other issue is that I cannot add a new file - 
 I created test2.html in my local view in dreamwaver, tried to push it out, 
 and I received an access denied. the file may not exist or there may be a 
 permission issue.

 I haven't tried any clients besides dreamweaver because this really won't be 
 useful to us if it doesn't work in dreamweaver. Has anyone experienced this 
 before? Is this a dreamweaver issue? Did I take a wrong turn somewhere in my 
 setup/configuration? Is there a way to resolve this?

 Thanks in advance!

 Jake



-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291897
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Subversion appliance use attempt...

2007-10-22 Thread John Paul Ashenfelter
On 10/21/07, Rick Faircloth [EMAIL PROTECTED] wrote:
 Well... I've got TortoiseSVN installed and it seems to be working
 fine.  I see the menu commands in Windows Explorer.

 I'm reading through the documentation now to figure out just what
 I'm supposed to do with this.

Save yourself a *ton* of time and just buy Pragmatic Version Control
with SVN, 2nd edition from the Pragmatic Programmers. Lots of
recipies, theory, etc packed in a very compact book (plus the
appendices walk you through installed the SVN server if you want to
later on).

 Thanks for the help on this... I'm sure I'll be calling again!  :o)

 Rick



  -Original Message-
  From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED]
  Sent: Sunday, October 21, 2007 11:20 PM
  To: CF-Talk
  Subject: Re: Subversion appliance use attempt...
 
  yep, that's exactly right.  The vmplayer is acting like a completely
  separate server so you'll need a client on your xp machine and
  TortoiseSVN is an awesome one.
 
  I got my repo configured exactly how I wanted it and then moved the
  virtual machine to another machine on my network.  I still get giddy
  thinking how easy it is to move and configure virtual servers.
 
 




 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291773
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Subversion appliance use attempt...

2007-10-22 Thread John Paul Ashenfelter
On 10/22/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 On 10/21/07, Rick Faircloth [EMAIL PROTECTED] wrote:
  Well... I've got TortoiseSVN installed and it seems to be working
  fine.  I see the menu commands in Windows Explorer.
 
  I'm reading through the documentation now to figure out just what
  I'm supposed to do with this.

 Save yourself a *ton* of time and just buy Pragmatic Version Control
 with SVN, 2nd edition from the Pragmatic Programmers. Lots of
 recipies, theory, etc packed in a very compact book (plus the
 appendices walk you through installed the SVN server if you want to
 later on).

And I should have added, if you're on the west coast, come see me talk
about this sort of thing at CFUnited Express on Nov 9th in San
Francisco.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291774
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SOT: Rails vs CF.... :)

2007-10-20 Thread John Paul Ashenfelter
Folks,

I checked the archives -- maybe I missed this on the list the first time around.

http://www.railsenvy.com/2007/10/3/ruby-on-rails-vs-coldfusion

FWIW, these guys have several funny comparisons between Ruby on Rails
and X (9 I believe).

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: Rollback db changes in CFCUnit/CFUnit tests

2007-10-05 Thread John Paul Ashenfelter
On 10/4/07, Janet MacKay [EMAIL PROTECTED] wrote:
 Does anyone know of an article(s) explaining how to work rollbacks into unit 
 testing? I want to test a series of DAO's, but am not sure how to incorporate 
 this into my tests.

Broadly speaking, depending on what you're testing, mock objects may
be enough. If the goal is to test the objects then that's probably
enough. If you need to actually test the CRUD code itself, then you
might want to look at DBUnit  for managing database state. There's
some fine articles on IBM developerWorks and similar places -- it's
pretty simple to use it to restore a database to a known state.

 Janet


 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290298
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Text Editor Preferences?

2007-09-21 Thread John Paul Ashenfelter
On 9/20/07, Chris Martin [EMAIL PROTECTED] wrote:
 I've been using TextPad since 1998...haven't seen any reason to switch,
 but am curious to see what everyone else is using for a text editor out
 there.

TextMate, but it costs about $1000 for you PC folks (you'll need a
Mac). Lots of the PC folks salivating for TextMate for Windows (mostly
Rails developers in corp environments) look at the e text editor.

In the PC world, I'd think Notepad++ if a fine solution unless you've
already bought TextPad. I liked TextPad's regex search/replace better
and writing the macros.

And if you're on Linux, I'll let you fight it out between vi and emacs :)


-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289089
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SOT: CF makes an appearance on Daily WTF

2007-09-20 Thread John Paul Ashenfelter
Folks,

I rarely pass on random links, but for those of you that don't follow
the Daily WTF? for examples/stories/screenshots of bad code/etc in
action, today's installment features code written in *ColdFusion*

http://worsethanfailure.com/Articles/Ph33r-my-5k1llz!.aspx

Take that, you C++ programmers! We can write code *just as bad* as you do :)

(Clearly the issue isn't CF -- it's being stupid about security. REALLY stupid.)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288929
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PURE apache configuration question

2007-09-14 Thread John Paul Ashenfelter
The most likely difference is in permissions, particularly groups,
depending on how your apache is installed and how you copied things
over. There's a good chance that your htaccess file has the wrong
permissions/ownership depending on the details of how it was uploaded
and tweaked once there.

On 9/14/07, Ian Skinner [EMAIL PROTECTED] wrote:
 Is there any easy to way to determine whether or not the 'mod_alias
 module needed for the redirect directive is or is not correctly installed?

 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288495
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PHP or .Net?

2007-09-14 Thread John Paul Ashenfelter
Isn't that pretty much the same as Flash ;)

On 9/13/07, Raymond Camden [EMAIL PROTECTED] wrote:
 Hey - someone should write a cf interperter for logo. Ie

 cf_logo name=foo
 commands here
 /cf_logo

 cfimage action=writeToBrowser source=#foo#

 On 9/13/07, Dinner [EMAIL PROTECTED] wrote:
  On 9/6/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
   On 9/6/07, Dinner [EMAIL PROTECTED] wrote:
On 9/6/07, John Paul Ashenfelter wrote:...
   
 I don't know -- that summer class in LOGO really has paid off for me 
 :)
   
   
forward 100!   That comment had me laughing inside, John.  Great stuff.
  
   Did I mention I was 12 at the time :)
 
  I was 6! (or maybe 5)  =]
 
  First school I ever got kicked out of...  for being late, teach said.  :-(  
  (:])
 
 

 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288496
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: MSSQL Timeout (Connection: reset)

2007-09-13 Thread John Paul Ashenfelter
On 9/13/07, Dave Watts [EMAIL PROTECTED] wrote:
  What's weird is this happens on three different VMWare
  machines running on the same server as the db (this is in a
  dev environment). I do know that the host machine, which also
  runs the db, was upgraded to
  SP2 for Windows 2003 server. Other CF boxes (eg developer
  machines) and MSSQL tools can connect fine, but not any of
  the virtual machines.

 Can you connect to any other service on the host machine from the VM?

Ironically there were few other easy-to-test services on the host. I
can't connect to the web server on it, nor can I connect from the host
to the web server on the guest machines.

 Can
 you see the database port as open from the VM using telnet or a port
 scanner?

On the list to check -- it seems like it's a problem with TCP traffic
from the host to the client since ICMP (eg ping) and netbios work. I
also can't connect to shares on the host, but can connect to shares on
the NAS


Which virtual network adapter are you using, vlance or vmxnet?

Bridged networking using vmxnet (2.0.0.5 is the version). All of that
information on all the machines looks correct and the router shows the
MAC addresses all match the IPs/leases.

Can
 you connect to services on other VMs or physical servers from the affected
 VMs?

I can connect to the web servers from one vm to another, but not from
host to vm or vm to host.

What does your vmware.log file have to say?

The debugging log has been pretty useless -- nothing network-related
with errors, even when debug logging is turned on.


Thanks for the reality check -- I'm a *longtime* VMWare user and have
to say this is puzzling (for the record, it's VMWare Server 1.0.3)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288356
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RESOLVED: MSSQL Timeout (Connection: reset)

2007-09-13 Thread John Paul Ashenfelter
On 9/12/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 Folks,

 Puzzled about this error message. ColdFusion 7.02/Std on Windows
 2003/Web connecting to a different machine running MSSQL2000/Std on
 Windows 20003/Std. Rebooted everything after months of being fine and
 getting a timeout error

 The error message from the runtime log is

 SQLException while attempting to connect: java.sql.SQLException:
 [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting
 to contact the server (Server returned: Connection reset). Please
 ensure that the server parameters passed to the driver are correct and
 that the server is running. Also ensure that the maximum number of
 connections have not been exceeded for this server.
 [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting
 to contact the server (Server returned: Connection reset)

 What's weird is this happens on three different VMWare machines
 running on the same server as the db (this is in a dev environment). I
 do know that the host machine, which also runs the db, was upgraded to
 SP2 for Windows 2003 server. Other CF boxes (eg developer machines)
 and MSSQL tools can connect fine, but not any of the virtual machines.

 Ideas?

Wow. Finally got this fixed and is it a doozy. Turns out that Windows
2003 SP2 has some code it in that enables(?)/changes(?)/breaks some of
the higher-end features (like TCP Offloading and RSS) in the Broadcom
GBit controller that, among other machines, is onboard for Dell 29XX
series servers.

Directions to fix it are here using two registry tweaks are here

http://www.vmware.com/community/thread.jspa?threadID=78606start=30tstart=0

Uninstalling SP2 apparently works, as does a routing trick, but
disabling the features in the card seemed the best choice to me and
worked on the first try.
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288393
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


MSSQL Timeout (Connection: reset)

2007-09-12 Thread John Paul Ashenfelter
Folks,

Puzzled about this error message. ColdFusion 7.02/Std on Windows
2003/Web connecting to a different machine running MSSQL2000/Std on
Windows 20003/Std. Rebooted everything after months of being fine and
getting a timeout error

The error message from the runtime log is

SQLException while attempting to connect: java.sql.SQLException:
[Macromedia][SQLServer JDBC Driver]A problem occurred when attempting
to contact the server (Server returned: Connection reset). Please
ensure that the server parameters passed to the driver are correct and
that the server is running. Also ensure that the maximum number of
connections have not been exceeded for this server.
[Macromedia][SQLServer JDBC Driver]A problem occurred when attempting
to contact the server (Server returned: Connection reset)

What's weird is this happens on three different VMWare machines
running on the same server as the db (this is in a dev environment). I
do know that the host machine, which also runs the db, was upgraded to
SP2 for Windows 2003 server. Other CF boxes (eg developer machines)
and MSSQL tools can connect fine, but not any of the virtual machines.

Ideas?

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288336
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Replacing the CFDJ awards.... ?

2007-09-10 Thread John Paul Ashenfelter
Folks,

While I'm certainly neither surprised or upset by the demise of CFDJ,
I always did get a lot of vicarious pleasure out of the yearly CFDJ
awards. Regardless of the value of such awards (and no offense to any
recipients or nominees) such a popularity contest is always useful in
one way or another.

So who's stepping up to take over? :)

Not me ;)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288090
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: MS SQL 2005 and CFMX 7.02Ent

2007-09-07 Thread John Paul Ashenfelter
On 9/7/07, Wil Genovese [EMAIL PROTECTED] wrote:
 I'm thinking this got lost in yesterday's backlog.  Does anyone have any
 clues on this?

Not directly, but 2 years ago I did do some analysis of MSSQL JDBC
drivers as part of a project and we ended up looking at both jTurbo
(from NewAtlanta) and JTDS (open source http://jtds.sourceforge.net/)
in addition to MS's driver. The MS driver was awful (this was the
1.0beta) and JTDS was *really* fast. Info is two years old, but it's
pretty easy to try either the demo of jTurbo or the open source JTDS
option to see if they address the issue.

Ironically, about 80% of my ColdFusion work in the MX6-7 era was
using non-bundled drives, JTDS in some cases for MSSQL and of course
always the MySQL driver that supported MySQL 4.1+. Thankfully in CF8
there is a finally decent MySQL 4/5 driver

 --
 Wil Genovese

 One man with courage makes a majority.
 -Andrew Jackson

 A fine is a tax for doing wrong. A tax is a fine for doing well.



 Wil Genovese wrote:
  Ok, we recently switched to running MS SQL 2005 servers in an 
  Active/Passive cluster on Win2003 (64Bit).  While we were testing we had no 
  issues with DB access. After migrating most of our databases to the SQL 
  2005 Cluster we are not getting the same error a few times a day that 
  crashes our whole CFMX application (which is running behind a load balancer 
  across three CFMX servers.
 
  The error we see is this: (note: az_tar is a valid name of a DB)
 
  Message: Error Executing Database Query.
  Detail: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database 
  az_tar requested by the login. The login failed.
  Date: 09/05/2007
  Time: 06:16:08
 
  The login permissions are set right and have not changed from the previous 
  server to this server cluster. Also, the logins work most of the day 
  without an issue then all of a sudden for reasons unknown to us this error 
  pops up across most or all the databases on this server.
 
  We found a MS JDBC driver (Microsoft SQL Server 2005 JDBC Driver 1.1) that 
  they state In its continued commitment to interoperability, Microsoft 
  provides a Java Database Connectivity (JDBC) driver for use with SQL Server 
  2005.
 
  My questions are:
  Has anyone see this issue before?
  And if so, what was the problem/solution?
  Has anyone tried this MS JDBC Driver and what were your results?
 
  Thank You,
  Wil Genovese
 
 
 

 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287995
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Light-duty CF intranet server?

2007-09-07 Thread John Paul Ashenfelter
On 9/7/07, Pete Ruckelshaus [EMAIL PROTECTED] wrote:
 I'd do something like this:

 * Base Dell Poweredge or similar with dual core CPU
 * Minimum 2GB RAM
 * A pair of SATA drives in RAID1 (software RAID at the OS level would be
 fine)
 * MS Windows Server 2003 Web Edition
 * MS SQL Server 2005 Express (standard won't run on the web edition OS)
 * CF or BD (might qualify as a BD Free edition install)


I'll vote for this as well. I've got a client that's repurposed their
main application for a couple of very small state agency clients
using a similar setup. Their big version runs on a 2 member cluster of
CF7/Win2k3 Web Edition/Apache2 with a MSQQL2000Std/Win2k3Std db server
all on medium-sized configurations of Dell 1850 racks.

The small installation of the same software uses a Dell 740 rackmount
(P4, SATA RAID1) running Win2k3 Web/Apache2/MSSQL2005Express all on
one box. That's a glorified rackmounted desktop machine :) Cost for
the box+os was something like $1200 when purchased a few years ago.

As an aside, the only serious limits for MSSQL2005 Express are the 4gb
per database limit and potentially the 1 CPU limit (keeps the server
cheap though -- no need for dual proc since you can't use it directly,
though the 2nd proc will help CF). And the best news is you can
implement this on a fairly vanilla desktop to get started assuming you
can deal with the whole data redundancy issue (a nightly backup may be
good enough if you don't need sophisticated RAID reliability).


-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287996
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Light-duty CF intranet server?

2007-09-07 Thread John Paul Ashenfelter
 The only tag I would miss with the free edition is cfdocument, but it's not
 a deal breaker.
 Are there any other things that I am likely to miss in wandering outside of
 the CF server green zone?

I've got nothing against BD, but personally I find it's a bad idea to
deal with two slightly different platforms, whether it's BD and CF or
CF7 and CF8 or any other pairing that will inevitably burn you . If
your company runs CF7, I'd buy CF7. The server plus the license are in
the $50-100/user range if you're really talking about 25-50 users. By
most measures that's what, cost of coffee service for a year? :)

Basically, running two platforms to save a little money in my
experience never does. Of course if you've got a CF5 application for
the company, then you're running a different version of CF regardless
that's just as bad as the BD vs CF (or Railio for that matter)
difference and just a likely to burn time/money down the road.

One potential piece of your ROI calculation could involve using CF8 on
the new development (esp if you're running CF7 in production) and use
the new, internal, in-many-ways-less-risky development to get up to
speed on the new features/platform before upgrading the main systems
to CF8 which could justify both the license and your time.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288007
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PHP or .Net?

2007-09-06 Thread John Paul Ashenfelter
On 9/6/07, Sean Corfield [EMAIL PROTECTED] wrote:
 On 9/5/07, Michael E. Carluen [EMAIL PROTECTED] wrote:
  Any thoughts on Ruby and Python?

 I keep trying Ruby but I just can't enjoy it - the syntax just annoys
 me (I don't like Perl or PHP either) - and Rails relies so heavily on
 conventions that I find it annoying as well. I can't get all the way
 through most of the tutorials without getting frustrated at how many
 times I have to keep switching between an editor and the command line
 and back because of all the script/generate and rake stuff.

Just an aside, since I saw Joe mention a similar frustration with the
command line and Rails at one point a while back... I hardly *ever*
have to switch between the editor and the command line unless I want
to use the console for debugging or quick edits/tweaks (ie hooking
into script/console) when I'm developing in Rails. TextMate and
RadRails/Aptana (for Eclipse) definitely handle all the typical
generation and rake tasks while ActiveSoftware's Komodo adds debugging
support. The downside is the tutorials generally focus on
lowest-common-denominator (text editor and command line) and it's hard
to invest the time in an unfamiliar GUI *and* an unfamiliar language.
But since there are so many CFEclipse users (many using Aptana,
right?) that it just makes sense to take a look at RadRails if you're
trying Rails.

Its all so
 incredibly clunky... Maybe it's because I really don't like code
 generation...

With Ruby all about meta, code generation is hard to avoid. Your
dislike of code generation would make an interesting post :)

 I don't like Python much either. I can't really point at anything
 about the language that bothers me but it I just get bored working
 through any of the tutorials and the language just makes me yawn :(

I saw negative indexes for arrays and immediately thought duh! why
don't more languages have that. The Data Crunching book from the
PragProgrammers made me rethink Python for glue (and of course there
are a few smart folks at Google, including Guido, so figured there's
got to be a good reason for using it. But I'm still not doing Django.

 Programmers I respect seem to like Groovy and Grails so they're on my
 list to look at.

Definite +1 to Groovy/Grails. I started with Groovy first about 4
years ago, and then it got bogged down in JSR arguments for 2-3 years
as the two lead developers feuded. Argh. But since Groovy is
Java+scripting+syntax_sugar it's a great choice for CF developers
since, well, ColdFusion is
Java+scripting+completely_new_syntax_with_some_sugar.

Since Ruby is going to basically deploy to Java for many folks through
JRuby, the discussion with a client ends up with it's a Java app and
no one cares too much about JRuby, Groovy, or CF details.


 Partly I'm a bit jaded about languages... I learned a lot of different
 languages at university (I think I had just over a dozen languages
 under my belt by the time I graduated in 1983) and so most of the
 languages that have been created in the last ten years just don't
 excite me...

I don't know -- that summer class in LOGO really has paid off for me :)

 As for FORTRAN (Dinner!), I love the fact that spaces are irrelevant
 and you have to parse ahead an arbitrary amount to figure out what a
 statement means:

 do10i=1.3
 do10i=1,3

MAKE IT STOP! Too many numerical recipes from my grad work looked like
this. Nothing like learning Fortran77 for doing some quantum physics.
Argh.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287904
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PHP or .Net?

2007-09-06 Thread John Paul Ashenfelter
On 9/6/07, Dinner [EMAIL PROTECTED] wrote:
 On 9/6/07, John Paul Ashenfelter wrote:...

  I don't know -- that summer class in LOGO really has paid off for me :)


 forward 100!   That comment had me laughing inside, John.  Great stuff.

Did I mention I was 12 at the time :)



 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287935
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PHP or .Net?

2007-09-05 Thread John Paul Ashenfelter
On 9/5/07, Sean Corfield [EMAIL PROTECTED] wrote:
 On 9/5/07, Ali Majdzadeh [EMAIL PROTECTED] wrote:
  For about 5 years I am using CF as my main devloping laguage but many 
  experienced programmers suggested I learn another programming language too 
  because CF is great but not as popular as PHP or .Net
  Which one do you suggest as the second language I learn? The only thing I 
  ever used is Coldfusion.

 I don't think you'll actually learn anything new from PHP but you may
 find it easier to pick up if you've only done CF. I think PHP is a
 *horrible* language but a lot of people think I'm a bit of a language
 purist (I've designed a couple of languages and written compilers and
 interpreters so I probably have a different view of languages to most
 folks :)

I agree with Sean. PHP is going to be same-old, same-old with slightly
different syntax. The only big pluses I see for you learning PHP is
being able to do some open source work and to learn one of the big PHP
apps like Drupal (there is MAD money in Drupal development, esp as the
political season kicks in) and the big CMSes like Joomla! and Mambo.

 C# / .NET will be a good learning experience in terms of new concepts
 and it's fairly marketable. Java would also be a similarly good
 learning experience (and is also fairly marketable).

I'd lean towards Java here since it dovetails nicely with ColdFusion
in a lot of ways. I know .NET does now with CF8 as well, but in a CF
shop, Java seems to be the next step in many cases. Of course if you
hate your current job, .NET might be a good choice to help get out :)

 I generally suggest that folks learn new languages for the concepts
 they can teach rather than how marketable a specific language is - the
 more languages you know, the easier it is to pick up the marketable
 languages - and unusual languages teach you a lot more than mainstream
 languages, in terms of techniques (many of which will make you a
 better CF programmer!). Consequently, I recommend learning unusual
 stuff like Smalltalk, Prolog and Haskell...

And of course I'd recommend taking a look at Ruby and Rails if you're
solidly in the web space. You get a lot of the object-orientation as
well as a lot of things you can apply back to CF (frameworks, testing,
mixins, etc). Plus its fun :)

Regards,
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287819
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF vs. PHP

2007-08-31 Thread John Paul Ashenfelter
On 8/29/07, Dave l [EMAIL PROTECTED] wrote:
 actually, im not trolling, it was a serious ?

 And of course its as good as who codes it but thats just the code and i'd 
 imagine the issue is more about the server itself, I don't honestly know but 
 would like to and thats why i asked as I have heard many people say that 
 security is a big disadvantage of php. I remember some big exploits on the 
 server but not exactly what they were.

The bulk of the highly publicized security issues with PHP have been
with open source apps that have SQL injection, XSS, and similar
vulnerabilities (eg -- coder-related problems).

 Like i said, im not trolling but would like to know for my own personal 
 benefit and to have the correct info.

Secunia is a good place to look for reported vulnerabilities for any
major product:

ColdFusion 7.x has 0/13 unpatched (http://secunia.com/product/4984/)
Zend Platform 2.x (PHP) has 0/2 unpatched (http://secunia.com/product/11679/)
Rails 1.x has 0/2 unpatched (http://secunia.com/product/11350/)
ASP.NET 1.x has 4/7 unpatched (http://secunia.com/product/2173/)

That's reported vunlerabilities in the product itself. Doesn't
honestly mean that much, but it's a better metric than guessing :)



 Security is an issue with all exposed languages??  Its only as good as the
 codemonkey writing it?  Yahoo uses PHP? Directnic Uses PHP?
 
 James I will put up some examples been really busy past couple days.
 
 Dave im sorry if I am wrong but that really appears to be a Troll Response
 
 Eric Haskins
 
 
 
 
  Out of curiosity, do you worry about security with php? I haven't been in
  touch with it much lately but I have read the articles where the guy in
  charge of trying to make php more secure quit and said it was a battle that
  couldn't be won.
 
 

 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287519
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SQL - dupicate table

2007-08-31 Thread John Paul Ashenfelter
How about

INSERT INTO new_table SELECT * FROM old_table

On 8/31/07, daniel kessler [EMAIL PROTECTED] wrote:
 I have a table and I'd like to duplicate all of it's data to another table.  
 I've set the second table to have the same structure.  How do I go about 
 transferring that data through SQL?  It'll be a one-time transfer.
 I'd like to do the whole table at once, but if I have to do field by field, 
 then that's okay too.

 Here's my attempt at doing the first field, which failed:
 update timesheets_tmp
  set date_added =
   (
select date_added
from timesheets
   )

 It executes fine but timesheets_tmp isn't updated.

 thank you.

 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287524
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF vs. PHP

2007-08-27 Thread John Paul Ashenfelter
 Now it's been 7 years since I've done any PHP development.  Am I being
 ignorant by thinking the only reason why this guy wants me to develop in
 PHP is for his own job security (since he doesn't know CF)?

Sure, that makes sense. Manage what you know. There's also many more
PHP developers relatively speaking, which makes hiring for the
team/replacement/maintenance easier.

Or is
 legitimate to keep consistency in the languages used within the
 organization?

That's a huge plus, but it's all relative. Some shops like to
standardize, some like to pick the right tool for the job and pay the
additional maintenance overhead, some like to go with a particular
vendor/platform. Etc etc.

FWIW, PHP today is *very* different from PHP circa 2000, just as
ColdFusion is different today as opposed to in 2000 Both have made
the jump to objects, CF is really Java under the hood and PHP is
headed there, and there's plenty of other changes to both.

One thing I'd suggest is looking at the CAKE framework, which is one
of the defacto choices for new PHP development (much like Rails is in
the Ruby world or Django in the Python world).

The big factor for me personally for an *accounting* project would be
reporting. PHP has really poor options for reporting other than
do-it-yourself HTMLy stuff. ColdFusion has pretty good options as of
late and both .NET and Java have excellent options (JasperReports and
Datavision being two great open source options from the Java world).
Now if you're using something like Access or Crystal to generate the
reports directly off the database, that's not an issue.
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287183
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


IIS Rewriting options

2007-08-27 Thread John Paul Ashenfelter
Folks,

I'm moving a moderately high-volume site from Apache to IIS6/Win2k3.
We're using mod_rewrite under Apache for a few URL redirects (simply,
'hardcoded' friendly urls) and need a replacement. I know that there's
a slew of choices -- googling that's pretty easy. I'm looking instead
for advice -- seems like

http://www.codeplex.com/IIRF/

is a good choice since its open source, decent license, solves
existing problems with other implementations, etc.

Any advice pro/con?

FWIW, moderate volume means ~1MBps 95% peak.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287202
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Fwd: IIS Rewriting options

2007-08-27 Thread John Paul Ashenfelter
On 8/27/07, Russ [EMAIL PROTECTED] wrote:
 John,

 Are you moving from Linux to Windows?

Nope. Windows to Windows (self-hosted to higher-end custom hosting).
The new hosting partner support involves less hassle if it's IIS/MSSQL
or Apache/MySQL. We're currently Apache/MSSQL on Windows and it's just
easier to move to IIS to avoid support problems down the road.

Although I've never used any of the
 IIS rewriting tools, just wanted to let you know that Apache runs quite
 happily on Windows as well.

Quite well indeed -- and I'm quite aware. I became an Apache on
Windows convert b/c of the lack of virtual hosting on MS PWS or
whatever it was called. Of course now I'm a Mac guy so it's a moot
point.

One Apache plus is that you've got access to cool things like
mod_rewrite and mod_proxy (especially the Apache 2.2 version). No, I'm
personally not thrilled about the switch, but it's *much* easier than
having the Apache/Linux support and the Windows/MSSQL support argue
about why there's a problem down the road.

FWIW, I got the IIFR open source rewrite ISAPI filter running with
*very* little effort using the same rule (minus the [PT,L] flags) as
in mod_rewrite. That's kinda' cool. (Means this probably is a good
solution for IIS/Rails ;)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: IIS Rewriting options

2007-08-27 Thread John Paul Ashenfelter
On 8/27/07, Michael Dinowitz [EMAIL PROTECTED] wrote:
 I've used this for clients as well as personally and it's solid. Pro
 is limited RegEx support. Con is limited RegEx support. This simply
 means you have to be a bit creative with your redirect code as well as
 some ColdFusion pages to deal with logic that the isapi can't. Things
 that require a DB for example.

Right now the rule is

RewriteRule ^/word$ /index.cfm?fuseaction=info.word

Nothing too sophisticated :) Thanks for the info to everyone.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287225
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Unit Testing Code Coverage

2007-08-21 Thread John Paul Ashenfelter
On 8/20/07, Rich [EMAIL PROTECTED] wrote:
 Is anyone aware of a code coverage tool for CF unit tests?  If not, how are
 the rest of you handling unit test coverage (if at all)?

I get this question a lot since I'm doing a lot of automation/testing
consulting in the CF world and the answer is no. With the size of the
market for code coverage in CF (quite small compared to Java, Ruby,
etc) it's unlikely to come from anywhere but a community effort.


 - Rich Kroll



 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286682
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: (ColdFusion 8) Payflowpro CFX error

2007-08-16 Thread John Paul Ashenfelter
I've been using it in development (eg not under heavy load) on my Mac
using CF8 Developer with no problems, though I did have to manually
add the com.allaire.cfx sitting in
{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/lib

As an aside, I did make sure I was running the latest version of the
PayFlowPro library, which was recompiled for CF7 a couple years ago
-- it's available through the PayPal Manager (downloads)

On 8/15/07, Michael Dinowitz [EMAIL PROTECTED] wrote:
 I was just told by someone here that the Payflowpro CFX threw an error on 
 ColdFusion 8 and he had to move back to 7. Has anyone else seen any problems 
 with this CFX on 8? Was there a solution the the problem?

 Thanks

 (and yes, I'm about to install it on a test server to see what happens myself)

 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286397
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFEclipse amp; Version Control?

2007-08-03 Thread John Paul Ashenfelter
There's a lot of plugins available for version control in Eclipse

http://www.eclipse.org/community/team.php

any major and/or commercial version control system should have a
provider. And if your provider doesn't, you're probably using the
wrong one :)

Basically, you should start by asking your vendor if it's commercial
or googling (or the above link) if your vc system is open source to
find the appropriate Eclipse plugin

On 8/2/07, Larry Lyons [EMAIL PROTECTED] wrote:
 I am sure people are using CFEclipse with SVN but has anyone else use
 any other VC software in conjunction with CFE?
 
 Just wondering how well others integrate with CFE.
 
 TIA!

 CVS integration is built into Eclipse and totally seamlesst. IMNSHO its a 
 better implementation of CVS than tortiseCVS.

 Otherwise there are plugins for other forms of source control. Subclipse 
 works very well, and there are a couple out there for VSS, but I know very 
 little about them.

 regards,
 larry

 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285368
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Using SOAP in the biz tier with CF on the VC

2007-08-01 Thread John Paul Ashenfelter
Folks,

I'm curious to hear about experiences using CF as the web layer for
SOA-oriented architectures. I'm looking at a project where there are
SOAP-based components that are used as the core business layer (let's
say they're a j2ee black box for these purposes) with applications
built using ColdFusion as well as some integrations of 3rd party
systems into the backend. Basically CF is a *consumer* of the objects
like any of the other integrations.

Thoughts? CF for the *backend* is definitely not in scope, but it
seems to me that CF as a frontend (using Fusebox for example) is a lot
easier than a full-fledged J2EE app using Struts/etc... Horror stories
and great experiences would both be appreciated.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285091
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cold Fusion and VMWare?

2007-07-26 Thread John Paul Ashenfelter
On 7/25/07, Dave Watts [EMAIL PROTECTED] wrote:
  We are testing to see if it is possible to run a Virtualized
  (VMWare) Version of a Cold Fusion application, which will be
  accessed by IP address.
  We have VMWare running on a test server and installed a
  virtualized version of the application and everything works.
  Sporadically, we get a Connection Reset by Peers error,
  that I have been unable to track down and resolve.
 
  We have looked at both the CF server and IIS logs and can't
  find any errors.
  It seems like we are getting a network error, but I am not
  looking in the right place to find the error.
 
  Has anyone ever used Cold Fusion with VMWare? Any ideas why
  we would sporadically get a connection error?

 Many people are running CF on VMware, even in production environments.
+1

I'm running VMWare Server for several clients in production (and in
dev/test), VMWare GSX2 in some existing installations, and VMWare
Fusion here on my mac :) CF doesn't care and doesn't know.

 This doesn't look like an error specific to VMware, but virtual servers can
 have the same sort of problems as physical servers. Connection reset by
 peer typically indicates that the client is no longer listening for a
 response, which may happen if the response takes too long to get to the
 client.
 +1 I see this sporadically in some Apache logs w/ CF.

 Are you using bridged networking, or NAT for your VMware server? I would
 expect there to be some performance overhead with NAT, although I haven't
 done any real testing to see if that's the case.

+1 I'd also check if you're using bridged networking that you're using
a static IP and not DHCP with a short lease

It's not your VMWare directly at least.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284618
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Model Glue - Fusebox - Mach II ...... Looking for Opinions

2007-07-23 Thread John Paul Ashenfelter
If everyone's worked with Fusebox, why not just pick Fusebox?

There's always a lot of concern over performance and frameworks --
bluntly, unless you're doing *phenomenal* transaction volume with very
tight time tolerances, the framework shouldn't be an issue. Scaling
out horizontally or vertically is how you'll typically handle scaling,
so the framework is a non-issue. And if it's that big a deal, you roll
your own that focuses on performance or you throw bigger hardware at
it until the problem disappears. If most of your application is
reporting, then the databases (and correspondingly disk) are going to
be the noticeable bottlenecks, not the parsing of the XML for a
framework file.

If you don't have time to play with them, then go with what your
developers know. You're not going to have detailed performance
information without spending time playing with them against your code.

If your developers are not very experienced in OO development, that's
another big plus for Fusebox. And with the declarative model of
Fusebox, porting an existing application over is fairly
straightforward since the top level fuses are already specified. You
could quickly implement a MVC-oriented container using Fusebox5, use
your existing CFINCLUDed code in the appropriate place (model in
model, controller in controller, etc) and you'd be Fuseboxed. Using
the something like MG or MachII has the additional overhead of really
getting familiar with OO, which might be too big an initial bite.

On 7/23/07, Jason Fill [EMAIL PROTECTED] wrote:
 I am looking for several opinions on all these frameworks and any others.  
 Currently we are trying to figure out which one(s) we need to focus on 
 evaluating so start a plan to port our current system into a framework.  Our 
 current system is basically a ton of cfincludes with the data access display 
 and business logic all wrapped together.  We would like to of course 
 standardize the way new parts of the application are built so all three 
 developers are writing virtually the same type code.  The application is HUGE 
 with a lot of reporting, I would say that virtually 70% of the application is 
 reporting.  Many of these reports are driven from one time use queries - 
 basically queries that cannot be reused in other places.

 One concern is that a framework might add too much overhead to the 
 application because of the use of XML files etc.  The only framework any of 
 the three has worked with is Fusebox(2 thru 5).

 It is acknowledged that we really should start using a framework but we just 
 don't know which one is going to scale the best for us and makes the most 
 sense.

 As a side note - we do not have time to really play with all the frameworks 
 to see which one we like the best - that just not possible.

 Thanks

 Jason

 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284368
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: MySQL for Windows compiled versions

2007-07-20 Thread John Paul Ashenfelter
On 7/20/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 18 Jul 2007, [EMAIL PROTECTED] wrote:
   Or just more to a freeier database like MySQL or PostgreSQL.
 
  Of course MySQL (which I'm a huge fan of) now effectively charges for
  the Windows version (or at least they're not compiling it)

 *Eh* ?
 http://dev.mysql.com/downloads/mysql/5.0.html#win32 looks pre-built to me.

In contrast to the MySQL Enterprise Server, which receives both
monthly rapid updates and quarterly service pack releases, there is
*no specific schedule* for when a new version of the MySQL Community
Server is released. While every bug fix that has been applied to the
Enterprise Server will also be available in the subsequent Community
Server release, there will be source-only releases in between full
(source and binary) Community builds. So while the latest published
community sources will always be available from the Source Downloads
Section, the binaries listed on this page may be from a previous
release. In any case, full binaries for all our supported operating
systems are and will remain conveniently available from this page.

Sure it is, but it's not always current. I've seen it take as long as
a month for the latest build to make it into precompiled format on
Windows. It's no worse than what Windows users have to suffer if they
want Apache with SSL :)

In both cases, there are folks in the community that fill the gap, but
its not quite as easy as make install, yum/apt/whatever, or sudo port
upgrade.

I should have been specific about my criticism being the speed of
tracking. It used to track great, now it's just OK without the
enterprise subscription (which is pretty awesome in and of itself).



 --
 Tom Chiverton

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284198
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: apache - iis gotchas?

2007-07-18 Thread John Paul Ashenfelter
On 7/18/07, Russ [EMAIL PROTECTED] wrote:
  -Original Message-
  From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 17, 2007 11:15 PM
  To: CF-Talk
  Subject: Re: apache - iis gotchas?
 
* get an IIS SSL cert instead of our Apache one (at least
that's what Verisign tells us)
  
   If Verisign is willing to reissue the cert without charging you, yes. If
   not, I suspect you can convert certificate formats easily enough with
   OpenSSL.
 
  FWIW, they'll do it for $100 (unless it's in the first 30 days). Or so
  they tell me today :)
 

 Isn't the godaddy cert only $20?

Something like that -- but lots of businesses (or at least this one)
wants Verisign. Period. At least they're not pushing for the extended
validation one that's $1495 and gives you a green bar in Vista or
whatever marketing nonsense.


 Russ




 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284013
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: managing multiple dev environments

2007-07-18 Thread John Paul Ashenfelter
On 7/18/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote:
  also pony up the $50/per head for MSSQL Developer edition

 Or just more to a freeier database like MySQL or PostgreSQL.

Of course MySQL (which I'm a huge fan of) now effectively charges for
the Windows version (or at least they're not compiling it) so you need
their Enterprise subscription, which is really cool, or the patience
to compile it under Windows.

And it's all a moot point if you've got multiple clients with MSSQL
databases -- you'll need a way to manage MSSQL on the developer's side
and that's MSSQL Dev Edition.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284014
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: managing multiple dev environments

2007-07-18 Thread John Paul Ashenfelter
On 7/18/07, Kris Jones [EMAIL PROTECTED] wrote:
 The data is quite volatile. The schema typically has some changes
 during each release cycle. We currently point at shared DBs, which I'm
 thinking is the direction we'll stick with. But we are talking about
 all of the suggestions mentioned here. I can see the benefit in having
 local DB as well--in fact this is how I've developed in the past, and
 understand how easily this scenario can break the app for other
 developers (who may not be in a position to update their local
 code-base for whatever reason).

What it seems to sound like is that the database differences need to
be managed somewhat like the code -- with the capability to
branch/merge/etc. There are ways to set that up, ranging from db
scripts to storing the appropriate version of the actual database (in
this case, a .BAK file perhaps) in the source control system. For
example, using SVN, you can define an external link from a particular
codebase to a particular branch or even revision of the database
repository/tree/branch and lock the two (code and data) together. Add
a generic osql load script to load the db into your local MSSQL and
you're set (though a naming convention probably helps keep running the
multiple versions in check)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284016
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFR compatibility between CF7 and CF8?

2007-07-18 Thread John Paul Ashenfelter
Folks,

I'm sure I'm just not looking in the right place in the beta docs for
CF8, but I'm curious if I can build reports in CF8 Report Builder (on
Windows, of course) and then run the resulting report successfully on
CF7.

Any advice?

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284019
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: apache - iis gotchas?

2007-07-18 Thread John Paul Ashenfelter
On 7/18/07, Russ [EMAIL PROTECTED] wrote:
  -Original Message-
  From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 18, 2007 1:54 PM
  To: CF-Talk
  Subject: Re: apache - iis gotchas?
 
  On 7/18/07, Russ [EMAIL PROTECTED] wrote:
-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 11:15 PM
To: CF-Talk
Subject: Re: apache - iis gotchas?
   
  * get an IIS SSL cert instead of our Apache one (at least
  that's what Verisign tells us)

 If Verisign is willing to reissue the cert without charging you,
  yes. If
 not, I suspect you can convert certificate formats easily enough
  with
 OpenSSL.
   
FWIW, they'll do it for $100 (unless it's in the first 30 days). Or so
they tell me today :)
   
  
   Isn't the godaddy cert only $20?
 
  Something like that -- but lots of businesses (or at least this one)
  wants Verisign. Period. At least they're not pushing for the extended
  validation one that's $1495 and gives you a green bar in Vista or
  whatever marketing nonsense.
 

 Godaddy has those for $500...


Right, but it's still not Verisign -- sometimes there's no choice. I
just generate the CSR :)

 Russ




 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284024
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


apache - iis gotchas?

2007-07-17 Thread John Paul Ashenfelter
Folks,

I've been using Apache for years now and I have a client making the
transition from Apache to IIS (don't ask, it doesn't matter why ;) So
I've got a couple of servers that are making the transition of Apache
(on Windows2003) to IIS (on Windows2003), more or less in place. I can
take one out the lineup to work on and test once we've got it knocked
out in the dev/staging area, but I'm still a little worried I'm
missing something since it's been a while

Any particular gotchas I need to worry about? There's some virtual
hosting going on, but everything else is pretty vanilla CF7/Standard.

I know I need to

* get an IIS SSL cert instead of our Apache one (at least that's what
Verisign tells us)
* run the connector script to get CF7 hooked into IIS

Anything else? The last time I seriously dealt with IIS/CF was
WinNT/CF5 ;) It seems like there's really not much I need to worry
about but thought I'd throw it out for discussion

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283900
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: managing multiple dev environments

2007-07-17 Thread John Paul Ashenfelter
On 7/17/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote:
  What are others doing to address similar problems?

 One named-based virtual host in the webserver for each client/option springs
 to mind.

I'd second that. The only other way is to only work on one
configuration at a time -- you need to either match number of
configurations to active versions or vice-versa.

Personally, I'd *definitely* have one version of the site and db for
each configuration as a virtual host on the integration server. I'd
also pony up the $50/per head for MSSQL Developer edition so each user
can have their own copy of the database(s) locally which avoids even
more problems (like changing schema based on development work by two
different people on the same base configuration).

Assuming you can automate deployment to the appropriate virtual server
(eg using Ant or something similar) then you're in good shape to have
the conversation shift more to X is broken on config1 but it's find
on config2 since both are live and running. Add some Selenium test
scripts and you're in business :)



 --
 Tom Chiverton

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283903
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: managing multiple dev environments

2007-07-17 Thread John Paul Ashenfelter
On 7/17/07, Kris Jones [EMAIL PROTECTED] wrote:
 Thanks so much Barney. We had written a tool to do cross-site updates
 for SQL integration, but it hasn't been proven-out yet, so it'll be
 good to see how your tool handles this issue. Will download and read
 included docs now!

 Tom  John, we do use virtual dirs in IIS for handling different
 clients in dev (across the same code-base). Where we have been coming
 up short, I think, is that we don't have as many dev DBs as configs
 that we need to run. It sounds like if we were doing that, the config
 issue would be a non-issue (the config is spec'd per client). Then we
 wouldn't be turning x-option on/off on any specific client.

 Tom: (never saw your post, but saw the reference in John's post. There
 may have more you said that I missed)

 As for running local DBs, not sure that is an option as our DB is
 large. That would mean regular downloads/restores on every dev
 station? This does beg the question of how we'll manage keeping our
 dev data in tune. It's time consuming with 1 or 2 DBs, but start
 talking 9 or 10, we're looking at a lot of time.

There's two pieces, right -- schema, and data. Developers need the
schema and enough data, whatever that means.I find the redgate
software tools are pretty spectacular as an aside for both
moving/syncing schema and data.


 I'd be interested in any good Ant references anyone can throw my way as well.

Pragmatic Project Automation with Ant is a good lite start.

You can also take a look at the DBUnit task for Ant which will help
you reset your database(s)... :)


 Thanks much,
 Kris

 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283927
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: apache - iis gotchas?

2007-07-17 Thread John Paul Ashenfelter
  * get an IIS SSL cert instead of our Apache one (at least
  that's what Verisign tells us)

 If Verisign is willing to reissue the cert without charging you, yes. If
 not, I suspect you can convert certificate formats easily enough with
 OpenSSL.

FWIW, they'll do it for $100 (unless it's in the first 30 days). Or so
they tell me today :)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Session Variable Types

2007-07-17 Thread John Paul Ashenfelter
On 7/17/07, Raymond Camden [EMAIL PROTECTED] wrote:
 It depends. :) I mean seriously - consider your example of a session
 variable for a hit counter. If you don't lock it, I could in theory
 open a bunch of tabs and make that # inaccurate. So, um, who cares?
 I've made my own hit count high. Unless you are running a contest, it
 doesn't matter.

 So my real point is - if the # isn't critical (like you are working
 for NASA), then I wouldn't worry about the locking.

Or if it's *really* worth reporting, get it from a reliable source.
For example, maybe from the webserver log, which is a lot less
ambigious than a session/application/etc-based counter. Let's not even
get into dealing with clusters :)

 On 7/17/07, Peterson, Chris [EMAIL PROTECTED] wrote:
  Eek, I don't know that I agree with you on that one Ray.  If you really
  don't care if the viewed page stats is accurate, why bother coding it at
  all?  Maybe I'm just bitter, because I do internal reporting and have to
  prove my numbers to the nth degree, but I would never put out a number I
  thought wouldn't be 100% accurate.
 
  Just my $.02!
 
 
 
  Chris Peterson
  Gainey IT
  Adobe Certified Advanced Coldfusion Developer
  -Original Message-
  From: Raymond Camden
  Sent: Tuesday, July 17, 2007 12:50 PM
  To: CF-Talk
  Subject: Re: Session Variable Types
 
  On 7/17/07, Tom Chiverton [EMAIL PROTECTED] wrote:
   On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote:
Although he said he'd heard you didn't need to lock j2ee session
  variables.
  
   Oh dear...
   cfset session.inaccurateCountOfPagesViewed =
   session.inaccurateCountOfPagesViewed + 1 /
   :-)
 
  Of course, one could argue that a stat like that may not be important
  enough for a lock. If you were simply reporting your pages viewed then
  you could can probably just not worry about it.
 
  --
  
  ===
  Raymond Camden, Camden Media
 
  Email: [EMAIL PROTECTED]
  Blog  : ray.camdenfamily.com
  AOL IM : cfjedimaster
 
 

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283958
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ant Logging

2007-07-10 Thread John Paul Ashenfelter
ant -v gives a lot of information while ant is running (eg every
action performed by the SVN task instead of [svn] checkout
started/stopped). If you're running automatically you can pipe that to
a file or use one of the listeners to write more sophisticated logs

On 7/10/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
 Quick questions for those in the know. We're beginning to use Ant for
 our deployment process. I'm trying to figure out how to get a log of the
 file system changes that Ant performs during a sync operation (or a log
 of any operation for that matter). Any suggestions? Pointers in the
 right direction?

 --
 Steve 'Cutter' Blades
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://blog.cutterscrossing.com

 The best way to predict the future is to help create it

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283388
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: Subversion Revisions

2007-06-22 Thread John Paul Ashenfelter
On 6/21/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
 OK, quick OT. Moving to using Subversion in our dev environment (yeah!),
 but hitting a few stumbling blocks.

 I can 'export' a clean version of my 'HEAD', or any revision. But, I
 have a massive (3,000+ template) code base. Not every 'commit' to the
 system is tagged, or part of a branch.

I reread your post and noticed this -- not sure what you mean about
not every commit is tagged...  tags are generally used to bundle up a
bunch of changes to move it to qa/integration/uat/whatever. it's a
snapshot of the repository status at a particular time you've pasted a
label onto. So as you're working in trunk, you decide this is it,
use svn copy to tag it as REL-1.0 and now you've got a reliable point
to pull the release from, even while development is continuing in
trunk.

And as far as branches -- there shouldn't be all that many branches.
Folks using SVN typically use branches for feature changes, releases,
or in some cases individual developers. The most basic scenario is
that everyone's working in trunk, you get to a point where it's ready
to move to QA or production or whatever, you tag it, and then you use
that tag for deploying.

3000 templates at @ 10kb each (generously large for CF imho) is still
not all that much to deploy...  30mb uploads are quite feasible across
a DSL modem let alone T1. I routinely deploy an 8gb application
(mostly media content) using export from svn across a T1 line (unless
it's an emergency - - then we push just the cf templates (assuming a
cf prob) or run a USB drive the 30m out to the colo).

How (or is it even possible) do I
 pull ONLY the modified files from the repository? I have SvnAnt
 installed within Eclipse, to utilize Ant with Subversion for creating
 builds and deployments, but I'm still struggling to get my head around
 all of this.

You *could* create a patchfile, which contains all of the differences
between two versions of something in the repository (eg a file,
directory, or entire tree) and then apply the patchfile directly to
your previous application to update it -- but that's a pretty unusual
approach to build management that will probably bite you in the end.

My general experience is that exports are the best way to go, though
in some cases using svn checkouts on the *integration* server to
manage the initial build works fine. Even in that case, the QA/UAT
and definitely production builds are typically full exports.

 --
 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer
 _
 http://blog.cutterscrossing.com

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281898
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


OT: Small (tech) conference location in Rome?

2007-06-19 Thread John Paul Ashenfelter
Folks,

Was wondering if anyone on the list has experience with a small
conference center/hotel in Rome for a training-sized event.
Suggestions would be appreciated.
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281523
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Shortlist of High-End (CF) Hosts?

2007-06-07 Thread John Paul Ashenfelter
On 6/6/07, Jochem van Dieten [EMAIL PROTECTED] wrote:
 John Paul Ashenfelter wrote:
 
  I'm curious what comparable hosts folks would suggest -- here's the
  list of what needs to be supported and leasable from the hardware side
 
  * firewalls in a failover configuration (eg a pair of Cisco PIX 515s)
  * load-balancers in a failover configuration (ed pair of Cisco local
  directors -- BigIP is probably overkill)
  * servers comparable to the Dell 1u, 2u, and 4u rackmount series
  * active sysadmin support

 Do you have geographical requirements / restrictions?

All of the customer base is US, so I'd think that it needs to be a
US-based host. Once the content is certified for their foreign
partners (only ones on the list so far are UK and China) then we'd
need localized hosts there as well -- but not holding my breath on
that one.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280393
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Shortlist of High-End (CF) Hosts?

2007-06-06 Thread John Paul Ashenfelter
Folks,

I've got a client getting ready to move a major CF/MSSQL site from a
local colocation facility to a completely outsourced solution. I've
had previous experience with Rackspace and am *very* happy with them
as a choice, but I need to get a couple of competitive bids to ease
the mind of everyone involved in writing checks.

I'm curious what comparable hosts folks would suggest -- here's the
list of what needs to be supported and leasable from the hardware side

* firewalls in a failover configuration (eg a pair of Cisco PIX 515s)
* load-balancers in a failover configuration (ed pair of Cisco local
directors -- BigIP is probably overkill)
* servers comparable to the Dell 1u, 2u, and 4u rackmount series
* active sysadmin support

While a little ColdFusion expertise on the side of the host would be
nice, it's not required since that's the one thing we *do* have in
house. The goal is to replace the colo, sysadmin, and hardware and
turn that into a single monthly check. We'll also be rolling out some
Linux-based Rails servers as things go forward, so a one-trick pony
ISP focusing on CF isn't the optimal choice.

Oh, as far as volume goes, it's less than 1MBbs or so at 95% peak and
gets about 20k uniques/month so it's not a super-high volume site,
we've just got a requirement for reliability (thus the failover,
load-balancing, and active support)

Suggestions other than Rackspace? I've also worked with ServerVault in
the past when *security* was the driver (eg they had 24 hours or
something crazy of air supply for the staff...) but don't need that
here.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280238
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Shortlist of High-End (CF) Hosts?

2007-06-06 Thread John Paul Ashenfelter
On 6/6/07, Mik Muller [EMAIL PROTECTED] wrote:
 I always though having cots in the rack room was a buzz-term.  Having air 
 supply on hand beats that hands down.  Do they walk around with it on their 
 backs?

Nope -- it's a separate supply to parts of the building (so they
said). They do have security, however, walking around with guns.

IMHO, I can't image that my apps are really relevant if hosts in DC
need an air supply or to fire weapons ;)


 Mik


 Suggestions other than Rackspace? I've also worked with ServerVault in
 the past when *security* was the driver (eg they had 24 hours or
 something crazy of air supply for the staff...) but don't need that
 here.




 
 Michael Muller
 Admin, MontagueMA.net Website
 work (413) 863-0030
 cell (413) 320-5336
 skype: michaelBmuller
 http://www.MontagueMA.net

 Eschew Obfuscation




 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280257
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Run PHP code inline on a Coldfusion page

2007-06-05 Thread John Paul Ashenfelter
On 6/5/07, Doug Bezona [EMAIL PROTECTED] wrote:
 
 
  C. This brings us back to the question... what makes this a good idea? Why
  overly complicate something?



 While it may not be common, there are a lot of large organizations out there
 with multiple applications in multiple languages. Having a tool that can
 integrate these applications can be very powerful. Getting a couple of
 developers up to speed on CF to write some glue code to get, say a .NET
 app and a PHP app talking to one another may make more sense than completely
 porting applications to another language.

 This isn't just an abstract scenario - this is a potential solution to a
 real world situation I was in a year or so ago - two large (50+) development
 teams combined - one team was .NET, one was Java, and they wanted to create
 a system that could leverage apps from both teams.

 The solution, at the time, was to choose .NET as the standard, and port
 all of the Java code. Ick. Now with CF8's .NET support, one or two
 developers could simply have created the bridge app, and the rest of the
 developers could have continued moving forward with either Java or .NET or
 both.

Though one could argue that today, the right solution would be to put
web service (SOAP, REST, whatever) around the various services
produced by each group in a SOA architecture. In that scenario,
ColdFusion is not really needed to provide the bridge. Sharing objects
directly is useful in some situations; sharing data though IMHO seems
the more necessary integration challenge.
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280203
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Run PHP code inline on a Coldfusion page

2007-06-05 Thread John Paul Ashenfelter
On 6/5/07, Damien McKenna [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Dave Watts [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 04, 2007 6:53 PM
  Subject: RE: Run PHP code inline on a Coldfusion page
 
  but I just don't see much value for PHP integration.

 You just *know* there are people out there who think running Drupal from
 within ColdFusion would be a good idea.  shudders

Clearly those people have never tried to develop with Drupal :)
That'll fix them.


 Damien McKenna
 Web Developer


-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280098
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Run PHP code inline on a Coldfusion page

2007-06-05 Thread John Paul Ashenfelter
On 6/5/07, Damien McKenna [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Rick Mason [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 04, 2007 11:30 PM
  Subject: Re: Run PHP code inline on a Coldfusion page
 
  A.  You're a hosting company and it's a lot simpler to all of
  sudden be offering PHP and Ruby hosting without having to install
  the extra bits on the server.  You have less maintenance and your
  clients programs run a bit faster than most other hosts.

 I would say this would not be the case.  You're still going to have
 maintenance issues because you've got extra software installed.  From
 what I've seen you also are not going to be able to automagically run
 existing PHP, Ruby, etc software out of the box, there would be a great
 deal of modification required to get the files to parse, BICBW.


I have to agree this is little crazy -- how does allowing folks to
combine PHP and CF make an ISP's job *easier*? Enabling php is as
simple as adding mod_php to apache or IIS. That was easy. But
installing all this stuff on top of ColdFusion (plus buying a
ColdFusion license) and caching all the PHP into application scope on
a shared server.

Yeah -- that's easy ;) Easy to kill a server. I think about the shared
hosting issues that TextDrive has on their LAMP+Ruby boxes and they
*know* what they're doing. Adding CF to that mix and running the LAMP
stuff through there argh. Move me to dedicated.. Wait a sec --
that must be the goal of their evil plan -- moving folks off shared.

Seriously though, other than session integration with PHP, or some
edge case of a tool that's simply not available for CF (eg you just
*have* to run Sparklines from Ruby) it seems like a great feature for
integration of existing sites and not much more. It's just like using
Java for integrating with CORBA in CF -- not something I'm doing
often, but glad to know I can.

Sun's mantra has always been the answer is Java, what's the
question? and making it *the* cross-platform JRE for all the
web-oriented scripting languages is huge for them and their Solaris
and hardware sales. Running CF, Python (using Jython), Ruby (using
JRuby) and PHP (using this weird bridge and eventually Zend's native
Java scripting compliant version) all on a Java server makes
deployment and server management folks pretty happy IMHO.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280099
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Run PHP code inline on a Coldfusion page

2007-06-04 Thread John Paul Ashenfelter
On 6/4/07, Dave Watts [EMAIL PROTECTED] wrote:
  If CF can leverage existing apps written in other languages
  even to a modest degree, this greatly increases the value of
  ColdFusion.

 Since PHP, Ruby, etc are free, the only possible value can come from
 integration between existing apps. I can see that value with Java, where I
 can use CF as essentially a replacement for a JSP view, but I just don't see
 much value for PHP integration.

Except maybe integrating session data between sites that use multiple
languages. I've been asked before to do things like mating a Ruby on
Rails e-commerce application with a Drupal community site. Being able
to share the session data directly seems (at least from THIS side of
the project) a lot easier than trying to wrap each one as a service.

Though IMHO, there are probably better ways to share common session
data (typically login) using a single sign-on library like OpenID or
the like.

 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!

 This email has been processed by SmoothZap - www.smoothwall.net


 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280074
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


MySQL dead too? THE SKY IS FALLING -- oh wait, just a *another* set of lame articles

2007-05-26 Thread John Paul Ashenfelter
Since I've been continuing the whole CF is dead thing (for the record,
idiotic article), here's one that will get bigger play since it was on
Slashdot

http://developers.slashdot.org/article.pl?sid=07/05/25/205255

8 Reasons Not to Use MySQL
http://www.cio.com/article/113111/Eight_Sound_Reasons_Not_to_Use_MySQL/4

oh wait
http://www.cio.com/article/113110/Five_Compelling_Reasons_to_Use_MySQL/1

What a pair of poorly researched and argued articles -- both for and against.

Something must be going around. Time to check the books sales and TIOBE :)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279329
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Tiobe, O'Reilly Radar, and niches [WAS Re: ComputerWorld decl ares CF dead]

2007-05-26 Thread John Paul Ashenfelter
On 5/25/07, James Wolfe [EMAIL PROTECTED] wrote:
  No offense taken. I haven't bought a CF book in wow, nearly a decade
  since none of them are truly good. Like I said, the problem is the
  market is too small for a big publisher to take a risk. Breakeven on
  a
  book for an O'Reilly or Wiley is between 6000 and 8000 copies
  depending on the size/price, and all the investment is upfront.

 This is a catch-22.

 Assuming you are correct (a large if), then the onus clearly falls on Adobe 
 to publish a quality reference book. If no one else can, and they decide not 
 to, then they choose actively to watch CF crumble and eventually fail.

Having written 3 books, been involved in reviewing them for 5
publishers, contributed to several more, and been through the proposal
process with O'Reilly a number of times and knowing a number of other
authors in the Java and database worlds, I can tell you with some
authority that 6-8 thousand books is the breakeven ballpark for
medium-sized tech books.

 Even if you are wrong and anyone could make money from a book, I don't know 
 why Adobe wouldn't publish one. I can't imagine that the cost of producing 
 and publishing a quality book would be more than a drop in the bucket next to 
 the development cost of Scorpio.

They have -- Ben's book. And they make a *ton* of money from it since
there's effectively no competition. Little incentive for them to
compete with themselves on a general book and little incentive to try
and write a higher-end book for a smaller market (eg higher end CF
developers). Java one gets 20-30k people; CFUnited gets something like
1500 (MAX is hard to count since it cuts across Flex, Flash, etc) so
assuming 10% of those folks buy a  given book it's easy to look at the
math.

If it was good business, they'd do it. That's all it is -- business.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279330
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ComputerWorld declares CF dead

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Be sure and ask why VB6 and ASP classic are not listed ;-)

While I'm no huge fan of either, if you look at objective metrics like
Tiobe http://www.tiobe.com/tpci.htm (VB6 #5 vs CF #32) or the latest
info from Tim O'Reilly's book sales information
http://radar.oreilly.com/archives/2007/05/state_of_the_co_10.html (10%
market share among the major language sellers) you'll see that CF is
by those two metrics not very popular.

It's still a poorly researched, sensational, and idiotic article in
ComputerWolrd (eg using the quote from an AS/400 shop to talk about
the PC network being dead? An *AS/400* shop?) but I think we're all
fooling ourselves if we think ColdFusion is poised for huge growth.

The other interesting thing to take away from the O'Reilly article is
the growth of *Actionscript* (I'll confirm w/ my buddy there that they
include Flex there) but that's pretty solidly growing which is good
for Adobe and good for our community. The Flex session/BOF at
RailsConf in Portland last week overflowed into the hall which was
interesting to say the least.

 -Original Message-
 From: Andrew Scott [mailto:[EMAIL PROTECTED]
 Sent: 25 May 2007 09:50
 To: CF-Talk
 Subject: Re: ComputerWorld declares CF dead

 I suggest if you really want to wake these people up send an email to:


 [EMAIL PROTECTED] vice president/editor in chief

 Then maybe stupid stories will be edited correctly




 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279220
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Tiobe, O'Reilly Radar, and niches [WAS Re: ComputerWorld declares CF dead]

2007-05-25 Thread John Paul Ashenfelter
 and they all have a market.  CF, while probably more
popular than anything in that short list, is a niche. Nothing wrong
with filling your niche well and plenty of people can make a living
doing it. I've at times worked with things like Cache (a
object-oriented database that's big in healthcare) and folks like
Gemstone make a spectacular amount of money in their Smalltalk niche.
And frankly the Smalltalk guys are just as likely to rapidly defend
the glory of Smalltalk :) But it's a niche. Not dead -- a niche.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279237
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: How do you stay up on blogs?

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, Sean Corfield [EMAIL PROTECTED] wrote:
 On 5/24/07, Aaron Roberson [EMAIL PROTECTED] wrote:
  After a conversation I had with Sean Corfield the other day and being
  asked me, Don't you read my blog? and I had to admit that I hadn't
  in a long while, I starting thinking about how much I am missing by
  not having a good system in place for reading RSS feeds.

 I use NetNewsWire Pro ($25) on Mac which synchronizes with NewsGator
 online (I think FeedDemon does this too?).

FeedDemon syncs with NewsGator as well. Newsgator built web and
Outlook clients for RSS aggregation and then bought the best of breed
on PC (FeedDemon) and Mac (NetNewsWire). I've used both and FeedDemon
is one of three apps that I still run under Parallels on my Mac b/c I
just can't live without it. NetNewsWire Pro was pretty hot too, and
both have new versions out/beta but between the two clients and the
online access it's hard to beat them.


 I have 193 individual blog feeds in NNW - I don't subscribe to
 aggregators because I like to be able to view an individual blog's
 posts. I have feeds grouped into about a dozen broad categories with a
 few uncategorized stragglers. Some groups I just briefly skim
 headlines, others I pay more attention to. Some of the stragglers are
 important feeds (like BART service advisories!). I check feeds about
 twice a days, flagging interesting sounding articles for when I have a
 bit more time. I go through flagged items every couple of days.

I do a similar thing. FeedDemon also lets you set up searches and
updates those everytime the feeds update, so you can search for
something like Fusebox and all posts relating to that word get
stored in the Search like it's a separate feed (basically it's a
mini-aggregator using the search terms).

 To be fair, one thing in my favor is that I'm a speed reader with a
 semi-eidetic memory so I'm able to just see interesting phrases when
 I glance over a page. Even so, there are techniques that everyone can
 learn to improve there reading speed and observation skills which help
 with information management...

I also find that over time, I know enough from the titles from a lot
of my regular feeds whether it's going to be useful. Jeremy Zawodny
has great info on MySQL and Y!, but a lot also about flying so I know
now how to mentally filter it  -- just like Sean and that stuff about
cats ;)

 --
 Sean A Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood

 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279238
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ComputerWorld, CF, and reality...

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
 (Title changed to protect the search engines;)
 I also agree that someone doesn't have an understanding of the
 ColdFusion job market. I recently had updated my resume on some of the
 job sites, and received literally hundreds of opportunities:

 http://blog.cutterscrossing.com/index.cfm/2007/4/17/The-Current-ColdFusion-Job-Market

I have a pretty good idea of the mid-Atlantic region, having dealt
with finding/hiring/vetting CF folks for a couple of clients over the
past two years. I agree, it's hard to find a good one so we responded
to just about anyone who sent in a resume with CF on it. The
percentage of resumes than were worth a call was barely 20% and the
number of qualified candidates was more like 5%. If I were a
recruiter, I'd desperately contact any new person with CF on their
resume to fill the pool of open slots.

Personally, I think there's a pool of open CF jobs that's bigger than
the qualified candidates, so from that perspective it's a programmer's
market which is good for any of us with ColdFusion skills. But from a
more absolute perspective, as far as total number of job postings
(Tiobe for instance is a proxy for that) go, there's a fairly small
pool of CF jobs on the *absolute* scale.

Of course there was a very small number of jobs for Ruby programmers a
year ago :)

At least there's no doubting the passion of the ColdFusion community :)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279240
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Tiobe, O'Reilly Radar, and niches [WAS Re: ComputerWorld decl ares CF dead]

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, James Wolfe [EMAIL PROTECTED] wrote:
  Having written a few books (including ColdFusion ones) I'd
  suggest that the reason you don't see the ColdFusion books is
  that there's not a market for them.

 No offense to the books that you or Ben Forta have written, but I'm in the 
 market for a good CF book. I just havent found even one good reference book 
 written on MX7.

No offense taken. I haven't bought a CF book in wow, nearly a decade
since none of them are truly good. Like I said, the problem is the
market is too small for a big publisher to take a risk. Breakeven on a
book for an O'Reilly or Wiley is between 6000 and 8000 copies
depending on the size/price, and all the investment is upfront.

And of course you have to find an author who knows the space AND is
willing to writing the book, which in my experience pays somewhere
between minimum wage and spare change in the hourly department :)

Then again if you go the self-publish route, you end up with marketing
problems since BN/Borders/etc won't give you space and you're stuck
competing and marketing on your own. That's a good thing about the CF
list -- you've got a ready access to the faithful to market your book.
But it's a small market. For arguments sake, Rails-Talk has just over
10k subscribers -- and the PragProgrammers have laughed all the way to
the bank on that one.

I think the good folks at HOF have managed to thread the needle by
providing good content by good authors in a timely manner for a
reasonable price. But if more folks paid for the quarterly, they can
pay the authors better and the articles get better and the cycle
continues upwards. That's probably the best hope for anyone that's not
a rank amateur at CF. That and the conferences like cf.Objective and
CFUnited.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279288
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Tiobe, O'Reilly Radar, and niches [WAS Re: ComputerWorld decl ares CF dead]

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, Dave Watts [EMAIL PROTECTED] wrote:
   Of course it is! It always has been. It's good for exactly
   one thing - developing web applications.
 
  I'm going to take issue with that because pretty much all of
  the CF projects I've been involved with for the last few
  years have been middleware: web services, scheduled tasks and
  event gateways with hardly ever an actual web UI (beyond some
  minimal admin console). I suspect there's much more of that
  going on, hidden inside corporate firewalls, than we might
  imagine...

 I submit to you that (a) web services and other middleware are an integral
 part of web applications, and (b) you are not representative of the typical
 CF programmer, and those projects are not representative of the typical CF
 project.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

I'd further submit that there's a little of eating your own dogfood
when choosing software to build your corporate middleware when you're
a vendor of software that enables corporate middleware...

Like .NET was an option :)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279290
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Absolutely amazing article - who the hell writes this stuff?

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, Dave Watts [EMAIL PROTECTED] wrote:
  But you'd never see an OS written in PHP or Ruby either. That
  argument doesn't hold water.

 I don't think PHP would be a good choice for teaching basic programming,
 either. Ruby would be suitable for that, on the other hand.

For instance, http://www.pragmaticprogrammer.com/titles/fr_ltp/index.html
(Learning to Program, by Chris Pine, which happens to teach
programming using Ruby)

Heck, MIT uses Scheme http://www-swiss.ai.mit.edu/projects/scheme/ to
teach programming, right? And if memory serves, in many(?) European
schools they use OCaml to teaching. Pascal used to be the one back in
my day, but I'm sure by now none of you care much about what I think
about programming :)

 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!

 This email has been processed by SmoothZap - www.smoothwall.net


 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279302
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Tiobe, O'Reilly Radar, and niches [WAS Re: ComputerWorld decl ares CF dead]

2007-05-25 Thread John Paul Ashenfelter
On 5/25/07, Michael Dinowitz [EMAIL PROTECTED] wrote:
 All I can suggest is the Fusion Authority Quarterly Update. Issue 1 was all 
 of the CF 7 features you have not been using but should (like 
 application.cfc). Issue 2 was all CF-OOP and Frameworks. Issue 3 just came 
 out dealing with  business issues such as How to Avoid Unpaid Consulting, 
 Deconstructing the Consulting Contact and Making Google Pay.

That's an excellent point -- the hybrid book/mag format the HOF has
gone to is pretty much the only reference, other than Jeff Peter's
books (which are only for Fusebox folks) that are anywhere near timely
and useful

 The goal of the FAQU is to have up-to-date information that the community 
 needs on their bookshelf. And we're the only CF journal in print as CFDJ has 
 moved to PDF only. :)

CFDJ has always had one major problem in that they don't pay authors
-- O'Reilly pays in the $300-500 range and IBM alphaWorks pays more on
the order of $1500 for a 2000 word article for *online* distribution.
I think that probably says something about the market too.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279299
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Tiobe, O'Reilly Radar, and niches [WAS Re: ComputerWorld decl ares CF dead]

2007-05-25 Thread John Paul Ashenfelter
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279295
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: An OO Too Far?

2007-05-23 Thread John Paul Ashenfelter
 I'm hoping to answer a bit of an old age question that I've been toiling
 with for time with reference to OO methods and how deeply they should be
 applied. I'm going to take a reasonably simple examples and try and get your
 thoughts on the best way to achieve this. For my example I'm thinking about
 an extension to my user authentication system, which will allow me to store
 basic details on what users on the system are currently doing.

They should be applied where you have objects :)

 Now in my old application which was not OO I achieved this by creating an
 array in the application scope, this then help a bunch of user_id's, when a
 users session was created it placed them into this array as a 'guest' and
 when the session ended I would remove them from the array, nice and simple,
 but not OO.

 So if I were to write this in an OO fashion would I replace my simple array
 with an object? One of who's properties would be the array? And then supply
 myself with a few new functions, like add() remove() changeStatus() and some
 more group functions like getAll() countGuests() and things like this. I'm
 just wondering if this is all overkill? Or is this the normal way to achieve
 something like this in an OO app design?

So it sounds like you've got a single instance of this container that
holds userIds? What would you call that object -- the application? And
are there other methods than simple get/set?

It sounds like you've got a global variable -- object or not, it will
end up having to be a singleton. Frankly, that's more work for an
object as opposed to a global array but that's a judgement call. The
things that go *in* that array sound far more like objects, but you're
only really storing a reference to them now so making them objects
kind of balloons things for no good reason IMHO.

 I'd be interested to hear your thoughts on this kind of thing, I'm sure
 you've all come across similar tasks where you have a simple working model
 and wonder if you really need to go the whole hog of wrapping it in a load
 of object code.

Seems to me you get basically no advantage and actually increase the
complexity of the app by making this OO unless you've got an
abstraction that makes more sense -- objects are a way to package
*behavior* with data or v-v, so making a object just to hold data in
global scope seems like it's overkill. Unless of course, you've got
something like an ApplicationManager object that has more interesting
behavior like .showActiveUsers() and .showExpiringUsers() and
..killUser() and the like -- *that* getting into object territory.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278983
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: CF/Apache Config

2007-05-23 Thread John Paul Ashenfelter
On 5/23/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:

 Our issue is in part of the Apache config. As in our production
 environment, the database server and media server are remote entities.
 In production we connect to our media through UNC pathing, with virtual
 directory mappings in IIS. In our localized scenario, it seems like we
 are supposed to create virtual directories via 'Alias's. Although I have
 configured the Alias declarations within the config, and the server
 starts without error, I cannot get an 'index' listing of any of these
 directories, nor pull up any content. It always gives me a 404 Not
 Found error. I have tried putting the Aliases at the root and the site
 level, without luck in either situation. The rest of the site's contents
 are fine (stylesheets, base templates, etc.), it is only content from
 these virtual Aliases. An example of the Alias declaration is below (for
 future reference, I have tried this with the slashes in the other
 direction, two beginning slashes instead of four, with and without
 quotation marks, and using a mapped drive letter, all without success)

I found this blog post summed it up http://abelleba.metacarpus.com/?p=4

There's two common probs -- one is the user Apache runs as, which
needs to be *not* SYSTEM and have the appropriate persmissions, which
it sounds like you do. The other common problem I've seen is that
Apache can't find the server by name thanks to NetBIOS/whatever is
running under the hood. I'd start by trying to UNC by IP address or by
putting the name/ip combo in the local HOSTS file.

 #Alias for /Images
 Alias /Images [myremoteserv]\Images
 Directory [myremoteserv]\Images
 Options All
 AllowOverride All
 Order allow,deny
 Allow from all
 /Directory

 The Apache server is set to run as a user who does have access rights to
 the remote UNC path (verified). I'm just not getting anything. (Apache
 2.0.59) Any help resolving this would be greatly appreciated.

 --
 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer
 _
 http://blog.cutterscrossing.com

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279010
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Project Time Tracking Software?

2007-05-22 Thread John Paul Ashenfelter
On 5/22/07, Aaron Roberson [EMAIL PROTECTED] wrote:
 Does anyone know of a good project time management application that
 would be good for consulting jobs? I am thinking of something that has
 a stop watch you can click to start and stop and automatically
 calculate expenses incurred. It would be nice if it had invoicing
 capabilities as well.


You're going to get a lot of options -- I certainly know since I've
done this hunt for my business and for several clients with different
requirements.

Personally, I go for web-based which removes the impediment of
operating system and installation but adds the problem of having to be
online.

For time-tracking, there's both Harvest (harvestapp.com) and Tick
(tickspot.com). They've got online plus widgets for OSX, google/y!. I
think both hook into BlinkSale which is an online invoicing tool. And
both hook into BaseCamp. Of course that whole stack adds up to a fair
bit of monthly cash (at least $30+/mo for any real number of projects)
As an aside, I really liked Harvest out of that bunch -- and blinksale
worked great as an integrated package.

I personally chose Freshbooks (signup here!
https://transitionpoint.freshbooks.com/signup/) which has
timetracking, invoicing (mail or email including automatic recurring),
payment gateway integration, and basic trouble-ticket and filesharing
tools. The cheapest paid account is $14/mo for unlimited projects and
25 clients which seems to work really well. This gets more expensive
as you add staff since it's got a per-login charge for staff, but for
a solo shop it's great. My QuickBooks integration consists of manually
putting in 1line invoices that duplicate the total of the invoice so
everything works for my accounting -- though it looks like they'll be
adding that soon enough. As an aside, it also integrates into Basecamp
and can track time against basecamp projects/todo lists.

I *had* used QuickBooks Timer for years, which is an awful little tool
(written in VB3 it seems, still 16bit, Win-only, locks occasionally
requiring a reboot to turn off the beep/screech) but integrated really
well into Quickbooks for invoicing. The once/month 15m it takes to
generate the dozen or so invoices in QB that I've already sent out is
no big sacrifice in comparison, especially now that I'm on a Mac.

 I used to have a similar app on an old machine of mine but it has
 since fried (literally went up in smoke) and I can't remember what it
 was called or Google it.

 Thank for your suggestions,
 Aaron

 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278862
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Project Time Tracking Software?

2007-05-22 Thread John Paul Ashenfelter
On 5/22/07, Andrew Scott [EMAIL PROTECTED] wrote:
 No.

 That site sucks, we use it and its caused nothing but headaches for
 developers and admin staff.

Not to mention the fact that it's not open sourced but it's not been
monetized into a biz so as long as the guy leaves it running,
you're safe. Not what I'd trust my business to IMHO.



 On 5/23/07, Jim Wright [EMAIL PROTECTED] wrote:
 
  On 5/22/07, Aaron Roberson [EMAIL PROTECTED] wrote:
   Does anyone know of a good project time management application that
   would be good for consulting jobs? I am thinking of something that has
   a stop watch you can click to start and stop and automatically
   calculate expenses incurred. It would be nice if it had invoicing
   capabilities as well.
  
 
  While not a full-fledged time management app, this is a nice app for
  time tracking
  http://www.slimtimer.com/
 
 

 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278914
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache with Vhosts, SSL, and CF

2007-05-16 Thread John Paul Ashenfelter
On 5/16/07, Hatem Jaber [EMAIL PROTECTED] wrote:
 Everywhere I read they say that https and named virtual hosts are
 impossible.

You can use named virtual hosts, but you can only use one
*certificate* on the server, so practically speaking all of the other
virtual hosts get a certificate mismatch which throws up a scary
message to the user (though my understanding is that if the hosts are
all in the same domain, you can use a wildcard certificate to help,
but I've never tried)

I have 2 IP's assigned to my production server, I am only using
 one at the moment. Would this make things simpler with the install of a
 secure apache for just that one IP?

You can get the same effect by binding the virtual host to a
particular IP -- instead of *:443 in the config you can use
1.2.3.4:443. I'd personally just use one Apache instance to make
things easy unless there's other reasons to separate the instances
other than SSL

The only practical problem you should get from installing the
certificate on the server is that some users of the other site will
potentially get the cert-mismatch if they go to the site using
https:// for some reason. Here's what I mean, assuming you've got a
SSL cert for www.securesite.com

http://www.securesite.com = no prob
https://www.securesite.com = no prob
http://www.insecuresite.com = no prob
https://www.insecuresite.com = popup that the certificate names mismatch

This is assuming you've got an apache instance listening like

Listen 80
Listen 443

And virtual hosts that are something like

VirtualHost *:*
Servername www.securesite.com
/VirtualHost

VirtualHost *:*
Servername www.insecuresite.com
/VirtualHost

You can just stop listening on the insecure site with

VirtualHost *:80
Servername www.insecuresite.com
/VirtualHost

which gives folks a site is unavailable type message.



 - Original Message -
 From: Damien McKenna [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Wednesday, May 16, 2007 1:22 PM
 Subject: RE: Apache with Vhosts, SSL, and CF


  -Original Message-
  From: Hatem Jaber [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, May 16, 2007 1:13 PM
  Subject: Re: Apache with Vhosts, SSL, and CF
 
  http://hunter.campbus.com/
  That was very popular site with binaries ready to go, i used the
  Apache_2.0.59-Openssl_0.9.8d-Win32.zip
 
  I got the ones from apachelounge.com as they're more current.
 
  I am testing on XP Pro, will be implementing on the live
  server which is Windows 2003 Server.
 
  I'll be (one of these mornings I remember to do it) migrating from IIS 6
  to Apache 2.2 on a production server.  I'm so excited X-)
 
  I can't believe that there are no clear docs on this subject anywhere
  whether a CF based site or any site for that matter. There
  are bits and pieces everywhere and I guess I just can't put it
  together.
 
  I really should blog my experiences.  It has been pretty straight
  forward, that said I spent several hours getting it going both at home
  (single host, SSL, specific application) and then probably a day or more
  getting everything going at work.
 
  Do you mind sharing your configuration?
 
  I'll see what I can come up with.
 
 
  Damien McKenna
  Web Developer
  The LIMU Company
 
 

 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278309
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote:
 Thanks John Paul.

 I deliberately left out any subversion process for two reasons
  a) this is what I want to find out
  b) I don't have a process and hence the question :-)

 I have read about the pre / post tagging before but was not sure how this
 would go when other people are also making commits - and there fore
 incrementing the revision number; so...

Revision numbers in SVN should be meaningless -- like a primary key in
a db. The whole point of a branch is that it's independent of the
other development line(s). You can merge the changes of just that
branch back into trunk, or a release branch, or even another bugfix
branch (maybe because two bugs are related). Keep in mind that when I
say merge I mean using SVN's merge command (or using svnmerge, an
addon script that makes it FAR easier to manage merging branches). The
recipies for all of these kinds of manipulations are in the
PragProgrammers book among other sources.

 If two people are committing will it look like this (current revision = 99)
   branch - bug001 : 100 (bug001-pre), 101, 103, 104, 107(bug001-post)
   branch - bug002: 102, 106

 And if that is the case, when I do a merge bug001 - bug002-post
 will it ignore revisions 102 and 106?

Subversion doesn't support complex (eg 3-way) merges, so you should
merge 1 branch into another branch, typically in this scenario the
bugfix branch (eg bugfix-001) back into the main branch (either the
release branch if you did releases, or trunk). Once that's done, you
can merge the next bugfix.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278146
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote:
 Seriously,

 I would not create a branch for a bug, just to have it merged back to the
 trunk again.

 You might as well apply the fix directly on the trunk...

Unless the trunk has diverged from the release -- this is all very
dependent on how releases work. Let's say you fix a stylesheet element
directly in trunk. That's fine if trunk hasn't changes since the
release you're fixing; it's NOT fine if you upgraded from Fusebox 4 to
Fusebox 5 during the intervening time or any other major changes that
separate the ongoing trunk work from a release. It all depends on the
process -- Subversion doesn't care one way or another :)

But seriously, I'd always recommend tagging releases -- otherwise you
end up using revision numbers to proxy for releases and that
inevitably seems to cause problems in the long term.

 On 5/15/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 
  On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote:
   I am still not quite sure how to go about deploying mods from
  subversion.
   This is what I am trying to achieve:
  
   Each developer has a local development environment.
   We have a job tracking systems (jira) that bugs and requests for new
   features are entered into.
  
   I will work on a bug and once I am happy with the fix, testing in my dev
   environment, I will put those changes onto the test server.
 
  We're missing some details here about the process around subversion so
  it's hard to directly answer the question, but one very common pattern
  is to create a bug-specific branch (usually off of the release branch)
  and fix the bug there. The full process would work something like
  this:
 
  * assume there's an existing branch for the release, /repo/branches/RB-1.0
  * copy the release branch /repo/branches/RB-1.0 to a bugfix branch
  /repo/branches/BUG-3456
  * tag the beginning of the bugfix branch /repo/tags/PRE-3456
  * work on bug in the bugfix branch committing as necessary
  * tag as necessary on bugfix branch, eg /repo/tags/QA-3456,
  /repo/tags/QA-3456-RC2, etc
  * when the bug's signed off on, tag the end of the branch
  /repo/tags/POST-3456
  * back in the release branch, /repo/branches/RB-1.0, you can merge
  /tags/PRE-3456 and /tags/POST-3456 to get the release updated
  * roll out a new release (tagged and/or branched of course) or
  generate a patchfile depending on your process
  * check and see if the merge needs to go back into trunk/etc as
  appropriate
 
  Obviously this isn't strictly necessary for a typo or a very small
  change, though at a minimum using the tags for PRE and POST will make
  your life easier.
 
  As an aside, Subversion revision numbers are not in short supply --
  there's no need to conserve them, and since copies in SVN are
  efficient, there's no worry about increasing the size of the repo
  every time you branch (like in BitKeeper and some other source control
  systems).
 
  We'll cover this stuff in my CFUnited 2007 pre conference class. At
  worst, if you're reading this and figuring you need to know more about
  Subversion, you should check out the Pragmatic Version Control using
  Subversion book from the Pragmatic Programmers and save yourself a lot
  of effort in learning SVN.
 
   After user testing, it may come back for further work, or be signed off.
   If signed off, it is put onto the production server.
  
   As you can imaging, there can be any number of bugs been fixed at any
  point
   in time by multiple developers.
   The testing can get signed off in any order and may be there for a
  couple of
   weeks.
  
   What I would like to be able to do is get the files for a particular bug
  fix
   and from those file, merge the modifications into test and then
  production.
  
   General Notes:
  
- One file may have multiple bug fixes / enhancements
  
- if a modification is to be backed out, and other modification since
  then
   will need to stay.
  
  
  
 
 

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278147
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote:
 OK, irrespective of whether the trunk or branches are used
 how do you selectively chose what you want to deploy?

Now we're into build management :) Which is mostly outside subversion,
but the basic way subversion can support you process is by tagging
revisions -- the basic pattern is to create a directory parallel to
/trunk called /tags and then copy whatever is being release (eg
/trunk) to a tag. Then you can always use the tag to checkout code
that represents a particular release. Even when you're at REL-5.0,
your tag for REL-2.1 points to the proper revisions of the codebase
and you can checkout from the tag (or from a branch if you choose to
use release branches in addition to tags)

 If I have 5 bug fixes on the go bug001 - bug005,
 and bug004 is signed off
 how would I use subversion to know which files need to be updated on
 production (without any of the work on bugs 1,2,3,5 going over)?

Merge bug004 into whatever the main branch is, which is probably
either trunk or a release branch, tag the resulting version as a
release, and export the release.



-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278148
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote:
 Deploy? If you mean deploy to production, thats always trunk.

That's actually a really bad process in general -- b/c then you have
to keep track of revision numbers to be able to revert to a previous
release. The standard advice is to tag the trunk (eg REL-20070515 or
REL-1.2.3) and then deploy the tagged release, which means exporting
from the tag instead of trunk. That gives you a MUCH better history
over time.

Deploying from /trunk directly is generally a good way to handle
continuous integration, but I recommend not doing that for production.
Tagging gives the added benefit of repeatability without needing to
track revision numbers, though clearly nothing stops you from doing it
this way :)

 Or do you mean deploy from your code to the repository, that's commit.


 On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote:
 
  OK, irrespective of whether the trunk or branches are used
  how do you selectively chose what you want to deploy?
 
  If I have 5 bug fixes on the go bug001 - bug005,
  and bug004 is signed off
  how would I use subversion to know which files need to be updated on
  production (without any of the work on bugs 1,2,3,5 going over)?
 
  On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote:
  
   AJ,
  
   Welcome to the world of many ways to skin a cat.
  
   We do it the same way I outlined a few times now, but others have
  diffeent
   ways to do it.
  
   When working on something that is either new or a bug, the code is
  looked
   at
   and fixed now until it is fixed, tested with unit tests and the
   development
   tested we do not commit it back to SVN.
  
   Thats our procedure, but as I said earlier, we also sync the changes to
   make
   sure we don't need to merge any new code, and then when its tested,
  merged
   on our code with the repository we then commit it.
  
   Thats our method, and others have many other ways of doing it.
  
  
  
   On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote:
   
If by bug you mean typo or something minor - then making the change to
   the
trunk would seem fine.
   
I am think more along the lines where 2 or more pages need to be
   modified
and may span a number of days (elapsed time)
   
   
When it comes to committing , would it be fair to say:-
trunk: only commit logical units of work that will not break the
  system
branch : knock yourself out
   
   
With so many different views and recommendation it is no wonder I am
getting
confused :-}
   
On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Seriously,

 I would not create a branch for a bug, just to have it merged back
  to
the
 trunk again.

 You might as well apply the fix directly on the trunk...



 On 5/15/07, John Paul Ashenfelter [EMAIL PROTECTED]
wrote:
 
  On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote:
   I am still not quite sure how to go about deploying mods from
  subversion.
   This is what I am trying to achieve:
  
   Each developer has a local development environment.
   We have a job tracking systems (jira) that bugs and requests for
   new
   features are entered into.
  
   I will work on a bug and once I am happy with the fix, testing
  in
   my
 dev
   environment, I will put those changes onto the test server.
 
  We're missing some details here about the process around
  subversion
   so
  it's hard to directly answer the question, but one very common
   pattern
  is to create a bug-specific branch (usually off of the release
   branch)
  and fix the bug there. The full process would work something like
  this:
 
  * assume there's an existing branch for the release,
/repo/branches/RB-
 1.0
  * copy the release branch /repo/branches/RB-1.0 to a bugfix branch
  /repo/branches/BUG-3456
  * tag the beginning of the bugfix branch /repo/tags/PRE-3456
  * work on bug in the bugfix branch committing as necessary
  * tag as necessary on bugfix branch, eg /repo/tags/QA-3456,
  /repo/tags/QA-3456-RC2, etc
  * when the bug's signed off on, tag the end of the branch
  /repo/tags/POST-3456
  * back in the release branch, /repo/branches/RB-1.0, you can merge
  /tags/PRE-3456 and /tags/POST-3456 to get the release updated
  * roll out a new release (tagged and/or branched of course) or
  generate a patchfile depending on your process
  * check and see if the merge needs to go back into trunk/etc as
  appropriate
 
  Obviously this isn't strictly necessary for a typo or a very small
  change, though at a minimum using the tags for PRE and POST will
   make
  your life easier.
 
  As an aside, Subversion revision numbers are not in short supply
  --
  there's no need to conserve them, and since copies in SVN are
  efficient, there's no worry about increasing

Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote:
 I mean deploy.

 So, some how, I go from my dev box, to the test server then finally to the
 production server.
 Other developers will also deploy to the test server.

 As I understand it, we wont want to commit anything to the trunk until it
 has been signed off in test.

 So in that case, if trunk is always stable, we can just update the
 production server from the trunk.
 This makes that side very simple. And that being the most important part -
 that is a good thing :-)
 And I guess at that same time the trunk can be tagged - eg
 /tags/prod-20070515

I'd really recommend tagging and deploying from the tag (or making it
a release branch and deploying from that -- depends on how often you
release and how many versions you maintain)

 Now I am just left with the bit in between all the dev servers and the test
 server.
 Branching seems to me the way to go for major bug fixes and new features.
 Ensuring an mods to the truck get merged into the branches then updated into
 the dev machine(s)
 Then, to my thinking, once the bug has been signed off in test, I should be
 able to merge it into the trunk.

What I'd suggest is deploying from the bugfix branch, running the
tests, and then letting the next developer do the same. Your bugfix
branch contains *everything* that you need to run the app, so testing
and verifying it is verifying the bugs. Obviously this is easier if
testing is automated.

Then the next bugfix branch gets cleanly deployed to test and so it goes.

 Hmmm, time to do some testing and see what happens...

Good! That's the only way to figure it out.


 On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote:
 
  Deploy? If you mean deploy to production, thats always trunk.
 
  Or do you mean deploy from your code to the repository, that's commit.
 
 
 
  On 5/15/07, AJ Mercer  [EMAIL PROTECTED] wrote:
  
   OK, irrespective of whether the trunk or branches are used
   how do you selectively chose what you want to deploy?
  
   If I have 5 bug fixes on the go bug001 - bug005,
   and bug004 is signed off
   how would I use subversion to know which files need to be updated on
   production (without any of the work on bugs 1,2,3,5 going over)?
  
   On 5/15/07, Andrew Scott  [EMAIL PROTECTED] wrote:
   
AJ,
   
Welcome to the world of many ways to skin a cat.
   
We do it the same way I outlined a few times now, but others have
   diffeent
ways to do it.
   
When working on something that is either new or a bug, the code is
   looked
at
and fixed now until it is fixed, tested with unit tests and the
development
tested we do not commit it back to SVN.
   
Thats our procedure, but as I said earlier, we also sync the changes
  to
make
sure we don't need to merge any new code, and then when its tested,
   merged
on our code with the repository we then commit it.
   
Thats our method, and others have many other ways of doing it.
  
 


 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278151
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote:
 Maybe I need a test branch too

 In dev I can use switch to jump between bug001 and bug002 say
 Once I am happy with it I can merge that into the test branch - along with
 all the other developer bug fixes.

Personally, I'd recommend as few branches as possible. If you need to
merge bugfix002 and bugfix004 for testing, I'd consider fixing them in
the same branch (which changes how the bugfix-bugtracking-svn process
works for you as described so far). Or you can merge the two bugfixes
into a arbitrary branch (eg TST-bobsbigtest) and go from there.

 Then  test server can be updated from the test branch

 I will still merge bug001 into truck once it is signed off
 and not merger test branch with trunk as there are still bug fixes in
 testing

 Would just need to ensure all branches are kept upto date with the trunk.

You want to Google svnmerge.py, right now :)

 On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote:
 
  I mean deploy.
 
  So, some how, I go from my dev box, to the test server then finally to the
  production server.
  Other developers will also deploy to the test server.
 
  As I understand it, we wont want to commit anything to the trunk until it
  has been signed off in test.
 
  So in that case, if trunk is always stable, we can just update the
  production server from the trunk.
  This makes that side very simple. And that being the most important part -
  that is a good thing :-)
  And I guess at that same time the trunk can be tagged - eg
  /tags/prod-20070515
 
  Now I am just left with the bit in between all the dev servers and the
  test server.
  Branching seems to me the way to go for major bug fixes and new features.
  Ensuring an mods to the truck get merged into the branches then updated
  into the dev machine(s)
  Then, to my thinking, once the bug has been signed off in test, I should
  be able to merge it into the trunk.
 
  Hmmm, time to do some testing and see what happens...
 
  On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote:
  
   Deploy? If you mean deploy to production, thats always trunk.
  
   Or do you mean deploy from your code to the repository, that's commit.
  
  
  
   On 5/15/07, AJ Mercer  [EMAIL PROTECTED] wrote:
   
OK, irrespective of whether the trunk or branches are used
how do you selectively chose what you want to deploy?
   
If I have 5 bug fixes on the go bug001 - bug005,
and bug004 is signed off
how would I use subversion to know which files need to be updated on
production (without any of the work on bugs 1,2,3,5 going over)?
   
On 5/15/07, Andrew Scott  [EMAIL PROTECTED] wrote:

 AJ,

 Welcome to the world of many ways to skin a cat.

 We do it the same way I outlined a few times now, but others have
diffeent
 ways to do it.

 When working on something that is either new or a bug, the code is
looked
 at
 and fixed now until it is fixed, tested with unit tests and the
 development
 tested we do not commit it back to SVN.

 Thats our procedure, but as I said earlier, we also sync the changes
   to
 make
 sure we don't need to merge any new code, and then when its tested,
merged
 on our code with the repository we then commit it.

 Thats our method, and others have many other ways of doing it.
   
  
 


 --
 If you are not living on the edge,
 You are taking up too much space.


 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278152
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: deploying changes from subversion

2007-05-15 Thread John Paul Ashenfelter
On 5/15/07, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Personally, I would still release them in staged/known releases than
 haphazzard fix on the fly.

 You will find it's a much better process and easier to manage.

Agreed. And if you have an *EMERGENCY* bugfix, you can use SVN to
generate a patchfile of just that change and directly apply it to
production until the next real build is ready. That's a slippery slope
that should only be reserved for emergencies since now your tagged
release in SVN is out of sync with production unless you use
release branches, apply the patch to the release branch, and redeploy
from there.

Anyone that's been following this thread, please read the Pragmatic
Programmers' book Pragmatic Version Control with Subversion -- it's
the best, simplest, cheapest overview of subversion for real
development tasks. I didn't write it nor do I get any money for
shilling it -- it's just the best way to learn the commonly accepted
best practices -- then you can take their base and figure out your own
methods.

If I was shamelessly plugging something, I'd be plugging my CFUnited
2007 class where I'm teaching Subversion, Ant, and Selenium for those
of you needing a practical approach to version control, build/deploy
tools, and testing.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278153
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Subversion Tutorial Posted

2007-05-14 Thread John Paul Ashenfelter
On 5/14/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Monday 14 May 2007, John Paul Ashenfelter wrote:
  of confusion about what I'm going to label *process*, which is what a
  lot of this thread is about.

 And (one of) the great thing(s) about Subversion, is you can build any process
 on top of it - whatever works for you and your team.

Agreed! Here's an interesting article outlining some design patterns
for branching in code repositories.
http://www.cmcrossroads.com/bradapp/acme/branching/streamed-lines.html.
For those getting started with version control, it's good to note that
there's a lot of possible right ways to build a process around
version control.

I'll suggest that there's only one *wrong* way to do version control
-- and that's ignoring it. Whether it's VisualSourceSafe 6.0 (argh!)
for a single developer or putting in some high-end commercial source
control tool or sticking with the tried and true CVS and SVN, or
getting crazy with open source version control like darcs, you should
get immediate value to your development by being able to follow the
state of your code repository over time, which is all version control
is really for.



 --
 Tom Chiverton
 Helping to competently aggregate viral CEOs
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278034
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: deploying changes from subversion

2007-05-14 Thread John Paul Ashenfelter
On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote:
 I am still not quite sure how to go about deploying mods from subversion.
 This is what I am trying to achieve:

 Each developer has a local development environment.
 We have a job tracking systems (jira) that bugs and requests for new
 features are entered into.

 I will work on a bug and once I am happy with the fix, testing in my dev
 environment, I will put those changes onto the test server.

We're missing some details here about the process around subversion so
it's hard to directly answer the question, but one very common pattern
is to create a bug-specific branch (usually off of the release branch)
and fix the bug there. The full process would work something like
this:

* assume there's an existing branch for the release, /repo/branches/RB-1.0
* copy the release branch /repo/branches/RB-1.0 to a bugfix branch
/repo/branches/BUG-3456
* tag the beginning of the bugfix branch /repo/tags/PRE-3456
* work on bug in the bugfix branch committing as necessary
* tag as necessary on bugfix branch, eg /repo/tags/QA-3456,
/repo/tags/QA-3456-RC2, etc
* when the bug's signed off on, tag the end of the branch /repo/tags/POST-3456
* back in the release branch, /repo/branches/RB-1.0, you can merge
/tags/PRE-3456 and /tags/POST-3456 to get the release updated
* roll out a new release (tagged and/or branched of course) or
generate a patchfile depending on your process
* check and see if the merge needs to go back into trunk/etc as appropriate

Obviously this isn't strictly necessary for a typo or a very small
change, though at a minimum using the tags for PRE and POST will make
your life easier.

As an aside, Subversion revision numbers are not in short supply --
there's no need to conserve them, and since copies in SVN are
efficient, there's no worry about increasing the size of the repo
every time you branch (like in BitKeeper and some other source control
systems).

We'll cover this stuff in my CFUnited 2007 pre conference class. At
worst, if you're reading this and figuring you need to know more about
Subversion, you should check out the Pragmatic Version Control using
Subversion book from the Pragmatic Programmers and save yourself a lot
of effort in learning SVN.

 After user testing, it may come back for further work, or be signed off.
 If signed off, it is put onto the production server.

 As you can imaging, there can be any number of bugs been fixed at any point
 in time by multiple developers.
 The testing can get signed off in any order and may be there for a couple of
 weeks.

 What I would like to be able to do is get the files for a particular bug fix
 and from those file, merge the modifications into test and then production.

 General Notes:

  - One file may have multiple bug fixes / enhancements

  - if a modification is to be backed out, and other modification since then
 will need to stay.


 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278058
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Subversion... CF's built-in webserver ... Can I do this?

2007-05-14 Thread John Paul Ashenfelter
On 5/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Tero:

 I'm not sure if it's a Linux issue, but I back up the
 repository directories directly.  I'm not sure what issue
 you are seeing to warrant the statement, Note that just
 copying repository files doesn't work properly, - as that
 is what I've been doing for years without any problems.  I
 would like to hear what issues you are seeing so that I may
 avoid them in the future.

The best reason to avoid this is b/c that's what the Subversion
developers say (http://svnbook.red-bean.com/en/1.1/ch05s03.html but
you'll have to read through a lot). A lot of the initial discussion
about the dangers of simply copying the repository relate to the
earlier versions of Subversion that used BerkeleyDB for managing the
repository. And we all (should) know that a copy of a db made using
acopy command is going to be problematic. Now that Subversion uses
FSFS (filesystem storage) by default, the whole craziness w/ BDB is no
longer an issue unless you choose to run BDB as your repository
storage engine.

All that aside, but BDB and FSFS have specific orders in which files
need to be copied to ensure an accurate backup. This really isn't much
of an issue if access to the repository is disabled during a vanilla
copy/backup, but I'd suggest avoiding the hassle and using either the
builtin svnadmin hotcopy or the even more reliable hot-backup.py
http://subversion.tigris.org/tools_contrib.html#backup

If you're using FSFS (the default) and have a decent window for
maintenance (eg at night), I'd suggest simply using svnadmin dump to
dump out a simple text-based replay of eveything. You can do a full
one weekly and an incremental one daily or whatever makes sense. Note
that this is less useful as you add more and bigger binary files to a
SVN repository (eg lot of videos) since the  corresponding output
files will be pretty large. I like rsync in that scenario to increase
the speed of the process.

One quick example script from TextDrive (a host) which can be adapted
is here http://textsnippets.com/posts/show/587 which shows how to
rsync your FSFS svn repository to a remote server over SSH.

shameless plug
I'm teaching a course on Subversion, Ant, and Selenium at CFUnited
2007. Come out and turbocharge your development process!
/shameless plug





 Steve Brownlee
 http://www.fusioncube.net/

 - Original Message Follows -
 From: Tero Pikala [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: RE: Subversion... CF's built-in webserver ... Can I
 do this?
 Date: Mon, 14 May 2007 17:36:32 +0100

  I'm running following script daily to get backup copies
  out of subversion server (which is Ubuntu 6.10 running in
  VMware). Note that just copying repository files doesn't
  work properly; you need to make hot copy or dump of each
  repository instead.
 
  
  (all variables are set before this)


 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278087
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error Executing Database Query.

2007-05-14 Thread John Paul Ashenfelter
I've seen a couple of weird problems like that when the web server was
having problems with it's DNS resolution. That's only relevant if your
db is found through DNS of course (which is complicated on Windows
with the whole NetBIOS/AD/etc acting as DNS).

In those cases, I just added an entry to the hosts file to hardcode it
and problem resolved. That assumes it really IS your problem. It's
probably worth looking at the DNS resolution on the web server to the
db server if you don't find another obvious cause.

On 5/14/07, Jim H [EMAIL PROTECTED] wrote:
 Has anyone ever dealt with this?  I lose a steady ping to the database from 
 the web server, but a ping to the gateway does not fail.  Any thoughts?

 line 4 of route.cfm is:

 3   cfquery datasource=#datasource# name=getCompanyURLs timeout=15
 4   SELECT CompanyURL, CID FROM WebCompanies WHERE 
 CompanyURL='#cgi.HTTP_HOST#'
 5   /cfquery

 Error,jrpp-12,05/10/07,15:26:43,SchoolSites,Error Executing 
 Database Query.[Macromedia][SQLServer JDBC Driver]A problem occurred when 
 attempting to contact the server (Server returned: Connection reset). Please 
 ensure that the server parameters passed to the driver are correct and that 
 the server is running. Also ensure that the maximum number of connections 
 have not been exceeded for this server. The specific sequence of files 
 included or processed is: C:\Inetpub\WebSites\route.cfm, line: 4 
 coldfusion.tagext.sql.QueryTag$DatabaseQueryException: Error Executing 
 Database Query.
 at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:580)
 at cfroute2ecfm1337773736.runPage(C:\Inetpub\WebSites\route.cfm:4)
 at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
 at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
 at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
 at 
 coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
 at 
 coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
 at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
 at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
 at 
 coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
 at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
 at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
 at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
 at 
 coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
 at coldfusion.CfmServlet.service(CfmServlet.java:107)
 at 
 coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
 at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
 at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
 at 
 jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
 at 
 jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
 at 
 jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
 at 
 jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
 at 
 jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
 at 
 jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
 Error,jrpp-12,05/10/07,15:27:18,SchoolSites,Error Executing 
 Database Query.[Macromedia][SQLServer JDBC Driver]Connection reset by peer: 
 socket write error The specific sequence of files included or processed is: 
 C:\Inetpub\WebSites\route.cfm, line: 4 
 coldfusion.tagext.sql.QueryTag$DatabaseQueryException: Error Executing 
 Database Query.
 at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:580)
 at cfroute2ecfm1337773736.runPage(C:\Inetpub\WebSites\route.cfm:4)
 at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
 at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
 at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
 at 
 coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
 at 
 coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
 at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
 at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
 at 
 coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
 at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
 at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
 at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
 at 
 

Re: Subversion Tutorial Posted

2007-05-13 Thread John Paul Ashenfelter
On 5/12/07, Rick Faircloth [EMAIL PROTECTED] wrote:
 Boy... and to think I was really looking forward to reading this long
 thread, hoping that, as I contemplate implementing Eclipse, CFEclipse,
 and Subversion, that I would be able to confidently set up a new
 working environment... but alas, all this thread has brought is confusion.

Setting up the environment is pretty straightforward -- heck, you can
start by installing the svn command line _right now_ and using
file:/// to access local repositories without even configuring a
server. There's no reason to delay getting the environment set up b/c
of confusion about what I'm going to label *process*, which is what a
lot of this thread is about.

 It seems almost all perspectives offered in this thread revolves around
 team environments.

The fundamental use of the tool is the same -- Subversion stores files
and the delta of each committed change. That's pretty much it. It
doesn't care about builds or tests or teams or solo developers or
deployments or web applications or programming at all. All Subversion
knows about is files and the changes to a file or set of files between
commits.

Pretty boring work that is well-suited to a machine :)

The rest of this is about how to take that tool and use it to manage a
development process, and there's a lot of variations there as the
thread attests. If you're specifically interested in Subversion, IMHO
the best book out there is Pragmatic Version Control w/ Subversion
from the Pragmatic Programmers.

I'm teaching a course at CFUnited on some of the core open source
tools that can be used to build these processes -- Subversion (version
control), Ant (builds), and Selenium (web-based functional tests). And
I've done some consulting solely on practice for some ColdFusion shops
over the past five years. The one key thing I've learned from that is
that analysis-paralysis sets in with implementing any development
process, just like the inevitable which framework is best
discussion. In most cases, there are a lot of viable choices and
simply starting with a choice is a good first-foot forward.

The simplest solution for Subversion in practice is concurrent
development in the trunk using tags for releases and branches for
parallel development. Note that I said both simplest and for
Subversion -- other source control tools have other best practices.
Also note that there's issues of scale, procedure, and a myriad other
details that can be tailored to best meet the workflow of the
project/group in question.

A lot of the back and forth about testing, which certainly part of
agile development, misses part of the point of version control -- it's
about controlling versions of files, no more and no less. Since
meaningful comments are an important part of any commit message, my
threshold for checking in something relates to the story being told by
the comments about the app. I see all to much fixed bug or made
some changes or todays work as the comment in a svn log. What the
heck does that mean? I'll check in 3 separate 1 line changes to a CSS
file if each one is stand-along, because I want to control the
*versions* of the file -- putting in all 3 with one commit means that
all three get rolled back together, which is fine when they go
together and not fine when they don't.

 As a sole (as in the only developer on my projects) developer, the question
 remains, what would be the be approach to Subversion for me?

Use it to store changes to your files, no more and no less. I'd get
the Pragmatic Programmers book as a starting point and try whatever is
simplest that best matches how you want. The beauty of version control
is that you can general change it on the fly. You can start working in
a project that looks like this

/project

and just get moving. When you release it's time for a release and you
want to tag the release, you can just use svn to REARRANGE THE
REPOSITORY -- yes, it's not cast in stone. It's a tool that stores
files and deltas/changes to them. No more. So a couple of svn copy and
svn creates later

/project/trunk
/project/tags/REL-1.0

and so on. Need a branch? Add it. Find that branches are a pain? Get
rid of them. It's just files to Subversion. And since the repository
is stored very efficiently (at least for text) there's no need to
worry that much about space. And if you DO have a lot of binary files,
then we can get into fun stuff like svn:externals and the rest of the
cool stuff.

I'll also suggest that anyone, team or solo, confused about Subversion
and the various build/deploy tools should come to my class at CFUnited
:) We'll cover this and a lot more. Tuesday, all day, at CFUnited
2007.

 Remember, after about 9 or 10 years of development on CF 4.5 without
 upgrading
 (going to CF8), I'm very comfortable with developing on my *production*
 server,
 which would cause most of you to pull your hair out in a team environment...

Seriously, it makes me pull my hair out in solo dev as well -- how do
you roll 

Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread John Paul Ashenfelter
On 5/9/07, Aaron Roberson [EMAIL PROTECTED] wrote:
  1) I make changes and submit the working code to SVN, later I rewrite anothe
  component then relise that the previous code I wrote worked better. So I can
  revision the changes to that file and revert back rather than recode from
  memory.
 
  2) I have an open source application, I have released V0.2 and rather than
  wait for all bugs to be found I start working on V0.3 but before I do that I
  branch the code. Now this allows me to continue working on V0.3 and anytime
  a bug is found in V0.2 I can switch back to it an fix the problem. Then I
  can submit back to that branch, now if this is also going to be a problem
  for V0.3 I can now merge that code with that version and switch back and
  continue on with V0.3

 Where can I learn how to do the above. That is very cool stuff that I
 have neglected heretofore.

At the risk of self-promotion, you could check out my class at
CFUnited, which is covering SVN, Ant, and a host of other related
technologies for getting started with development best practices.

http://www.teratech.com/go/classdetails?trainingaction=detailTID=274

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277419
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Hardware load balancers (lower-end)

2007-04-05 Thread John Paul Ashenfelter
I have to say it makes me happy to see so many people suggest Apache
(even on Windows!) and VMWare as solutions -- both tools I've long
been involved with.

But I'm really looking for a 1u or smaller (eg VIA form-factor or
Cisco PIX501-size) turnkey solution. I think that the used route on
ebay for Cisco LD is where we're headed but was hoping someone's had
experience with things like this

http://www.kemptechnologies.com/load-balancer-1500.shtml

or maybe some low-end serverironxl products.

This gig isn't a roll-your-own ;) But thanks for the suggestions so far!
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274575
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Hardware load balancers (lower-end)

2007-04-04 Thread John Paul Ashenfelter
Folks,

I'd like to know what you're using for lower-end *hardware* load
balancing for your ColdFusion apps.  I've got an application to deal
with that doesn't have a lot of network bandwidth but does have a lot
of processor load, so I don't need a paired set of BIGIPs to manage it
:)

I'd prefer a packaged hardware solution that supports sticky sessions
-- the app was not really designed for clustering. Something like an
old Cisco LocalDirector off ebay is probably about the right speed!

Details: CFMX7 *Standard*, servers are Windows 2003, Web edition.
Using java sessions. Currently using Sonicwall and Cisco in the
network infrastructure.

Thoughts/recommendations?

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274506
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Testing

2007-03-27 Thread John Paul Ashenfelter
On 3/27/07, Dinner [EMAIL PROTECTED] wrote:
 I know this is a recurring thread, so I figured I be the one to reoccur it. =]

 What are folks using for testing?  When I say testing, I mean the whole
 package- unit tests, application tests, application/server load tests...

 I really like the Selenium plugin for FF, and unless I hear different, I'll
 be looking into the server side of that whole deal (not quite sure what
 all is involved).

Selenium is great for functional testing -- and hooking it into Ant
for running nightly/continuous tests is great.

 I tried OpenSTA, but it sorta seems to suck.  :-/  Could just be my
 own incompetence, obviously, so if I hear it's the cat's whiskers or
 the elephant's ankles, I'll put some more neurons to the grinder for
 it--  from some limited testing tho... niet!

I think all of the load-testing tools, open and commercial, are a
pain. I think if you're after load testing on Windows in the CF world,
Paessler's web stress tool is probably the best balance of expense and
features. I've used Grinder (open) and Empirix (). Argh.

 So...

 Let the annual what are people using testing thread commence!
 (and if it dies with this post, so be it.)

I'm teaching a preconference course on this sort of thing at CFUnited,
though starting with the basics of SVN and automation with Ant to make
a complete package :)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273950
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF (VMWare ESX Server Vs Physical Hardware)?

2007-03-26 Thread John Paul Ashenfelter
 Other than those items (which are really all configuration issues) there's 
 really nothing different.  Your VM will be seen as a real PC in every way 
 that matters.

I've been using VMWare since it's inception (Desktop) and currently
have deployed apps on VMWare Player (for laptop-based demos on the
go), VMWare Server (staging and internal apps), and ESX2.0 (for a
client) so I'm all for this

I'm curious though, since we're on the subject, if anyone has tried
the VMWare Converter

http://www.vmware.com/products/converter/

to convert a physical machine into a virtual one.


Anyone? I'd love to hear about it.

Parallels has a similar tool, btw, for their Mac Desktop users that's
on my agenda as soon as the new MacBook comes in...

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273747
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdFusion on Apache is better than IIS?

2007-02-07 Thread John Paul Ashenfelter
On 2/6/07, James Holmes [EMAIL PROTECTED] wrote:
 Interestingly, this may in fact be true for livedocs at least:

 http://toolbar.netcraft.com/site_report?url=http://livedocs.macromedia.com

 JRun webserver shows for every entry. However,for www.adobe.com,
 wherein lies the CF powered forums
 (http://www.adobe.com/cfusion/webforums/forum/index.cfm):

 http://toolbar.netcraft.com/site_report?url=http://www.adobe.com

 Apache for every entry.

Ummm, you're assuming it's Apache because that's what the headers say?
Or am I missing something? Note the F5 BigIP in there --- lots of
stuff you can do with that to obscure what's really under the hood.

And just because Apache is in there, it doesn't mean it's doing the CF
application serving per se -- a very common situation in the Rails
world now is to use Apache 2.2 with mod_proxy to load balance between
3-10 mongrel web/ruby servers. So technically the request is
coming/going to Apache, but Apache just balances the requests and
proxies to what's really serving the pages. It's straightforward to do
the same with CF/JRun on the backend.

All academic anyhow -- the original point of the thread was whether
IIS or Apache was faster serving CF b/c IIS was quoted as being faster
for static pages. I think that there's little evidence to support that
assertion :)

sidebarA fun rant from Zed Shaw about statistics and programmers
rates directly to this discussion
http://zedshaw.com/rants/programmer_stats.html/sidebar If you don't
know Zed, he wrote mongrel (one of the fastest web servers around) and
is *never* afraid to tell you exactly what he thinks :)

 On 2/7/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 
  And I'll throw in a discussion I had w/ an unnamed Adobe source --
  seems like Adobe runs CF inside a Java container with the internal
  webserver -- no IIS or Apache.


 --
 CFAJAX docs and other useful articles:
 http://www.bifrost.com.au/blog/

 

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269001
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Anyone interested in Railo hosting?

2007-02-07 Thread John Paul Ashenfelter
 I also think that while there's a decent amount of KICKING CF projects,
 there needs to be WAY more, and they need to be way better publicized. Look
 at the stuff that 37 Signals is doing. They're totally piggybacking on the
 popularity of Rails and offering up this fantastic software that just works.

Well, since the guys at 37Signals *created* Rails, it's not a suprise
they're piggybacking on it. One of their big talks is about extracting
Rails (the framework) from Basecamp (the product). Hype serves them on
both sides of the coin -- pushing their framework and their product(s)
built on it.

And as apparently will be my mission in the CF world, I'll just remind you

Rails = framework
Ruby = language

I'd still say *ruby* is not as popular or well known as *rails* is,
and that Ruby is probably comparable in popularity to CF in that it's
*way* behind languages like C#, Java, and PHP. Of course *Rails* is
probably one of the bigger *frameworks*, right up there with Struts.

And finally, it doesn't take a *lot* of kicking ColdFusion sites to
get it hyped -- it takes 1 popular, kicking, hyped site. There's a
*lot* of Rails sites, but Basecamp is the one most folks know. CF
needs a similar exemplar, but it will take the whole package of CF and
a framework, etc -- the CF frameworks need a lot more work before they
compare to what's hyped about Rails. Flex is far more likely to be
able to generate hype IMHO.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269018
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Anyone interested in Railo hosting?

2007-02-07 Thread John Paul Ashenfelter
On 2/7/07, Eric Haskins [EMAIL PROTECTED] wrote:
 and neither is that fact that ASP/PHP code is more
 complicated and therefore will have more bugs.

That's a fairly ridiculous assertion -- first of all that one specific
language is more complicated than another and second that complexity =
bugs. One could makes all sorts of similar unsupported arguments that
we've all heard:

PHP is less prone to bugs because it's open
PHP is more prone to bugs because it's open
ASP is more prone to bugs because it's on Windows
etc, etc

Some of the most common bugs I've seen in web apps I've dealt with
(commercial, open souce, and inhouse) tend to be simple user error
like not checking parameters for type/content (eg SQL injection).
Other common errors are off-by-one errors in loops and simply bad
logic. Few programming languages prevent a developer from doing
something dumb that causes a bug.

 I find the opposite Russ coming from PHP to CF Cf is alot more verbose than
 PHP. I am learning CF as I work for a CF shop FullTime as a Web Systems
 Developer. Cant speak for ASP


 I don't think PHP has any sort of session management, so it's not even a
 contender in the enterprise world.

 Can you elaborate on this?? I use session vars all the time in php. I have
 done apps for Verizon that are php.

The assertions CF folks make about open source always just make me cringe.

Of *course* PHP has session management, and quite frankly some far
more sophisticated options including session clustering that actually
works under load (eg memcached) as opposed to the JRun session
clustering that has known issues with performance thanks to what it's
doing with JINI and who knows what else. Plus you've got more options
about where you store the session (eg files on the server instead of
database or memory directly).

rant
In the past few days, I've seen far too many posts that didn't even
take the time to Wikipedia/google/whatever before making assertions
about open source licenses, the capabilities of languages they've
never used, or even verify or source statments that were the truth.

Please check your facts, even just briefly before you post. Or save as
a draft, come back an hour later, and still see if you want to post
it.
/rant

Send your complaints about the rant to /dev/null :)
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269023
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Anyone interested in Railo hosting?

2007-02-07 Thread John Paul Ashenfelter
 I don't think anyone is saying that PHP is more or less prone to bugs
 because it's open.  PHP (the language) has its own bugs/CF has it's own, but
 I wasn't talking about the bugs in the language itself.  I was talking about
 bugs in the code.  CF is so simple, that a lot of non-technical people learn
 it and are able to create fairly bug free sites.

I was talking about bugs in code too -- SQL injection, XSS, bad logic,
etc. And I'd argue personally and professionally using dozens of sites
I've been hired to work on as a basis, that since CF *is* so simple,
it's more likely that there are deadly bugs in the code -- even now,
years into the existence of CF, I see CFQUERY without CFQUERYPARAM
around form or url variables. I also see plenty of files uploaded to
web accessible directories through web forms. Wow, it sure was easy
for the developer to add the capability to hose both the database and
the entire server with those bugs respectively. Does that happen in
other languages, sure. But easy doesn't mean a thing about bug-free.


 As I've admitted, I am not very familiar with PHP/ASP, but I do believe that
 CF does prevent inexperienced developers from making mistakes.

Not one bit. There's no automatic type checking. There's no automatic
database parameterization. There's no few options for input validation
and cleansing built in, etc etc. I'm not arguing that those things are
required by a language, but I *am* disputing the assertion that
because CF is easy that it prevents inexperienced developers from
making mistakes.

Truthfully, I'd be more inclined to argue that languages like Java and
Python _prevent_ inexperienced developers from making mistakes because
many inexperienced developers simply don't understand them :)

  I don't
 think I've seen working SQL injection code for CF and MS SQL to date, but I
 could be wrong...   CF auto escapes the query for you, so that the risk of
 SQL Injection is greatly reduced, if not eliminated.

That's ridiculous. CF autoescapes quotes -- that's got *nothing* to do
with SQL injection. And it's *easy* to demonstrate it in CF -- here's
one from DevNet to get you started
http://www.adobe.com/devnet/coldfusion/articles/cfqueryparam.html

 Plus If I feel that CF is better, and that PHP and ASP don't come close,
 that it must be true.  And that's the truthiness of it.

I appreciate and respect your right to your beliefs -- unfortunately I
believe that you shouldn't propose that your ideas or beliefs are
facts when it is clear that 30s of google would show them inaccurate.
It wastes time, bandwidth, and adds data to the collective mailing
list to sort through to get to the real, useful stuff. Unlike this
message :)

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdFusion on Apache is better than IIS?

2007-02-06 Thread John Paul Ashenfelter
On 2/2/07, Jacob Munson [EMAIL PROTECTED] wrote:
  for static documents, a properly tuned IIS is best.. in many other
  instances Apache works better

 Doh, sorry I accidentally hit send before I could explain myself!  The
 above quote is from another mailing list I'm on (not CF related), so
 I'm curious if anybody knows any evidence that proves/disproves this?
 If that's true, then the assumption would be that ColdFusion is better
 on Apache.

I read through the 20-some posts on this thread, so will just add a
couple of things:

1) Your inference that CF runs faster on whichever webserver runs
faster is just wrong -- there's nothing that about serving static
content faster that has anything to do with dealing with speed of
running some server-side language.

2) Dave Watts is 100% right on -- bandwidth saturates far before
anything else on most typical web/app servers

3) What the heck is properly tuned? Properly tuned for your app?
Platform? OS? App Server? Etc Etc. That's pretty meaningless.

Just for fun, here's a graphic going around of the system calls in IIS
vs Apache for service an HTML page with a single image on it
http://blogs.zdnet.com/threatchaos/?p=311 -- the point in their case
being each additional system call is a potential hack point -- but
it's a good indication of how much work needs to be done to serve the
page. Of course adding 100x more system calls when each system call is
a few nanoseconds doesn't really change things either :)

And I'll throw in a discussion I had w/ an unnamed Adobe source --
seems like Adobe runs CF inside a Java container with the internal
webserver -- no IIS or Apache.

Bottom line is that the web server you choose has close to no impact
on the speed of your application in most circumstances -- and I'll
suggest that if you're pushing the envelope hard enough to *need* to
determine the differences in speed, you'll need to run your own
performance and benchmarking tests to compare your own apples to your
own apples, which will generally be useless to anyone elses' setup
since they're using papyas.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268919
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT: MySql going public (No more freebies)

2007-02-05 Thread John Paul Ashenfelter
On 2/5/07, Doug Brown [EMAIL PROTECTED] wrote:
 This sucks...I guess it was bound to happen :(

 http://www.cbronline.com/article_news.asp?guid=26F5F8B6-8CC6-4529-8DE7-65732FA84347


Wow, I'm not sure you really read the article, or at least understood
it. Please don't start ridiculous FUD.

MySQL is a _leader_ in open source business models and bluntly they're
not hurting for money (even the article points out they have nearly
HALF of their VC money in the bank). They fight for open source rights
in the EU parliment and they have to my knowledge the only serious
case in this country relating to enforcing the GPL on someone who
tried to abuse it and their IP (all the litigation around NuSphere
from about 4 years ago).

Maybe looking at their focus on free, fair licenses would reduce your
panic (eg http://www.planetmysql.org/kaj/?p=81). Maybe if Monty and
David die, Brian Aker is hit by a bus, and about 150 developers die of
food poisoning at their dev retreat, then *just maybe* the remaining
3-4 marketing folks would try and turn it into a product that's not
free. Of course since ALL THE PREVIOUS CODE IS GPLv2, YOU'D STILL HAVE
ACCESS. That's the *POINT* of open source -- you have the source.

As an aside, MySQL has had dual licensing for quite a while (GPL and
private). They also _require_ payment for embedded devices. They also
now have a non-community edition that's licensed per server (MySQL
Enterprise). None of this is particularly new. Nor is the fact that
tthey go after investment money (note the article mentions the C round
of financing -- which is when the current CEO came in *and* happened
about 2 years ago -- oh no, they took VC money, panic panic).

The sky is not falling, and thanks to the GPLv2 that MySQL is licensed
under, your *absolute worst case* scenario is that you can continue
using the version of MySQL you currently have forever.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268685
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT: MySql going public (No more freebies)

2007-02-05 Thread John Paul Ashenfelter
On 2/5/07, Doug Brown [EMAIL PROTECTED] wrote:
 I honestly think that is a whole different ball of wax. Redhat and linux in
 general would not benefit from NOT having a opensource version due to the
 fact that their are so many different distros available for linux. MySql is
 not available as distros for people to rebrand and make it into their own
 software like linux.

Ummm, sure it is. Most linux folks effectively make their own distro
by compiling it with whatever set of custom compile options they need.
Some drop out BDB and other database handlers that are not needed.
Others add processor-specific compilation flags. Others compile in
options that could be set in config files.

Ironically, both Linux and MySQL are licensed under the *exact same*
license -- the GPL. Anyone can build their own MySQL assuming they
follow the rules of the GPL (just like Linux). NuSphere did that
(their problem was ignoring the contribution requirements of the GPL
for their Gemini table handler). Oracle looks like they may do it. One
of the European telcos built the NDB clustering table handler for
MySQL as part of their distro (and unlike NuSphere, donated it back as
was required under the GPL) MySQL themselves does it (MySQL
Enterprise, MySQL Community, and the builds they customize for clients
with higher level support contracts).

Your premise is simply incorrect.
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268686
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Method - Logging Database Changes?

2007-01-16 Thread John Paul Ashenfelter
On 1/16/07, Teddy Payne [EMAIL PROTECTED] wrote:
 For 1, 2 and 3, you will typically enter records into the database during
 the login process and the logout process that you create.

 You will need to put something in onSessionEnd for when sessions expire just
 in case they don't use your logout portion of the code.

 As for the data changes, I would recommend letting the DB handle this for
 you.  Most modern databases have triggers.  Use triggers to copy the record
 that was changed or edited into a duplicate log table or log database.

Seconded. If you do a little searching on audit and trigger for your
particular database, you should find some examples to help automate
the process.

As an aside, you need to be pretty careful if you *already* use a lot
of triggers in the app. And of course you need to link the user to the
data that changed, but you might be able to make that easier by adding
a lastUserId or something to each audited table so when the trigger
copies it, the data is already there about the user that goes with the
data.

One more aside, paging through the data in a meaningful way is a pain
-- but a simple history table (recent first) handles the basics for
tracking changes.


-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266684
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: What is Ruby on Rails?

2007-01-16 Thread John Paul Ashenfelter
On 1/14/07, Doug Brown [EMAIL PROTECTED] wrote:
 Is there any comparisons to CF and ROR? How fast is the dev time compared to
 CF?

If you're at the Frameworks conference, I'm doing a talk on Rails and
can answer that. But like one of the other posts in the thread, you
have to compare it to a *framework*, like how fast is it compared to
ModelGlue on CF, Fusebox on CF, Struts on Java, Django on Python, etc.
Rails is a framework, Ruby is a language.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266686
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: What is Ruby on Rails?

2007-01-16 Thread John Paul Ashenfelter
On 1/14/07, John C. Bland II [EMAIL PROTECTED] wrote:
 Ruby is a programming language (from the 90's or so) that was used a lot as
 an alternative to perl server scripts. A few years back a framework was
 built that gave RoR tons of publicity. I think some of the shine came off
 when they had a gaping security hole in which they demanded that people
 upgrade to the latest revision (was kinda funny the way they approached it).
 In 2 or 3 days they pushed out like 2 or 3 patches. Regardless of that it is
 still a very lightweight, fast, and speedy (to dev' in) language/framework.

That's a bizarre piece of FUD. It's like saying I think some of the
shine came off ColdFusion when that ToysRUs site performed so poorly
or Now that Adobe/Macromedia/whoever owns CF it's doomed etc. Or all
the FUD about poorly written PHP/CF/whatever apps that are vulnerable
to cross-site scripting attacks and/or SQL injection (heck, even
*gMail* has had a significant security issue if you feel like your
contact list should be private).

For anyone who cares about the details surround this particular issue,
it's summarized here
http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure

I'll also point out that the Rails folks can't *force* anyone to
upgrade -- what they did was refuse to point out the specific problem
or release demo code of the exploit until people had a chance to
patch, but since the project is open source and the SVN repository is
publically available, it's easy enough to run a diff and see what
changed.

I'd suggest that the whole process in general was a good example of
the *point* of open source -- major problem was identified, code was
*quickly* patched to prevent problem, other problems were identified,
and code was patched again, not to mention that the community feedback
on the process was incorporated into the way future incidents are/were
handled.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266687
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


  1   2   3   4   5   >