Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 12 matches
Smarty Forum Index
Author Message
  Topic: Any updates on Smarty 3.2?
rudder

Replies: 16
Views: 20397

PostForum: Smarty Development   Posted: Fri Apr 07, 2017 12:09 am   Subject: Any updates on Smarty 3.2?
Hi AnrDaemon, thanks for being active on this thread.

Could you give the community an update on 3.2 and especially on the support of namespaces?

Specifically it'd be really nice to do something ...
  Topic: Smarty 3.2 or Namespace support follow up
rudder

Replies: 4
Views: 9406

PostForum: Smarty Development   Posted: Fri Apr 17, 2015 2:21 am   Subject: Smarty 3.2 or Namespace support follow up
Hi everyone,

I'm curious, since 2013 there was discussion of Smarty 3.2 coming out, with possible namespace support. I wonder what is going on in this department? Has the 3.2 and/or Namespace sup ...
  Topic: Any updates on Smarty 3.2?
rudder

Replies: 16
Views: 20397

PostForum: Smarty Development   Posted: Tue Mar 11, 2014 12:16 am   Subject: Any updates on Smarty 3.2?
I don't see how anyone can "despise" it as being old fashioned. It is still a high quality piece of code with a very elegant template language.

But without namespace support some of us ...
  Topic: Any updates on Smarty 3.2?
rudder

Replies: 16
Views: 20397

PostForum: Smarty Development   Posted: Fri Jan 10, 2014 8:50 pm   Subject: Any updates on Smarty 3.2?
Was hoping to check in and see how 3.2 is coming along. We're some of the devs who would love to see NameSpace support (for calling constants, static vars, and methods of namespaced classes).
  Topic: Namespaces support
rudder

Replies: 14
Views: 57681

PostForum: Smarty 3   Posted: Mon Mar 18, 2013 11:57 pm   Subject: Namespaces support
Really glad to hear 3.2 will support Namespaces, in particular, the following are really important:


Using namespaced class constants and static variables
Accessing namespaced static class met ...
  Topic: Smarty 3 on GitHub
rudder

Replies: 10
Views: 14861

PostForum: General   Posted: Mon Jan 23, 2012 11:29 pm   Subject: Smarty 3 on GitHub

Is Google supporting some sort of pull-request functionality like GitHub offers? Otherwise I don't see (quite) the benefit of using git anywhere but GitHub considering your argument of collaboration ...
  Topic: Smarty 3 on GitHub
rudder

Replies: 10
Views: 14861

PostForum: General   Posted: Mon Jan 23, 2012 9:09 pm   Subject: Smarty 3 on GitHub
Is there any chance that the Smarty admin would consider switching Smarty's official repo to Git? Google Code should support Git as a repo type as of July 2011, and it would really make collaboration ...
  Topic: Best practices: PHP5 namespaces
rudder

Replies: 3
Views: 4281

PostForum: General   Posted: Mon Oct 03, 2011 10:14 am   Subject: Best practices: PHP5 namespaces
Thanks for the reply mohrt. We'll use registerClass to accomplish our needs!

For bad practices, I was referring to posts in the past, such as your post here where you discourage using methods in I ...
  Topic: Best practices: PHP5 namespaces
rudder

Replies: 3
Views: 4281

PostForum: General   Posted: Wed Sep 07, 2011 2:45 pm   Subject: Best practices: PHP5 namespaces
We've moved to Smarty 3 recently, and have been using PHP5.3 for a while. What we've noticed is that Smarty doesn't support namespaces in general, eg when calling static functions or using static var ...
  Topic: NFS templates_c and high traffic solutions for compiling tpl
rudder

Replies: 3
Views: 6002

PostForum: Smarty 3   Posted: Tue Mar 30, 2010 12:14 am   Subject: NFS templates_c and high traffic solutions for compiling tpl
In a continuation of a @rudder:

With the complex Lexer/Parser of Smarty3, on a High-Load Website, this is not a good Idea.

I think the best is, to share the whole Web-Directory (with templates_c ...
  Topic: massive performance impact on initial template compiling
rudder

Replies: 37
Views: 27900

PostForum: Smarty 3   Posted: Thu Mar 25, 2010 11:43 pm   Subject: massive performance impact on initial template compiling
Sorry if this is offtopic, but what would be a few recommended scenarios in situations of load balanced servers each which have their independent templates_c folders?

In our situation we will have ...
  Topic: array of template directories in smarty 3
rudder

Replies: 1
Views: 5410

PostForum: Smarty 3   Posted: Fri Nov 13, 2009 6:27 pm   Subject: array of template directories in smarty 3
There is an undocumented feature of Smarty. If you assign an array of folders to $smarty->template_dir it will seach the folders in the order of the array until it finds the template.

Since the ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP