Part of the EllisLab Network
   
3 of 3
3
Introducing the Template Library
Posted: 31 July 2008 05:37 AM   [ Ignore ]   [ # 21 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  693
Joined  05-28-2008

I personally like compile. I like the word and the idea behind it. How cool would be when you’re coding

“Okay, I’ve written to my template regions in my construct, I’m in the method and I’ve written data to my content region. Right, all that’s left to do IS $this->template->compile()”

Huzzah. Compiling also adds to the “do this last thing”.

 Signature 

Bramme.net webdevelopment
If I had a nickel for every time someone told me that my idea for melting down coins to make a giant robotic parrot was a bad idea, I would have one kicka$$ giant robotic parrot.

Profile
 
 
Posted: 31 July 2008 05:42 AM   [ Ignore ]   [ # 22 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

Yeah, Bramme, I also think it’s the most semantically accurate term. If you look at that method, it is taking all the regions and compiling them into a final template. display() seems more intuitive though, if less semantic.

Ugh. I’m 55-45 display() vs compile()... gonna think on it some more.

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
Posted: 31 July 2008 07:33 AM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  441
Joined  08-12-2007
Colin Williams - 31 July 2008 09:42 AM

Yeah, Bramme, I also think it’s the most semantically accurate term. If you look at that method, it is taking all the regions and compiling them into a final template. display() seems more intuitive though, if less semantic.

Ugh. I’m 55-45 display() vs compile()... gonna think on it some more.

OR you could just combine the two: dispile() or complay(). Best of both worlds wink

Profile
 
 
Posted: 31 July 2008 07:45 AM   [ Ignore ]   [ # 24 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

Reeeeeeeeeeeeeet!!!

I got one! Will be revealed in the 1.2 release tongue wink

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
Posted: 03 August 2008 05:28 AM   [ Ignore ]   [ # 25 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

The Template Library has been updated to Version 1.2.

Visit the Template 1.2 thread.

View the Template 1.2 Homepage.

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
   
3 of 3
3