473,789 Members | 2,433 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1307
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
21692
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 get some good real world examples. Fire away! :) Regards, Peter Foti
1
2571
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 http://www.itwriting.com/htmleditor/index.php, and using a custom print template. The app by the way is for a homogenous intranet environment, printing to a variety of different printers. Generally this works tolerably, although it is pretty hard work
7
1597
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 standards in general is absolutely appaling. This is absolutely ridiculous. I have obtaind links from people who tried to help me solve this problem, several days ago, to no avail. Even the sample code at http://support.microsoft.com/kb/q168958/ when...
14
6705
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" process I am introducing namespaces to properly compartmentalise sections of the code into logical units. What I am speciffically trying to get right is the dependency tree for header files to reduce compile time and simplify the code structure. On...
55
12844
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 time ago I worked in DOS, with Borland BC++ 4.1. I do not have it any more. Which compiler would you recommend me now? Which ones support serious DOS program development? Criterion should be number of available free library modules (graphic menu...
6
1711
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 an attribute... The question is:
13
1821
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 function called "page_top()" and page_bottom()" that , when called, display the tops and bottoms of pages. All I have to do on the actual index.php page is call those two functions and then write the main content on that page. This seems stupid but...
5
2270
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 like to continue discussing pro/cons and best methods of template implementation. As a start I'm posting two simple template classes I have written for your review and let me know how can they be further improved and do they follow standard STL?...
7
1712
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 remove all defined templates. I am not really a c++ guy so I have not worked with templates all that much (not really at all) and as such I don't have a good idea where to start.
0
9661
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9506
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10403
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10193
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9978
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6755
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5414
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5546
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2904
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.