ml is also
passed to the page.xml/htmlpage context :)
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/7/27 Julian B.
> Hello everybody,
>
> I want to switch the template/view production of my project to phptal.
> Currently it is done via plain php (normal &q
Oh my garden!
Not another non-validable templating language please :(
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/9/17 Kornel Lesiński
> On 17 Sep 2010, at 18:46, hosema...@poczta.onet.pl wrote:
>
> > Maybe it is time to lobby for PHPTAL syntax for JQUERY tm
If there's an xml serialization of it... Don't know much about it, I use
microformats instead of microdata atm...
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2010/10/8
> Hey
>
> I am planning to integrate some semanticweb technolog
Fantastic! :)
I used my own compressor during the beta period, but I feel a bit more safe
now that you've pushed in a "standard" version of it :)
Thank you!
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2010/10/25 Kornel Lesiński
>
&
I'm not sure that should get in another library... I also remind you that D2
is nearing RC state...
Couldn't you override that Doctrine_Record behaviour?
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2010/11/22 Ivo Võsa
> Hello,
> seams
That looks promising! :O
I used my own Zend_View_Abstract implemented with PHPTAL till now... Will
move to your version as soon as possible guys! :)
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2010/12/17 Anton Andriyevskyy
> Ouch, this will give goo
Robert, do you have any Zend_Application_Resource_Interface resource in the
code-base? Didn't see any (had only 10 mins to look at Ztal till now)...
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2010/12/18 Kornel Lesiński
> On Fri, 17 Dec 2010
0 msecs of time used when creating PHPTAL
instance this way...
This when running on Xen VPS, Intel i7-920, limited to 1 core, cap to 90% of
the cpu clock, 128Mb of ram dedicated to APC (apc.stat=1)...
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2
5218 O
Please tell me if it's OT, I just like Zend_Application resources that much
that I would move to it from any other framework that hasn't them :)
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2010/12/22 Marco Pivetta
> Hmm.
As soon as I have some time to breath I'll do a pull request in the git repo
;)
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2011/1/5 Robert Goldsmith
> Hello :)
>
> If you look back through the git repo you will notice that until rece
I currently use a dummy translator if I don't want my templates to be
translated... The overhead is almost 0 :)
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2011/2/15 Robert Goldsmith
> Hi again everyone :)
>
> Currently, the Ztal form
I would try using this ugly solution:
tal:define="space php:' ';"
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
2011/3/24 Robert Goldsmith
> Hi all,
>
> I'm trying to create a string ending in a space but the
else through
$engine->setPhpCodeDestination('/path/to/some/dir/here');
where $engine is your PHPTAL instance :)
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com
On 15 May 2011 06:14, Tjerk Meesters wrote:
> Hi,
>
> Try to move the cache folder instead, fil
Maybe it's just me, but when I have some lazily loaded data I build
__isset() accordingly, otherwise __isset() itself is inconsistent...
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 27 June 2011 08:25, Terin Stock wrote:
> Normally I can understand that
Me too :) Tried PHPStorm some days ago, but if PHPTal support comes, then
I'll probably switch to it :D
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
2011/6/27 Kornel Lesiński
> On Mon, 27 Jun 2011 11:03:48 +0100, Anton Andriyevskyy
> wrote:
>
> For e
siteheader.xml template file:
Some example text
Actual file rendered:
Debug Messages:
As you can see, the slot is used to combine replace a piece of my template
at runtime...
Marco Pivetta
http://twitter.com/Ocramius
http://marco
if I don't use them, like:
This makes me life easier when I want to place a banner in that position in
future... I just have to generate the content somewhere else and then stuff
it in there with metal:fill-slot. No logic needed in the template. The final
view can handle that :)
Marco Pivetta
ht
t;>
>> This makes me life easier when I want to place a banner in that position
>> in future... I just have to generate the content somewhere else and then
>> stuff it in there with metal:fill-slot. No logic needed in the template. The
>> final view can handle that :)
>
The replacement in the template above is obviously an overkill as it
is a required xhtml element, but I hope it renders the idea of being able to
replace stuff at precise spots :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 11 July 2011 10:37, Marco Pivetta wrote
ail->setSlot('content', $content);
echo $email;
I prefer the second much more because it ALSO allows the usage of variables
and encourages (imho) something that looks similar to a Decorator OOP
pattern...
Can't help with it much more, probably because of my capacity of explaining
my id
Supposing that you've set variable "l" in your template, you can just write
Logout
Login
That will do :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 13 July 2011 09:21, Teis Lindemark wrote:
> Hi,
>
> ** **
>
> I am sitting w
iling list about XML strictness being too strict...
Please keep it as it is! I love PHPTal as it is: severe on strictness!
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 15 July 2011 12:35, wrote:
> Thank you for contacting Canterris. I???m currently out of the o
Just to synthesize :)
Last login ${php: $time.timeFromNow($item.getCreated())}
becomes
Last login ${php: time.timeFromNow(item.getCreated())}
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 1 August 2011 19:35, Darrell Hamilton wrote:
> Robert,
>
> Per t
That's a suicide!
Instead, follow what stated by the docs:
http://phptal.org/manual/de/split/sysadmin.html
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 6 October 2011 15:38, Bas Kooij wrote:
> Well... now I had so many cache files in the temp
> directory
Ok, that looks much more affordable :D
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 6 October 2011 16:45, Bas Kooij wrote:
> Marco Pivetta writes:
>
> >
> >
> > That's a suicide!Instead, follow what stated by the docs:
> http
What about a recursive macro?
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 21 October 2011 21:59, GRolf wrote:
>
> I have a multilevel array, where, as the template concerns, the number of
> levels is
We could try a pure-di implementation...
Let's catch up on irc://irc.freenode.net/#zftalk.2 this evening if you'd
like to discuss it :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 9 November 2011 14:34, Piotrek Rybaltowski wrote:
> Hi,
>
> Since Z
That should be
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 23 March 2012 13:30, Anton Andriyevskyy wrote:
> Hello.
>
> Is it undocumented feature when I can have something like this to output
> string:
>
Hey Robert!
Cool stuff, but I already moved to ZF2 here... Might be OT, but just wanted
to know if there's some plans about this in some near future, or if I
should implement the renderer strategy for ZF2 via PHPTAL myself...
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivett
Indeed :)
I am just curious, as PHPTAL will surely be part of my next project which
is ZF2 based :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
2012/3/27 Kornel Lesiński
> On Tue, 27 Mar 2012 19:58:42 +0100, Marco Pivetta
> wrote:
>
> Cool stuff, b
@Robert you can count on the fact that I will work on that then :D
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 28 March 2012 10:07, Robert Goldsmith wrote:
> Hello :)
>
> We won't even consider moving ZTal to ZF2 until it is released because the
>
Nice idea! +1 for that (yes, I'm trying to convert all my projects to
composer too ;) )
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 10 April 2012 13:36, Hisateru Tanaka wrote:
> I started to use a package manager called Composer but PHPTAL was not
> f
I can make that asap, but you will need to setup an account at
packagist.organd setup the hook so that packagist listens to pushes :)
Any dependencies we should look for? Extensions/min php version?
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
2012/4/10 Kornel Lesiński
Just FYI, here's the PR about this :)
https://github.com/pornel/PHPTAL/pull/4
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 10 April 2012 22:10, Marco Pivetta wrote:
> I can make that asap, but you will need to setup an account at
> packagist.org and set
Registration on packagist is still up to kornel as he has access to the
administration for the repository. Or at least he should setup the callback
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 11 April 2012 15:05, Hisateru Tanaka wrote:
> I was surprised but happ
I just checked the travis build (don't have 5.4 myself here) at
http://travis-ci.org/#!/pornel/PHPTAL/jobs/1578050 and it seems ok (well,
ok-ish... your test is passing).
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 9 June 2012 19:38, Hisateru Tanaka wrote:
>
Use the ArrayAccess interface and implement your own iterator in your
Person object, no?
http://php.net/manual/en/class.arrayaccess.php
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 29 August 2012 15:39, GRolf wrote:
>
>
>
> Is it possible to use variab
an AST lib out there that has gained a lot of interest (I think
it's used also by the latest wonders of https://github.com/ircmaxell/PHPPHP).
Optimizers will come for sure since I'm wondering if I can use PHP-Parser
also in doctrine/common :P
Marco Pivetta
http://twitter.com/Ocramius
ht
_
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
--
Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
http://www.stogame.net
Making Ogame a better place...
___
ns like
getAge($user){/*some stuff*/}, but that destroys all the easyness of using
classes :\
Thank you for any help!
--
Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
http://www.stogame.net
Making Ogame a better place...
___
PHPTAL
Thank you :-)
Works like a charm ^_^
2009/9/16 Kornel Lesiński
> On 16-09-2009 at 15:44:51 Marco Pivetta wrote:
>
> Hi there!
>> I've been playing around with some classes I've built and now I'm getting
>> some problems with PHPTAL integration. The proble
in "language" var, not in url, so when i try
> to
> do something like phptal:cache="1d per url per language" i get an error.
>
> Is there a way?
>
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.c
If you place the ';' you won't need to place more than one 'per' :)
The idea is good ;)
It should be as easy as making a str_concat behind the scene :-)
2009/9/23 Kornel Lesiński
> On 23-09-2009 at 08:17:33 Marco Pivetta wrote:
>
> hmmm... Never used phpta
n line 7
>
> Where 7th line is of course:
>>
>
> Can I somehow use
> --
> Rafał
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
gt;
> foo/bar + php:foo()
>>
>
> php:foo() + bar/baz
>>
>
> http://phptal.org/wiki/doku.php/improvedtales
>
>
> --
> regards, Kornel
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.c
stions?
>
> --
> regards, Kornel
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
--
Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
using
> PHP obfuscators (like ioncube), you must leave PHPTAL unprotected.
> * you should redistribute PHPTAL with its license (COPYING file).
>
> --
> regards, Kornel
>
>
>
> _______
> PHPTAL mailing list
> PHPTAL@lists.motion-t
Kornel
>
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
--
Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
http://www.stogame.net
Making Oga
modifiers. Currently they're in PHPTAL namespace (PHPTAL\phptal_tales()),
> but it might make sense to move them to global namespace, so that existing
> modifiers don't need any code changes.
>
> --
> regards, Kornel
>
> __
r the time being, but what's the downside of
> violating the specs? Nobody is going to fine or imprison you for it. PHPTAL
> is an autonomous library.
>
> _______
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phpt
ar.php?
>
> Roman
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
--
Marco Pivetta - Ocramius Aethril
http://twit
Didn't think about week days and weeks, sorry ^_^'' (Yeah, stupid
mistake...)
2010/2/9 Kornel Lesinski
> On 9 Feb 2010, at 11:00, Marco Pivetta wrote:
>
> > Isn't it simpler to build it with an and just some CSS? Table layout
> is not that good for calendars
Use Macros! :)
This will generate nested 's assuming that every "listitem" is an array
of 0 or more arrays
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/5/3 GRolf
>
>
> Is there a way to print an tree recursively with PHPTal, that i
what about adding something like this?
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/5/3 GRolf
>
>
> To make matters worse ... would there be a way to show something else on
> the last level ?
>
> I'd like to show a checkbox, but only for the it
rectly write to the buffer, but it still doesn't work.
Is that an expected behaviour? Is "meta" a reserved xml tag?
Is it related with the document type (XML+XHTML) that I've set? Do I have to
switch to XML only?
Thank you in advance for any suggestions :)
Marco Pivetta -
So I'm forced to set XML only, right?
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/5/5 Murat Çorlu
> Meta tags don't have content actually. Maybe this is about that situation.
>
> Murat Corlu
>
>
> On 05/05/2010 12:09 PM, Marco Pivetta wrote:
Works fine now :) Thank you!
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/5/5 Kornel Lesiński
> On 05-05-2010 at 10:20:28 Marco Pivetta wrote:
>
> So I'm forced to set XML only, right?
>>
>
> By default PHPTAL works in XHTML mode, and in this m
57 matches
Mail list logo