Author |
Message |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Wed Feb 01, 2006 8:52 am Subject: Smarty 3.0: initial discussion |
The only thing i could think of how Smarty could help AJAX is to have an option to send the pages as Content-Type: text/xml. Alternatively you could also add a option to directly gzip the output via S ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Wed Dec 21, 2005 11:16 am Subject: Smarty 3.0: initial discussion |
It's been a long time. Any new ideas? When do you want to start coding? I would like to help if i can... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Thu Nov 10, 2005 3:32 pm Subject: Smarty 3.0: initial discussion |
I thought a little about the Meta Format for templates.
Every Template Element would be a seperate object of types SmartyMetaTag, SmartyMetaVar, SmartyMetaBlock and SmartyMetaText
The SmartyMetaTemp ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Sun Nov 06, 2005 10:09 pm Subject: Smarty 3.0: initial discussion |
A completely replaceable Compiler is indeed a good thing. But that could be split up a little bit more.
One part parses the template tags and returns the tagnames and attributes.
The other part uses ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Wed Oct 26, 2005 5:43 am Subject: Smarty 3.0: initial discussion |
Overridable classes for Templace Access and Cache Access sound great.
I like assign because its shorter to type And it has been in smarty since its beginning (afaik).
And besides that your exam ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Thu Oct 20, 2005 8:19 pm Subject: Smarty 3.0: initial discussion |
the last days i have thought a little about how one could implement an easy to use xml-like smarty syntax with simplexml... simplexml would be great for thungs like that.
but theres one problem: the ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Wed Sep 28, 2005 1:47 pm Subject: Smarty 3.0: initial discussion |
I think that cached templates should be php files as well.
This should speed up things a little bit (no more parsing of cache files) and help a lot with non-cacheable plugins/blocks.
some checks lik ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Tue Aug 16, 2005 11:52 pm Subject: Smarty 3.0: initial discussion |
I thought such xml style could be achieved with left/right delimiter but on a closer look its not.
xml style syntax would indeed be interesting but it seems to be harder to implement than these simpl ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Wed Aug 10, 2005 8:39 pm Subject: Smarty 3.0: initial discussion |
I18N would definitely be a good feature.
I use a modified version of John Coggeshalls IntSmarty. I like the way it works and it is also integrated with php so you can provide translated variable cont ... |
Topic: Smarty 3.0: initial discussion |
Swatinem
Replies: 172
Views: 535372
|
Forum: Smarty Development Posted: Fri Aug 05, 2005 9:20 pm Subject: Smarty 3.0: initial discussion |
without having read the whole thread i would definetely prefer PHP5 (5.1 would be good too).
Sure, many hosters won't support PHP5 in 1-2 years but just think about the time that Smarty 3 would take ... |
Topic: try/catch for smarty (with patch) |
Swatinem
Replies: 4
Views: 25584
|
Forum: Feature Requests Posted: Thu Jan 27, 2005 6:31 am Subject: try/catch for smarty (with patch) |
i planned something like this:
{if !empty($smarty.post.submitted)}
{try}
{post->submit}
Form has been successfully submitted
{catch}
... |
Topic: try/catch for smarty (with patch) |
Swatinem
Replies: 4
Views: 25584
|
Forum: Feature Requests Posted: Wed Jan 26, 2005 10:32 pm Subject: try/catch for smarty (with patch) |
Well i thought this feature would be nice, since i want to make exception handling on the template level.
And i even made a "quick and dirty" implementation of this using the compiler class.
Thi ... |
|