Some CFML Stuffs Me Do

From: Peter (BOUGHTONP) 5 May 2011 01:35
To: steve 7 of 75
Please don't make me cry!

I'm already sad enough because I'm having to faff about generating XML so I can transfer data from one database to another because the stupid software doesn't have a real importer that would just let me map the appropriate columns directly, nor does it have a decent API (otherwise I'd create that importer myself), and it's all just a big faffing pain.


Oh, and closing slashes are starting to go out of fashion again now, with people finding out that HTML5 doesn't require them to write as XHTML.

I still prefer them, even though I don't otherwise use XML style, because it makes things more readable when scanning through a bunch of tags.
From: Ken (SHIELDSIT) 5 May 2011 01:56
To: Peter (BOUGHTONP) 8 of 75

Sorry, you were too late and Steve was on the ball!

 

I did figure out how to export my reports to Excel AND PDF files! It's turning into a nice project and the people at work who see it are really excited how it's turning out.

 

Never fear - I'm certain to have more questions for you!

 

Oh - I remember when I used to be really into CF (back in the olden days :)) There were places that would offer you free hosting for developers. Do you supposed you could offer free and/or paid hosting using Railo? Or is it against their TOS?

From: Peter (BOUGHTONP) 5 May 2011 02:19
To: Ken (SHIELDSIT) 9 of 75
Whuh? Railo doesn't have ToS.

It's Open Source, and more specifically it's LGPL which explicitly enforces your freedom to do pretty much whatever you want with it.

There's already several hosting companies... Vivio and Alurium are two major ones, and for free hosting HostMedia offer free US-based hosting (£1 setup fee to deter scammers), and CFML Developer does the same in the UK.

Of course, with all the "cloud" stuff these days, a lot of Railo users are preferring to use Amazon EC2 and similar.
From: Ken (SHIELDSIT) 5 May 2011 02:22
To: Peter (BOUGHTONP) 10 of 75

Sorry I didn't mean ToS, but you understood what I was asking.

 

That would be a good idea to supplement some income for you. Then you could afford a bed!

From: ANT_THOMAS 5 May 2011 02:35
To: Ken (SHIELDSIT) 11 of 75
And a decent internet connection.
From: Ken (SHIELDSIT) 5 May 2011 02:36
To: ANT_THOMAS 12 of 75
Oh yeah, good point. Get rid of that shitty phone connection Peter!
From: Peter (BOUGHTONP) 5 May 2011 03:20
To: Ken (SHIELDSIT) 13 of 75
Been there, done that. Too much effort for very little reward, so makes more sense to leave it to the guys that are already established.

I don't need to afford a bed. I use that one... *gestures* ...over there... oh... and I should probably see about doing so now, since I just realised it's 3:20am. Poo. :(
EDITED: 5 May 2011 03:22 by BOUGHTONP
From: Ken (SHIELDSIT) 5 May 2011 03:24
To: Peter (BOUGHTONP) 14 of 75

:) There are a few of you on here that keep some late hours!

 

You are probably right, I can imagine it's a huge pain in the ass trying to make everyone happy and making sure things are secure enough when dealing with multiple customers on the same server.

From: af (CAER) 5 May 2011 10:23
To: steve 15 of 75
quote:
I don't think there's a way to just send a page to the printer without user invention, at least, I hope there isn't. Troll sites would be even more annoying.
That's exactly why no such way exists.

quote:
Regarding not printing the URL on the page, that's browser dependant.
In practice, true, but CSS3 has methods for controlling stuff like that:

http://www.w3.org/TR/2004/CR-css3-page-20040225/

Not that any browser really supports it yet.
From: Ken (SHIELDSIT) 5 May 2011 20:31
To: ALL16 of 75
You guys are the shit. I just got around to putting the print info on my site and it's working great! Thanks!
From: Ken (SHIELDSIT) 5 May 2011 20:33
To: steve 17 of 75

Hey is there a way to do this?

 

After I click an image and make the page print, make it automatically load a different page?

From: af (CAER) 5 May 2011 21:01
To: Ken (SHIELDSIT) 18 of 75
Surely that's just a case of
JavaScript code:
...
window.print();
window.location = "http://new.url.com";
From: Ken (SHIELDSIT) 5 May 2011 21:02
To: af (CAER) 19 of 75
I will let you know if you win or not! Just one second please!
From: af (CAER) 5 May 2011 21:03
To: Ken (SHIELDSIT) 20 of 75
I suspect the window.print() function returns immediately btw, so the page may well change straight away, rather than after the user clicks OK in the Print dialog.
From: Ken (SHIELDSIT) 5 May 2011 21:08
To: af (CAER) 21 of 75
Ahh I see what you're saying. I can't test it right now, but I'll let you know how I make out. Thanks!
From: CHYRON (DSMITHHFX) 6 May 2011 11:21
To: Ken (SHIELDSIT) 22 of 75
You're trying to make it too easy. Computers are supposed to be too hard for mere users. That's why they pay us to come over and click the "print" button.
From: Ken (SHIELDSIT) 6 May 2011 11:39
To: CHYRON (DSMITHHFX) 23 of 75
I suppose but I'm a sucker for automation!
From: CHYRON (DSMITHHFX) 6 May 2011 11:54
To: Ken (SHIELDSIT) 24 of 75
As long as it breaks and causes extreme frustration and panic...
From: Ken (SHIELDSIT) 6 May 2011 11:55
To: CHYRON (DSMITHHFX) 25 of 75
When I want to show my power I reboot the mail server!
From: Ken (SHIELDSIT) 6 May 2011 12:59
To: Peter (BOUGHTONP) 26 of 75

I think I'm approaching this from the wrong angle. I think I'd be better served if I put my effort into the SQL Server Reporting Service.

 

Have you or anyone here used it?