PHP Wizards

From: Ken (SHIELDSIT)19 Apr 2011 00:05
To: Peter (BOUGHTONP) 16 of 101
Dude I'm all over that. Thanks for letting me know about it! I'm much more fluent in CF than PHP.
From: Peter (BOUGHTONP)19 Apr 2011 00:11
To: Ken (SHIELDSIT) 17 of 101
Thing is, if I made a converter, I couldn't not give it away, so any money would only come through donations, and I don't know if that would be enough to cover the effort spent on it.

Also, whilst a direct port is do-able, and might even be relatively straight-forward, it wouldn't necessarily produce good code.


Damn it, you're making that conundrum I have even more complicated! :'(
From: Ken (SHIELDSIT)19 Apr 2011 00:13
To: Peter (BOUGHTONP) 18 of 101

%-)

 

It's funny that you have considered it.

From: Peter (BOUGHTONP)19 Apr 2011 00:57
To: Ken (SHIELDSIT) 19 of 101
No problem, I've been a huge fan of Railo for ages. It's really awesome! (bounce)

If you do have any problems getting going, there's a mailing list where you'll find lots of friendly helpful people. :)
From: Ken (SHIELDSIT)19 Apr 2011 13:11
To: Peter (BOUGHTONP) 20 of 101
I can't seem to get it connected to IIS, which isn't a big deal. But can you tell me where I should put my cfm files so Tomcat can parse them? I can't seem to find a wwwroot or anything like that.
From: Ken (SHIELDSIT)19 Apr 2011 13:15
To: Peter (BOUGHTONP) 21 of 101
Nevermind. I took the time to read the debug info and found the path I needed! :-((
From: Peter (BOUGHTONP)19 Apr 2011 13:42
To: Ken (SHIELDSIT) 22 of 101
Hmm, the installer should do the IIS connection automatically.
(Since you've mentioned Tomcat I assume you went for the version with the installer?)


You can change the path in server.xml
xml code:
<Host name="domain.com" appBase="webapps">
        <Alias>www.domain.com</Alias>
        <Context path="" docBase="/path/to/webroot"/>
</Host>


The server.xml is inside tomcat's conf directory.
For Windows/IIS, the docBase would be "c:/inetpub/wwroot" by default, I think?
The appBase setting you can leave alone (even if it's different), but it should be there, or you get WEB-INF directories all over the place (you'll get just one in your webroot if it's working normally).

I guess you've probably only got one Host record so far, (for localhost), you can either add/modify the Context tag for that, or go ahead and add a new one at the same level, (and you can use IP address if you don't have a domain).

Make sense?
EDITED: 19 Apr 2011 13:44 by BOUGHTONP
From: Ken (SHIELDSIT)19 Apr 2011 13:54
To: Peter (BOUGHTONP) 23 of 101

It does and I'll mess with it when I am ready to roll this out.

 

As of right now I have this fucker spitting out exactly what I am after!

 

Thanks so much man, this is just what I was looking for without the $thousands in costs!

 

ta!

From: Peter (BOUGHTONP)19 Apr 2011 14:16
To: Ken (SHIELDSIT) 24 of 101
Woohoo! (woot)
From: Ken (SHIELDSIT)19 Apr 2011 14:19
To: Peter (BOUGHTONP) 25 of 101

Now to figure out how this math is being applied and get this shit working!

 

I really enjoy coding, but don't get to do it very often anymore. I'm sure glad I held on to my CF books. I bet it's been 5 years since I've coded any CF. But it's kind of like riding a bike.

 

I don't know about you, but I think it's a very easy language and it just makes sense to me. PHP is kinda like it, but I have more trouble with it for some reason.

From: ANT_THOMAS19 Apr 2011 15:05
To: ALL26 of 101
SHIELDSIT and Peeb sitting in a tree...
From: steve19 Apr 2011 15:12
To: ANT_THOMAS 27 of 101
C O D... I N G :C
From: af (CAER)19 Apr 2011 15:14
To: steve 28 of 101
P R O Gramm I N G?
From: steve19 Apr 2011 15:15
To: af (CAER) 29 of 101
G E E K I N G (dance)
From: af (CAER)19 Apr 2011 15:16
To: steve 30 of 101
:D
From: steve19 Apr 2011 15:17
To: af (CAER) 31 of 101
Or..

TEACHING HIM ABOUT PHP

:$
From: af (CAER)19 Apr 2011 15:19
To: steve 32 of 101
I think that actually works better :$
From: Peter (BOUGHTONP)19 Apr 2011 15:23
To: Ken (SHIELDSIT) 33 of 101

Well I started with PHP so it's a bit different - actually, I think I started with ASP but gave up on that almost straight away - but yeah, when I stumbled upon CF in 2002, after a couple of years of doing PHP, I switched over pretty quickly. It's just makes more sense and is easier to get on with.

 

Railo goes a step further, adding cool improvements, and (as a company) being far more interactive with the community than Adobe (which isn't surprising; Adobe only really cares about Photoshop/Flash/PDFs/etc, and mostly treats CF as a big cash cow).

 


Anyway... (kiss)

EDITED: 19 Apr 2011 15:23 by BOUGHTONP
From: Ken (SHIELDSIT)19 Apr 2011 15:46
To: ALL34 of 101

You guys are terrible!
:-O

From: Ken (SHIELDSIT)19 Apr 2011 16:41
To: Peter (BOUGHTONP) 35 of 101

(flower)

 

I am so pumped. I have the first form automated. That will save so much time it's unreal. There is so much room for process improvement here and this is going to be a big part of it!

 

Using CF I was able to grab the variables I needed that somehow eluded me using PHP.

 

Thanks Pete for making me aware of Railo!