473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

best way to work with templates?

I have been using an implementation of that Paul Wilson`s master pages
for asp.net 1.1. It`s nice, but there is a problem that generally in big
sites, templates must be based on other templates, or i would end with
50 template files...

I have seen another implementation that puts one layer between the
content and the template, so there is one template more. But i think
it`s still not enough.. some sites will still require lots of template
files.

What i`m suppoising is an structure like this (example) :

Global Site Base Page
|
\-> Sports Section Base Page
| \-> Soccer Base Page
| | \-> page 1
| | \-> page 2
| | \-> page 3
| \-> Baseball Section Base Page
| \-> page 1
| \-> page 2
\-> Economy Section Base Page
\-> World Economy
| \-> Asia Section
| | \-> page 1
| | \-> page 2
| \-> Europe Section
| \-> page 1
| \-> page 2
\-> National Economy
\-> page 1
\-> page 2

No default number of steps between the base and the implementation..

I know all about asp.net 2.0 and it`s master pages implementation, but
NOW, with asp.net 1.1, what is the best solution for this? Is there any
good template system or should i start working on my own inplementation?

Thanks in advance.
Nov 18 '05 #1
2 1284
Cowboy (Gregory A. Beamer) - MVP wrote:
If you have complete UI and code separation, you can use the Dynamic Web
Templates of either Dreamweaver or FrontPage. You will have to use one of
these products when you update the HTML portion to resynch, but it is far
simpler than the programatic methods I have seen under 1.1.

Anything you do now will likely be incompatible with 2.0, so an HTML
template method that requires resynching is better, IMO, than a programatic
setup that has to be refactored. The DWT method can migrate to 2.0 as long as
you continue editing pages in WYSIWYG.

I suspect, one day, FrontPage, or similar, will be folded into VS as the
IDE, but that is just a wild guess.


Hmm... i`ll need to create something better than paul wilson`s master
pages that allow me ot use that kind of structure...

I can`t wait until asp.net 2.0... when it`s out we use it, now i need a
practical solution. Dreamweaver templates are not that good, and I
couldn`t think about frontpage even in my worst nightmares...

By the way, i don`t use vs.net neither...
Nov 18 '05 #2
Just to take note, based on the masterpages idea, i created another
system to work with templates, just like i needed. You can have
templates over templates in any level you want... this means I can have
1 or 10 nested templates and achieve exactly the structure i proposed in
the other post...

thanks for your help anyway.
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

131
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately...
1
by: Matthew | last post by:
My Windows forms app generates HTML via a server-side XSL transformation of XML out of a SQL server stored procedure. I'm emedding the HTMLEditor control from...
7
by: Alfonso Morra | last post by:
I cannot believe how convoluted it is to export function templates and class templates from a shared library (or DLL as it is called in the Windoze world). Micro$oft support for STL and...
14
by: Jon Rea | last post by:
I am currently cleaning up an application which was origainlly hashed together with speed of coding in mind and therefore contains quite a few "hacky" shortcuts. As part of this "revamping"...
55
by: Steve | last post by:
I have to develop several large and complex C++ hardware test programs that should work under DOS, most likely with 32-bit DOS extender. Development workstation OS would be Microsoft XP. Quite some...
6
by: naima.mans | last post by:
Hello :) I'm newbie to XSLT and i need some advice please: Here the action: I have to browse an XML file with xslt : For each node i have to determinate if it is a node where i need to add...
13
by: Justin.Voelker | last post by:
Hello Everyone: I am in search of an easier way to develop pages. My most current website, www.Base2WebDesign.com, has the exact same layout throughout the entire site. Right now I use a...
5
mythescriptid
by: mythescriptid | last post by:
Hi All, I know templates and STL might have been discussed many a times here, I'm bit of newbie as far as templates are concerned and was itching to test my new found linking of templates. I would...
7
by: Chris | last post by:
Hi All, This is a weird one but I am hoping someone can help or has some pointers, a recipe how to do the following: I have to move some code from c++ to objective-c and to do this I must...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.