Hi, > > I've been giving a lot of thought to the idea of modular web pages > and "exit" functionality is not nearly as nice as what I think you > could build into embperl. >
There are many nice ideas (and I have a lot of them too), but it takes also a lot of time to implementing them and as long as nobody pays me for that (which is fortunately sometimes the case :-), I have to do things that I need for my projects first and keep the other nice features for the time that is left. I says this here, because I could imagine that implementing something like you have in mind, would be really cool, but also would be a lot of work. Haveing this said, I really like to hear your ideas and discuss them and as far as we come up with good solutions try to integrate them into Embperl! > .... > It would be very nice to have Execute handle this with a parameter > saying "Don't return here until you're told to by the page I'm > calling". PageB executes and at the end of PageB it automatically > stops (like "exit" would do) but it keeps track of where it's > supposed to return to internally like a regular subroutine would in a > modular programming language. When PageB finally executes a > "return to calling page" command (perhaps passing parameters > back like perls "return" statement), then and only then would > PageB actually drop out the bottom and return to PageA. > Is your idea, chaining these pages together, so that one page would only be displayed if the previous one is done ? Or is a module as see it only a part of a page, so you can have lets say a user add form and a mail form or what ever on the same page ? Is your idea mainly for input forms or do you have other sort of objects in mind ? If yes, what ? > I realize this is a stateless arena and implementing this would > require some magic but think Embperl (and you) are able to make > that kind of magic. Is this possible or does the stateless nature of > this make it impossible? More modularity would be SO nice in this > environment! > Yes, this is possible and especially for form validation I have some plans in mind, which I can hopefully release before the end of the year, which will allows you to specify validation rules and what should happen if the validation fails. Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
