Search found 7 matches

by psatish
Mon Oct 03, 2005 8:54 am
Forum: PHP - Theory and Design
Topic: How much Smarty is good for health??
Replies: 11
Views: 3706

Maugrim_The_Reaper wrote:Just be careful using the "caching" term with Smarty. It uses it in a different capacity to simple Template=>PHP caching as you referred to...
Sorry, I am not sure I understood that. Could you please specify? Is that a security issue?

Thanks
by psatish
Mon Oct 03, 2005 5:59 am
Forum: PHP - Theory and Design
Topic: How much Smarty is good for health??
Replies: 11
Views: 3706

Thanks for the reply phpdevuk . Yes, since it caches the pages the overheads should not be more than loading a PHP page directly. But what happens when the template changes? Smarty wipes out the old cache and puts in the new page? Maybe uses the file timestamp to check if the page changed? Thanks an...
by psatish
Mon Oct 03, 2005 2:57 am
Forum: PHP - Theory and Design
Topic: How much Smarty is good for health??
Replies: 11
Views: 3706

How much Smarty is good for health??

Hi All I have been working on a site with Smarty Template Engine and found it quite useful. However I was wanting to know how much does Smarty, or any other template engine for that matter, affect performance? My site needs one kind of navigation bar on the top and side to be shown when the user is ...
by psatish
Fri Sep 30, 2005 10:40 pm
Forum: PHP - Theory and Design
Topic: index.php?somevar=somepage linking
Replies: 19
Views: 4858

Actually that's not Murphy's Law, that's a proverb about narrowmindedness. Murphy's Law is: "If anything can go wrong, it will" and was about taking into account all potential points of failure when engineering something. Yes, quite true but I remember to have read it in the Murphy's Laws...
by psatish
Fri Sep 30, 2005 12:41 pm
Forum: PHP - Theory and Design
Topic: index.php?somevar=somepage linking
Replies: 19
Views: 4858

I have implemented the same after reading all the discussions. So now all my pages are channelled through index.php with a querystring showing what page to be loaded.

But I think my application design has to be more tightly OOP-ed to take advantage of such designs.

Thanks and Regards
by psatish
Tue Sep 27, 2005 11:22 am
Forum: PHP - Theory and Design
Topic: index.php?somevar=somepage linking
Replies: 19
Views: 4858

Thanks for your replies. But what can one do if we want to pass querystrings? I have page where I am passing as

Code: Select all

abc.php?ownerid=1
What do I do then?

Thanks and Regards
by psatish
Tue Sep 27, 2005 9:31 am
Forum: PHP - Theory and Design
Topic: index.php?somevar=somepage linking
Replies: 19
Views: 4858

Hi All I am a newbie to PHP and have just started out on a large project. It has a demo version that has the index.php?page=somepage format. I read the earlier posts but am still not clear if it is definitely a good idea to do this instead of using a direct link to the desired page. Could somebody h...