Reply to topic
anyone want to help convert some asp to cfm?
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
got a few pages i need some help with and i dont remember asp enough to get it done.
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1031
Location: Felton, Delaware
Reply with quote
I can help you Wink
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
alright, lol but i gotz 2 get to bed
here are the files
www.jamwerx.com/open/gb.zip

the main prob right now is converting the messages.asp to cfm

i have all the xml working but it writes to an an xml file and the asp version doesnt do that, and im not quite sure how its doing the paging

and heres a tip to get it working at all, delete the entries in the db and make a few yourself cause it seams that that chinese whacks out the xml file

gm & gl

but it kicks ****!
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1031
Location: Felton, Delaware
Reply with quote
wow this is quite nice!!! I like the flash interface Wink

well, the paging is being accomodated by native calls to the ADO recordset object... it actually has builtin paging functions. You just tell it which page (record) to start at and which page (record) to stop at (min & ceiling). I don't believe that CF supports anything like this for CFOUTPUT...

Also, did you by any chance recreate the access db? It'd be a good idea to do that since this db was created w/ a different language version of access. I already took care of that for you. Everything in it's the same (except the default chinese chars Wink)... I'll post it here for download in awhile...
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1031
Location: Felton, Delaware
Reply with quote
Confused okay I'm having a problem w/ all this chinese crap... like, I CAN'T READ IT!!! Mad Evil or Very Mad

<rant>
Just trying to get thru some of this (and see what's going on in the asp version) but because I get ONE ERROR in chinese which I can't read I'm held up... I'll have to look at this later... I have work that i can COMPREHEND to do...
</rant>

I think it messed something up when I converted the DB to an english version as well... it'd be easier just to rewrite this whole thing.
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
if u look at my messages.cfm page it has the recordest paging, coldfusion does have that.
no, i didnt recreate the access db, i imported it into a mysql db but u should be able to just copy the structure without the data. After i imported the db into mysql, i just deleted the data (as it was after that, that i realized the chines was having the xml doc crap out).

i was thinking of remaking the whole thing but there is some serious actionscripting in there! although, i may rewrite it and have it in flash remoting instead of xml instead as it would be much faster that way.
but time?
working on too many sites as it is and me & another guy are converting & rewriting the flasgblog (www.flashblog.org) too cfm

but this is such a cool gb that I WANT IT haha
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1031
Location: Felton, Delaware
Reply with quote
I don't blame you... i was looking at this and thinking the same thing Wink

Honestly, I would rewrite this with flash remoting. It'll be ALOT more robust that way. This writing to XML is for the PHP birds...

Yes, I saw your paging. I did recreate the DB, at which point ALOT of the errors went away, but the one that's is in some character set that I obviously can't read... Confused and it's coming from somewhere in the actionscript. I wonder if the action scripting is doing any sort of conversion for the character set?

I dunno, but your conversion to CF hit the nail on the head so I don't think that has anything to do w/ the problems.

If I were you, I'd either make this work completely with MySQL (no XML in between) or I'd make it fully XML driven tho... my $.02
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
yeah im thinking of just using remoting, although i could probably do it with just a cfc call too

my only prob doing that is that the actionscript is a bit beyond me and its in as1 which i dont know as well but would be a lot better to do, i was just hoping to get it working then start on getting it current, so id know where i was messin up when i messed up!

well ty 4 tryin
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1031
Location: Felton, Delaware
Reply with quote
np... I really think the problem's coming from somewhere in the actionscript itself... But not knowing AS... well, yeah. Confused

np
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
the problem is how it imports it, that asp script does a straight import where the cfm one i made writes it to a file but i dont work a lot with xml cause its so bulky
jamie
HostMySite Sales Rep
HostMySite Sales Rep

Joined: 19 Mar 2004
Posts: 771
Location: Newark, De
Reply with quote
<sniff> It brings tears to my eyes seeing you two play nice.
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
lol!

Dear mr admin




WHERES MY BLACKSTONE
OR
FLEX
OR
FLASHCOMM!
quit avaioding the subject!
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1031
Location: Felton, Delaware
Reply with quote
I have a feeling that Dave's the local Devil's Advocate... And it doesn't take much to get on his bad side, either.
jamie
HostMySite Sales Rep
HostMySite Sales Rep

Joined: 19 Mar 2004
Posts: 771
Location: Newark, De
Reply with quote
Blackstone - delayed by Macromedia (don't ask)

FLEX
OR
FLASHCOMM! - delayed by the fact that we're working really hard to get Blackstone up and running.
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
figures
im not the devils advacate lol
just dont like ppl giving other ppl bad advice, especially too newbies. Laughing
anyone want to help convert some asp to cfm?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic