RE: [PHP] Converting CFML to PHP
| From: | Thor M. Steindorsson | Date: | Fri, 09 Feb 2001 20:22:04 +0000 |
| Subject: | RE: [PHP] Converting CFML to PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39005@lists.php.net to get a copy of this message | ||
I've done this.
Once I did everything in CF.
Today, I do everything in PHP and have not looked back. PHP is faster,
easier and far less taxing on the server than CF.
Basically, once you know the syntax and functions of PHP, converting is
pretty easy, although time consuming. What you need to do is create the
same functionality in PHP, then you take whatever HTML you had in the CFM
files, and use that either as an include file or you can include it directly
in the PHP. Just remember to change all those #variables# to $variables.
As long as you keep the same names, porting the sites is not that hard.
Although I feel for you since you have 500 pages to do. Unfortunately I
don't know of any utility that can do this automatically; perhaps it's time
we who know both languages make one...
-----Original Message-----
From: Michael Kimsal [mailto:michael@tapinternet.com]
Sent: Thursday, February 08, 2001 6:43 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Converting CFML to PHP
I didn't see the original post before, but this is interesting. It's not
often
we
hear of people switching FROM CF to PHP. It must happen,
but I can't think of too many companies that I know using CF who would
"throw away" that investment, so to speak.
Kevin, could you shed some light on why the change is being made? Was
it financial? Or something deeper than that?
Dean Hall wrote:
> Seeing as how CFML is just more markup and PHP is an embedded language,
your
> task will be interesting. IMHO, CFML is the worst thing out; it's not a
real
> scripting language, and it blurs the distinction between markup and logic.
>
> Sorry I couldn't help. (Just wanted to voice my opinion -- no flamebait
> intended.)
>
> Dean.
>
> ""Kevin Queen"" <kqueen@anydevice.com> wrote in message
> news:NEBBKMMPGMEIJCNLKNDGKEDCCGAA.kqueen@anydevice.com...
> > List,
> > I have been given the task of converting all of our current ColdFusion
> pages
> > to PHP, I am wondering if there is some kind of converting tool out
there
> > for this. I don't need 100% accuracy as I can/will fix any errors, I am
> > just looking for the easiest way to convert 500+ files.
> >
> > TIA,
> >
> > Kevin Queen ____
> > Software Developer ||""||
> > AnyDevice ||__||
> > Atlanta, Ga [ -=.]
> > http://www.anydevice.com =======:0~
> >
> > (w) (404)260.4155
> > (p) (888)645.2815
> > (e) kqueen@anydevice.com
> >
> > "Ah, I see!", said the blind man to the deaf mute. -Unknown
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net