Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

seperation of code - db calls - html in files


moyashi

Recommended Posts

Posted

Before I came across oswrapper and now after I came across it, I've been wondering if it wouldn't be better in the long to move code like:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

out of the files and move it into header.inc.php files and the same for the columns and footer.

 

and in replace just call with < ?php header_mainpages ? > or something similar.

 

I was thinking that looking forward to a template system you would have already started the process and in turn have also made the transition to easier to maintain code.

 

I've been playing with WebObjects recently and this type of logic really makes an impression on you that is difficult to forget.

 

I do realize that everybody is really busy and that getting milestone is of top importance. However, I'd be more than willing to help with the tedious grunt work. Programming is still a bit out my league but with an example to follow I'm more than will to pitch in.

 

:wink:

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...