homepage Welcome to WebmasterWorld Guest from 54.166.122.65
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
My client wants to use FrontPage
I need to know if FrontPage kills server-side scripting
pixeltierra

5+ Year Member



 
Msg#: 3003337 posted 12:18 am on Jul 12, 2006 (gmt 0)

As is the case with many WYSISYG editors, they kill perfectly good scripting code by forcing the page to correspond to a static html page.

For example the following


<?php include('../file/top.php');?>

<h1>Header</h1>
<p>a bunch of stuff</p>
<p>a bunch of stuff</p>

<?php include('../file/bottom.php');?>

will get turned into:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
</head>
<body>

<h1>Header</h1>
<p>a bunch of stuff</p>
<p>a bunch of stuff</p>

</body>
</html>

Does anyone know if FrontPage has this annoying habit?

 

jessejump

5+ Year Member



 
Msg#: 3003337 posted 3:37 pm on Jul 13, 2006 (gmt 0)

I just searched google for FP and php and found pages on Microsoft site and many others

jimbeetle

WebmasterWorld Senior Member jimbeetle us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3003337 posted 4:13 pm on Jul 13, 2006 (gmt 0)

annoying habit?

It isn't a matter of it being an annoying habit, it's a matter of it being a different technology. PHP has a way to include pages, Frontpage has a way to include pages. If your client wants to use FP, then it's probably best to use the FP technologies otherwise the client won't be able to use other FP features.

Now, you can use PHP in FP, just configure your .htaccess to parse .htm or .html pages. Grab a copy of the PHP Rocket plug-in for FP and you can develop on your local machine. But then you'll wind up using FP as just a handy-dandy code editor, defeating the client's purpose.

awells527

5+ Year Member



 
Msg#: 3003337 posted 3:50 am on Jul 27, 2006 (gmt 0)

I use FP for all of my websites that use PHP almost exclusively. It doesn't mess with my code when I use includes just like you posted.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved