On Tuesday, 8 Nov 2005 8:19 pm, Raj Mathur wrote: > > And to add my 2 paise worth, point 4 on the next slide (15) > conclusively shows the biggest problem with PHP -- mixing Model, View > and Controller into a single document. Unfortunately, this also goes > diametrically against requirement 10 on slide 11 (clean separation > blah blah...). Looks more like marketing-droid-speak than a > technology presentation.
Oh, come on. This is the biggest bit of unfair misinformation spread around about PHP. I have spent years looking at Perl CGIs with embedded HTML. Also, this is the whole point of Embperl, and JSP. Python CGI scripts too have been embedding HTML for years. Some over-engineered templating frameworks (like Zope templates) have emerged, scattered uses of Cheetah and Crystal can be seen here and there, and most others have been some home-grown templating framework. Which programming language has templating built-in? Every language needed for webapps had to incorporate templating using third party libraries - whether it is PHP, Perl, Java, C, Python or what else. The point is that PHP provides some very good templating engines like Smarty, PHPTemplate, etc., just as Perl provides HTML::Template. Whether a novice user feels the need for such a thing and looks around, is upto her. Most one page scripts dont, so it is overkill. I use here-documents to embed HTML templates within standalone scripts. It is simpler. - Sandip -- Sandip Bhattacharya * Puroga Technologies * [EMAIL PROTECTED] Work: http://www.puroga.com * Home/Blog: http://www.sandipb.net/blog PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3 _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
