ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 24th, 2005, 04:17 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Question Template Engines for ASP

I'm interested in what (if any) template engine people are using in ASP, what specifically they like and dislike about their template engine of choice.

Reply With Quote
  #2  
Old February 24th, 2005, 05:12 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is online now
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,943 Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 12 h 31 m 33 sec
Reputation Power: 2014
what exactly is "Template Engine"? never heard the term. but maybe if you can explain I would have some idea how to do that in ASP...

Reply With Quote
  #3  
Old February 24th, 2005, 05:17 PM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 112786 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112786 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112786 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112786 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112786 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112786 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
I think affriedl wants some that lists, for example, "page with database functionality" and then it creates the connectionstring and all the other goodies needed?

I don't know of such a thing would be nice to have one though
__________________
Look! Its a ShemZilla



Reply With Quote
  #4  
Old March 21st, 2005, 08:43 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Smile What is an ASP Template engine?

Quote:
Originally Posted by Shadow Wizard
what exactly is "Template Engine"? never heard the term. but maybe if you can explain I would have some idea how to do that in ASP...


A template engine is a code library that allows you to separate business logic from presentation. I have a small content management system that I have implemented on several sites now - and I get tired of altering the display code at the end of the ASP pages. A template engine allows you to remove the HTML to an entirely different file (the template). At the time of my post I had just read up on templating in Java/JSP and was looking for something similar. There are several engines available (some for free). The most noteable is ASP Template (available on SourceForge.net - http://asptemplate.sourceforge.net/ ).

I wanted something more like what I saw in the Java world though so I wrote the template engine I wanted (also available for free on SourceForge.net - http://asptango.sourceforge.net/ ).

In either software package mentiond, your HTML layout goes into an HTML file, while your ASP page servers up business logic and data marshalling for the template engine which then fills in the template with data. This means that your presentation can change significantly without you the ASP programmer having to slog your way though the ASP tags. Another, and perhaps more popular feature of using template is that your websites become "skinnable" - that is, you can apply a new look and feel dynamically - right before the users eyes. Some people would say that all this can all be handled in CSS, but I doubt very much this is so.

I think ASPTango (the engine I wrote) is more flexible and requires less work in that the template engine itself drives the layout process -- but you will find it has a slight performance hit when you really use the extended features (like dynamic binding of data directly to you ASP script) -- ASPTemplate however is widely used and better known (for now ) , but you are required to drive the template layout in your ASP code. Your mileage may vary.
Comments on this post
Shadow Wizard agrees: great explanation, thanks!

Reply With Quote
  #5  
Old March 21st, 2005, 08:54 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Quote:
Originally Posted by nofriends
I think affriedl wants some that lists, for example, "page with database functionality" and then it creates the connectionstring and all the other goodies needed?

I don't know of such a thing would be nice to have one though


CodeCharge is a very nice RAD tool for ASP (and others), but that was not exactly my question.

Reply With Quote
  #6  
Old March 21st, 2005, 10:14 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
Click here for more information.
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,880 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 18 h 15 m 40 sec
Reputation Power: 500
Review my ASP Tutorial located in the ASP Development area.
It contains an ASP Templating class that allows for the separation of presentation and programming code.

However, this post looks more like you are trying to pitch your own templating engine, rather than actually wondering what others prefer.

Reply With Quote
  #7  
Old March 22nd, 2005, 10:36 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is online now
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,943 Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 12 h 31 m 33 sec
Reputation Power: 2014
well, I don't use those things at all, so I can't give any review/opinions... thanks for the detailed explanation!
Quote:
Originally Posted by Memnoch
However, this post looks more like you are trying to pitch your own templating engine, rather than actually wondering what others prefer.

well, if it's as good as he says we can only thank him, after all it's for free.

Reply With Quote
  #8  
Old March 22nd, 2005, 03:28 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Cool

Quote:
Originally Posted by Memnoch
Review my ASP Tutorial located in the ASP Development area.
It contains an ASP Templating class that allows for the separation of presentation and programming code.

However, this post looks more like you are trying to pitch your own templating engine, rather than actually wondering what others prefer.


Originally, I started looking for ASP template engines that other people had written. I like to save coding time by using other people's work whenever possible. However, I really wanted something different than what I found so I wrote my own and it reflects my own particular taste and engineering style. My taste and style are not for everyone nor every application - hence my attempt to put my work in perspective with that of others.

Of course I would return to pitch my own work - considering the questions raised in the posts that followed. I feel the results will speak for themselves - that is why you will find it on SourceForge - where it is free.

Shameless Pitch of the Day: Download and use this code - it's free!

Reply With Quote
  #9  
Old May 4th, 2006, 10:23 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Cool Template Engines for ASP - thread update

I just wanted to let anyone (if anyone) watching this thread that the ASP-Tango template engine has its own website now at http://www.asp-tango.com. The website uses the Template Engine for all HTML layout. There are examples, tutorials and links to the downloads on SourceForge.net there - as always with open source - it is free.

Enjoy

Reply With Quote
  #10  
Old May 5th, 2006, 12:39 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 57 m 26 sec
Reputation Power: 181
Take a look around www.aspin.com and www.hotscripts.com those are good sites to find applications.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #11  
Old May 16th, 2007, 06:11 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Exclamation ASP-Tango Template Engine - Second Generation

Just a brief note to anyone who sees this thread. I wrote a second generation version of the template engine that is quite a bit better that the original - much more flexible and allowing for the creation of "components". Like the original it is also free to anyone to use.
You can download it under the news section of my website. TriLogicLLC.com, the link is in the News section.

Reply With Quote
  #12  
Old May 16th, 2007, 06:14 PM
Dragon Rider's Avatar
Dragon Rider Dragon Rider is offline
off-topic trolless
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2005
Posts: 3,126 Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Month 10 h 52 m 50 sec
Reputation Power: 265
Quote:
Originally Posted by affriedl
Just a brief note to anyone who sees this thread. I wrote a second generation version of the template engine that is quite a bit better that the original - much more flexible and allowing for the creation of "components". Like the original it is also free to anyone to use.
You can download it under the news section of my website. TriLogicLLC.com, the link is in the News section.


wow! It took you 2 years but you did it after all!

Reply With Quote
  #13  
Old May 25th, 2007, 11:09 PM
affriedl affriedl is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 8 affriedl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 8 sec
Reputation Power: 0
Talking

Quote:
Originally Posted by Dragon Rider
wow! It took you 2 years but you did it after all!


Well......... I've only been using it on websites for a year and a half now so that isn't too bad. Maybe next year I'll get around to putting the whole thing on SourceForge or documenting the beastie...

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Template Engines for ASP