Stretching the Mental Muscles with Conditionals
Posted: 15 November 2005 01:25 PM   [ Ignore ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

The Template parser in ExpressionEngine reminds of the boat trip in Charlie and the Chocolate Factory where the visitors are taken on a rather wild ride with no sure knowledge of their destination, yet traveling via a liquid chocolate medium.  Hm, this analogy is starting to lose cohesion, but my point is that the Template parser takes the incoming URL and flies around figuring out the template to use, parses its various components (tags for plugins and modules, variables, conditionals, variables in tags, global variables, segments, everlasting gobstoppers, et cetera), checks for caching, sends data to various files, replaces EE code with data, looks for additional embedded templates, and finally ends up with a completely rendered page.  And, it works.  It all somehow works.

Whenever we change the Template parser, our hands get a little sweaty and you can notice little ticks developing.  The Template parser is the brain of the entire program.  You start operating on that and one little slip could have ExpressionEngine developing its own curious ticks.  For ExpressionEngine 1.4, Rick and I have modified and added code for new functionality in both the Weblog module and conditionals, which are possibly the two most important things used in templates.  These two things combined with the including of Extensions had us considering naming this coming version 2.0 instead of 1.4.  I argued against though because I expect us to have even more to show for that version, and so we are definitely setting a very high bar for 2.0 now. At least one developer committed to the asylum or bust!

continue…

 Signature 
Profile
 
 
Posted: 11 February 2006 04:15 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  950
Joined  12-20-2002

Three months after this posting I just want to say a big thank you for this great improvement to EE. I wonder what other CMS at any price offers this level of control. The added power, which helps build sites faster, justifies a hike in my own hourly rate.

(If clients complain I’ll send them here.)

 Signature 

Who ain’t a slave? - Ishmael

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62613 Total Logged-in Users: 18
Total Topics: 77114 Total Anonymous Users: 8
Total Replies: 416396 Total Guests: 163
Total Posts: 493510    
Members ( View Memberlist )