update: Talked with Brian about it a bit more, and he managed to clear up some of the issues I had below. I'm going to give it the old college try, and see what happens.
OK, so I've been researching Embedded Perl, and for the life of me I can't see a reason for me to move over to it. Here are first blush impressions...
From a perl coder's point of view, I can see how it would be a great thing -- you can embed your code directly in the document to increase performance as well as 'hide' your code from the general populace (a great thing from a security perspective, as they now don't know what language you've developed your app in). From a programmer's point of view, embedded perl is likely a very good thing.
The point of view of a content manager is another beast entirely, however. Perl code in my content is the last thing I want to see. The beauty of SSI and CSS is that I can totally seperate my content from any form of presentation. From my perspective, that's a very good thing ™. The way it's set up seems to separate content in the same way as SSI, so no worries there
From the looks of it (and with some explanation by Alan), you set up a single base.epl file, which contains both your header and footer information, seperated by a [- Execute ('*') -]. Conceptually, I can see how this works -->the server wraps the base.epl around whatever file is currently being requested, filling in whatever needs to be filled in...
I'm not yet sure how embperl deals with multiple footer files. For example, on my work site I have different footer files for different sections of the site -- products, support, etc. Instead of doing the very very simple #include virtual='/ssi/sectionfooter.shtml' it sounds as though the base.epl will have to have a set of if/then conditions to deal with this -- which is a hell of a lot more complicated than I need it to be. Though I don't like the organization method much, you can place 'replacement' footer files (or header files) in the directory you want affected, and it'll replace the 'stock' files with those. The only thing i can't see yet is how to do multiple footer files in the same directory.
But I'm still checking it out, and playing with it myself, so I may have a change of mind

>> Arcterex » Wednesday, January 9, 2002 04:32 PM
Post a comment
* under no circumstances will your email address be traded for a sack of quarters. No-sirree.