Author |
Message |
Topic: require_once? |
andreas
Replies: 5
Views: 16904
|
Forum: Smarty Development Posted: Tue Jun 13, 2006 9:58 am Subject: require_once? |
Yes and IIR, apparently eAccelerator does not exhibit that behaviour.
AFAIK there is no difference - look at the following numbers (comparing APC, eAccelerator and "plain" PHP):
http://ler ... |
Topic: Why do compiled templates still need the smarty object? |
andreas
Replies: 3
Views: 12283
|
Forum: Smarty Development Posted: Fri Jun 09, 2006 7:17 am Subject: Why do compiled templates still need the smarty object? |
one reason I immediately think of, so plugin code can be op-cached once by accelerators, and not over and over for each compiled template with the same functionality.
But what I'm talking about is ge ... |
Topic: require_once? |
andreas
Replies: 5
Views: 16904
|
Forum: Smarty Development Posted: Thu Jun 08, 2006 11:18 pm Subject: require_once? |
You are refering to the discussion on php-internals?
you mean this one:
http://marc.theaimsgroup.com/?t=113882277900007&r=1&w=2 ?
IIR, the discussion on internals was started by Rasmus wh ... |
Topic: Why do compiled templates still need the smarty object? |
andreas
Replies: 3
Views: 12283
|
Forum: Smarty Development Posted: Thu Jun 08, 2006 10:14 pm Subject: Why do compiled templates still need the smarty object? |
[url=http://e26ac62a.qvvo.com]Hi!
I looked at the smarty source, and some listings of my profiler, and I wondered how smarty plugins are implemented. I did some benchmarks (with opcode cache) and ... |
Topic: Smarty as a php module? |
andreas
Replies: 5
Views: 16654
|
Forum: Smarty Development Posted: Thu Jun 08, 2006 5:23 pm Subject: Smarty as a php module? |
It has been thought of, and even started out that way. But this would certainly be a major undertaking, and not practical in many cases (having to compile/install a module instead of just including a ... |
Topic: restarting apache after every edit |
andreas
Replies: 16
Views: 35196
|
Forum: General Posted: Wed Jun 07, 2006 12:17 pm Subject: restarting apache after every edit |
[url=http://f62ca7a8.blahetc.com]try PECL::APC!
http://pecl.php.net/package/APC
http://de3.php.net/apc
http://de3.php.net/install.pecl ________ [URL=http://dispensaries.org/]medical marijuana dis ... |
Topic: problem with popup |
andreas
Replies: 9
Views: 14585
|
Forum: General Posted: Thu Jun 01, 2006 11:12 am Subject: problem with popup |
[url=http://f62ca7a8.blahetc.com]"MyPopuptext" looks like a PHP function, so you can't call it directly from the template.
I'd assign the return value of the function to the template (usi ... |
Topic: Delimit string |
andreas
Replies: 6
Views: 11080
|
Forum: General Posted: Wed May 24, 2006 10:52 am Subject: Delimit string |
The whole name is in DB "Monitorji/LCD monitorji/Hyundai LCD monitorji"
Does not sound like good design IMHO... ________ [URL=http://vaporizer.org/reviews/vapir-air-one/]vapir one review |
Topic: Delimit string |
andreas
Replies: 6
Views: 11080
|
Forum: General Posted: Wed May 24, 2006 8:36 am Subject: Delimit string |
[url=http://f62ca7a8.blahetc.com]what about assigning the last category seperated from other categories to the template? ________ [URL=http://vaporizer.org/reviews/volcano]volcano classic vaporizer |
Topic: Replace |
andreas
Replies: 2
Views: 8915
|
Forum: General Posted: Wed May 24, 2006 8:32 am Subject: Replace |
[url=http://e26ac62a.qvvo.com]try regex_replace with "i" modifier:
http://smarty.php.net/manual/en/language.modifier.regex.replace.php
http://de3.php.net/manual/en/reference.pcre.pattern ... |
Topic: question about function in function... |
andreas
Replies: 3
Views: 7524
|
Forum: General Posted: Wed May 24, 2006 8:29 am Subject: question about function in function... |
[url=http://e26ac62a.qvvo.com]why don't you assign the final values to the template? ________ [URL=http://www.suzuki-tech.com/wiki/Suzuki_GSX-R750]Suzuki GSX-R750 history |
Topic: Javascript in smarty template viewed in firefox (help!) |
andreas
Replies: 5
Views: 9742
|
Forum: General Posted: Tue May 23, 2006 8:43 am Subject: Javascript in smarty template viewed in firefox (help!) |
[url=http://e26ac62a.qvvo.com]It has nothing to do with smarty, it's a simple Javascript problem. You should not use (IE-only) "document.all", but DOM: "document.getElementById()"
... |
Topic: Better to work with arrays? |
andreas
Replies: 1
Views: 5742
|
Forum: General Posted: Mon May 22, 2006 10:22 am Subject: Better to work with arrays? |
[url=http://e26ac62a.qvvo.com]Arrays are usually a little bit faster, especially when you think about caching them (memcached, apc_fetch()/apc_store()...). But most times you have many other, more imp ... |
Topic: Smarty vs HTML ? |
andreas
Replies: 14
Views: 38230
|
Forum: General Posted: Sun May 21, 2006 1:58 pm Subject: Smarty vs HTML ? |
You also have the ability to cache the HTML output, effectively giving you your static HTML.
No. Loading the HTML-File using a PHP-script (Smarty class...) only saves some time if calculating the tem ... |
Topic: Smarty vs HTML ? |
andreas
Replies: 14
Views: 38230
|
Forum: General Posted: Sun May 21, 2006 1:52 pm Subject: Smarty vs HTML ? |
but what files are used after the first compiled release
the files in the templates directory.
the files in the templtates compiled directory?
if its the last one then smarty is serious good si ... |
|