Author |
Message |
Topic: Smarty 3.0: initial discussion |
saerdna
Replies: 172
Views: 534994
|
Forum: Smarty Development Posted: Sun Oct 16, 2005 9:43 pm Subject: Smarty 3.0: initial discussion |
Not to worry -- Smarty 2.x still has a lot of life in it![/quote]
yeah! im looking forward to php 5.1 and smarty using its idioms. will be nice. waiting for mysql 5 too. weei |
Topic: The battle of PHP templates |
saerdna
Replies: 9
Views: 54077
|
Forum: Article Discussions Posted: Sun Oct 16, 2005 9:08 am Subject: The battle of PHP templates |
yeah using <?php tags everywhere in a template doesnt destroy the readabilty, i promise |
Topic: foreach - Apache Segmentation Fault (updated) |
saerdna
Replies: 5
Views: 10430
|
Forum: General Posted: Sun Oct 16, 2005 9:06 am Subject: foreach - Apache Segmentation Fault (updated) |
Are you sure it isnt something in the php cvs which is wrong? |
Topic: Q. Application with Multi Users using $force_compile = true |
saerdna
Replies: 5
Views: 10080
|
Forum: General Posted: Sun Oct 16, 2005 9:02 am Subject: Q. Application with Multi Users using $force_compile = true |
You need to learn about the difference between cache and compiled cache.
Basicly, compiled cache just convert smarty language to php to run it faster while cached template stores the output.
Co ... |
Topic: Smarty and Confixx |
saerdna
Replies: 5
Views: 18044
|
Forum: Tips and Tricks Posted: Sat Oct 15, 2005 10:52 pm Subject: Smarty and Confixx |
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=5617 |
Topic: forgot to post this months ago http://www.gurn.net |
saerdna
Replies: 4
Views: 49665
|
Forum: Showcase Posted: Sat Oct 15, 2005 4:59 pm Subject: forgot to post this months ago http://www.gurn.net |
nice layout i like the footer. |
Topic: CVS Resources for Smarty |
saerdna
Replies: 4
Views: 41174
|
Forum: Feature Requests Posted: Sat Oct 15, 2005 4:48 pm Subject: CVS Resources for Smarty |
Where's Smary_3_0_alpha ? :-d on the hidden subversion server you guys are migrating to? |
Topic: The battle of PHP templates |
saerdna
Replies: 9
Views: 54077
|
Forum: Article Discussions Posted: Sat Oct 15, 2005 4:18 pm Subject: The battle of PHP templates |
Indeed interesting, it gave me something to think about. I never used any other template engine other than smarty, the fact that smarty is a subject to competition was new to me. Anyway, why do they ( ... |
Topic: Smarty 3.0: initial discussion |
saerdna
Replies: 172
Views: 534994
|
Forum: Smarty Development Posted: Mon Sep 19, 2005 6:06 pm Subject: Smarty 3.0: initial discussion |
Optimization of what? Development process, flexibility, speed? At what trade-offs? Personally, I would like more flexibility with a streamlined process that relied more on PHP5 features rather tha ... |
Topic: Smarty 3.0: initial discussion |
saerdna
Replies: 172
Views: 534994
|
Forum: Smarty Development Posted: Mon Sep 19, 2005 2:18 pm Subject: Smarty 3.0: initial discussion |
one idea that came up, nothing special really but anyway.
if features are going to be modules it would be nice if you make a interface for modules.
public interface SmartyModule
{
/* abst ... |
Topic: Smarty conditionals and bitwise operators |
saerdna
Replies: 11
Views: 23290
|
Forum: General Posted: Wed Jul 20, 2005 9:16 pm Subject: Smarty conditionals and bitwise operators |
bitwise operators rule |
Topic: Sometimes the page doesn't update... |
saerdna
Replies: 5
Views: 9070
|
Forum: General Posted: Wed Jul 20, 2005 9:07 pm Subject: Sometimes the page doesn't update... |
http://smarty.php.net/manual/en/variable.compile.check.php |
Topic: Problem with php code in the template |
saerdna
Replies: 9
Views: 11585
|
Forum: General Posted: Wed Jul 20, 2005 8:59 pm Subject: Re: Problem with php code in the template |
This is a perfect example of how not to use Smarty. The templates should contain presentation logic only. The above code is application logic, something that should never be embedded in a template ... |
Topic: [OT] I posted a new PHP framework on tigris |
saerdna
Replies: 3
Views: 6545
|
Forum: General Posted: Wed Jul 20, 2005 8:51 pm Subject: [OT] I posted a new PHP framework on tigris |
dont get upset since this is the smarty forum but the reason why i use smarty is to separate php from html.
stuff like
$this->mainPane->setPadding('10px 0 200px 10px', false);
should ... |
Topic: OO PHP / Smarty / MySQL / ADOdb / CSS site structure? |
saerdna
Replies: 9
Views: 21700
|
Forum: General Posted: Wed Jul 20, 2005 7:12 pm Subject: OO PHP / Smarty / MySQL / ADOdb / CSS site structure? |
I encourage anyone to put as many files as possible outside the "public_html" dir or whatever you call it.
One important thing to keep in mind is that php can access files everywhere on the disk wh ... |
|