You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by phillip rhodes <rh...@yahoo.com> on 2004/12/20 19:18:24 UTC

Is friendly url approach best way to work with html designer output?

Well, trying to figure out how to put the tapestry
"brains" behind a 25-page web site designed and laid
out by professional html designers.  The site is
already in html and one is able to go from page to
page fine.  There is just cart/checkout thing I need
to do.

While I am used to reading product data, etc. from a
database, all the products and data are relatively
static and I would rather just use the html pages that
the designer created.

My problem is that there are 2 approaches, and I can't
decide which one.  

1) Use friendly URLs and basically leave the 25 pages
as-is, just putting in the tapestry magic that adds
products to the cart and displays the cart, does
checkout,etc...  Just shopping cart components.  

2) Not use friendly urls, and create a border
component  for the header/footer and activate the
appropriate page based upon the clicked border
component (just like workbench).  Still have to do the
shopping cart components, but would have to mark up
the htm pages more to hide the existing header/footer
and display the border component.


Any thoughts on which approach to use for this type of
web site?

Thanks.







---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org