Re: Mason vs embperl
So I installed and compared. I preferred the syntax of Mason, the flexible way to build components, the caching ... it have to be said here that I choose Mason ... I agree, the caching is very good and one gets up and running in no time with Mason. However, I find it imposes too much of a coding style to the programmer : for example, all pages are evaluated inside the same package and thus one cannot define two normal subroutines with the same name in two different pages. -- Tout n'y est pas parfait, mais on y honore certainement les jardiniers Dominique Quatravaux [EMAIL PROTECTED]
Re: Mason vs embperl
Lihn, Horng-Twu [EMAIL PROTECTED] writes: I have a library of perl routine that I call in cgi-bin environment where I usually require. I could not find any way to require it and use it in Embperl. I can not find any doc describing how this is done. (I can require it in the Mason handler.pl) In embperl, you can require or use within [! !] and [- -] tags.
RE: Mason vs embperl
At 4:14 PM -0500 12/18/01, Lihn, Horng-Twu wrote: I have a library of perl routine that I call in cgi-bin environment where I usually require. I could not find any way to require it and use it in Embperl. I can not find any doc describing how this is done. (I can require it in the Mason handler.pl) Can you shed a light? I think it has something to do with the object model which I can not fully comprehend so far. Maybe I'm missing something, because this seems simple. [- require foo.pl; -] will load it everytime the page is loaded [! require foo.pl; !] will load it once the first time the page is loaded. I use libraries from within Embperl all the time, I don't believe in putting full code definitions in front of the designers. -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-) I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.
Re: Mason vs embperl
At 8:03 PM +0100 12/18/01, C.Hauser - IT assistance GmbH wrote: I use Dreamweaver for the publishers and the % and commands are properly displayed as ASP-icons. I use it with Modules Apache::Session, http://www.somewhere.com/software/ for Dreamweaver extensions to display Embperl properly. I have an overview of things you should think about when looking at scripting languages at http://commons.somewhere.com/buzz/2000/scripting.html -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-) I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.
Re: Mason vs embperl
At 11:39 AM -0500 12/18/01, Lihn, Horng-Twu wrote: Hi, I am planning a website and considering either using Mason or using embperl. I already digged into Mason and am reading embperl manual. Can someone shed some light about these two tools with regard to ease of use, current development effort, and the future support level? That could start an interesting battle. I'll just say that I've found support for embperl to be excellent, and that I went with it because it has an understanding of the underlying html, making it very easy to fill in forms, iterate over table rows with very little code. Also, if you are doing database work, look at using Embperl in conjunction with DBIx::Recordset. And of course, for Mason-style objects, look at EmbperlObject. If perl is for lazy programmers, it seems to me that embperl carries on that tradition by being designed for lazy html scripters. -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-) I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.
Re: Mason vs embperl
Basel, Dienstag, 18. Dezember 2001, 19:02:12 . *see original email below* Hello Horng-Twu I was evaluating tools like silverstream then I dropped over Mason. I rejoiced a) Perl is my native IT language b) the system is not a blackbox like the products promoted with bells and whistles. After studying the excellent manual I went on a research on similar systems and I dropped over embperl. So I installed and compared. I preferred the syntax of Mason, the flexible way to build components, the caching ... it have to be said here that I choose Mason ... my arguments might be not independent :-) I can say that Mason is fine integrated in mod_perl. I use Dreamweaver for the publishers and the % and commands are properly displayed as ASP-icons. I use it with Modules Apache::Session, Apache::Cookie, Net::SMTP ... Of course Mason-CM is cool! Best Regards Christian - [EMAIL PROTECTED] - . Is it the idea or the names of it's incarnations, praise that there is mod_perl and Mason|EmbPerl* a newbie with first productive success. (* many contributors not mentioned here, sorry the list would be far too long ) == beginn original == Date: Dienstag, 18. Dezember 2001, 17:39:32 Subject: Mason vs embperl Hi, I am planning a website and considering either using Mason or using embperl. I already digged into Mason and am reading embperl manual. Can someone shed some light about these two tools with regard to ease of use, current development effort, and the future support level? Thanks, Steve Lihn === end original
Re: Mason vs embperl
[..] I am planning a website and considering either using Mason or using embperl. I already digged into [..] Take a look at Perrin Harkin's article on Choosing a Templating System http://www.perl.com/pub/a/2001/08/21/templating.html Ajit
RE: Mason vs embperl
I have a library of perl routine that I call in cgi-bin environment where I usually require. I could not find any way to require it and use it in Embperl. I can not find any doc describing how this is done. (I can require it in the Mason handler.pl) Can you shed a light? I think it has something to do with the object model which I can not fully comprehend so far. Steve Lihn FIS Database Support, Merck Co., Inc. Tel: (908) 423 - 4441 -Original Message- From: Kee Hinckley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:38 PM To: Lihn, Horng-Twu Cc: [EMAIL PROTECTED] Subject: Re: Mason vs embperl At 11:39 AM -0500 12/18/01, Lihn, Horng-Twu wrote: Hi, I am planning a website and considering either using Mason or using embperl. I already digged into Mason and am reading embperl manual. Can someone shed some light about these two tools with regard to ease of use, current development effort, and the future support level? That could start an interesting battle. I'll just say that I've found support for embperl to be excellent, and that I went with it because it has an understanding of the underlying html, making it very easy to fill in forms, iterate over table rows with very little code. Also, if you are doing database work, look at using Embperl in conjunction with DBIx::Recordset. And of course, for Mason-style objects, look at EmbperlObject. If perl is for lazy programmers, it seems to me that embperl carries on that tradition by being designed for lazy html scripters. -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-) I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.
XSLT templating Re: Mason vs embperl
BTW. Does anybody use XSLT templating realy? I found it is rather useful and want to make new projects templates with it. Perhaps, I didn't see some difficulties and it will be problems in the future. Doesn't any body comment this thing? I hope this is not badly off topic. Thank you. -- dapi