Re: [PHPTAL] PHP content in templates

2012-05-21 Thread Anton Andriyevskyy
+1 for additions in documentation and prefilter. On Monday, May 21, 2012, Robert Goldsmith wrote: Hello :) I was actually surprised that the behaviour existed in the first place simply because it appears to go against the entire ethos of PHPTAL. If I was to consider such a thing as a

Re: [PHPTAL] How about Composer?

2012-04-12 Thread Anton Andriyevskyy
://lists.motion-twin.com/mailman/listinfo/phptal -- Anton Andriyevskyy Business Automation Web Development ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

[PHPTAL] HTML5 - requires link to be closed

2011-11-24 Thread Anton Andriyevskyy
('page', $page) -execute(); I get this exception: *Tag closure mismatch, expected /link (opened in line 24) but found /head * ... but HTML5 does not require link to be closed. So how to deal, any ideas? Anton Andriyevskyy Business Automation Web Development

Re: [PHPTAL] HTML5 - requires link to be closed

2011-11-24 Thread Anton Andriyevskyy
output a closed link or not? Sent via BlackBerry by ATT -Original Message- From: Anton Andriyevskyy x.meg...@gmail.com Sender: phptal-boun...@lists.motion-twin.com Date: Thu, 24 Nov 2011 23:10:07 To: Template Attribute Language for PHPphptal@lists.motion-twin.com Reply-To: Template

[PHPTAL] Any updates to translation tools?

2011-08-06 Thread Anton Andriyevskyy
know if this is good idea, Kornel. Thanks, Anton Andriyevskyy Business Automation Web Development ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] Minimized version of modifiers

2011-07-15 Thread Anton Andriyevskyy
this change, I'm just interested if someone used to do so and how it was done. Regards, Anton Andriyevskyy Business Automation Web Development On Fri, Jul 15, 2011 at 10:59 AM, Robert Goldsmith rgoldsm...@names.co.ukwrote: I agree with this entirely and would like to add my voice

Re: [PHPTAL] Minimized version of modifiers

2011-07-15 Thread Anton Andriyevskyy
, at 09:22, Anton Andriyevskyy wrote: and also, for guys who love all this long and annoying xml things, attributes etc... Is it not true that setting up routing in concise way like with F3 framework: F3::route('GET /login', 'PageLogin::run'); ... is really more clean and readable then 5

Re: Re: [PHPTAL] Minimized version of modifiers

2011-07-14 Thread Anton Andriyevskyy
, and this ends up with very concise syntax, so I'm remaining sure that conciseness is good and simplifies many things. In case of phptal, not only writing of html becomes faster, but also reading - which is very important when you do refactoring and maintenance. Regards, Anton Andriyevskyy

Re: Re: [PHPTAL] Minimized version of modifiers

2011-07-14 Thread Anton Andriyevskyy
Darrell, thanks for your detailed opinion, but this does not work for me, sorry. But of course your message may be useful to other readers, so I'll just keep going my way without arguing with you, thanks ;) Anton Andriyevskyy Business Automation Web Development On Fri, Jul 15, 2011 at 1:19 AM

[PHPTAL] How slots are better then macro?

2011-07-11 Thread Anton Andriyevskyy
I still do not understand when and why to use slots, I always use macro. Can anyone show me a meaningful and useful example demonstrating when slots are better then macro? Regards, Anton Andriyevskyy Business Automation Web Development ___ PHPTAL

Re: [PHPTAL] How slots are better then macro?

2011-07-11 Thread Anton Andriyevskyy
Ok, Marco, so actually we are still continuing to use macro, but we make them more dynamic by defining slots, correct? Then still I have question how it's better then defining macro (instead of fill-slot) and call it with variable macro name inside template? Any thoughts? Anton Andriyevskyy

Re: [PHPTAL] How slots are better then macro?

2011-07-11 Thread Anton Andriyevskyy
where slots are better then macro. Thanks, Anton Andriyevskyy Business Automation Web Development On Mon, Jul 11, 2011 at 10:51 AM, Marco Pivetta ocram...@gmail.com wrote: Suppose that you wrote a complex template... It has a header, footer, sidebars, h1, site logo... Let's say you wish

Re: [PHPTAL] How slots are better then macro?

2011-07-11 Thread Anton Andriyevskyy
no chance to find such usage yet. Regards, Anton Andriyevskyy Business Automation Web Development On Mon, Jul 11, 2011 at 11:41 AM, Marco Pivetta ocram...@gmail.com wrote: The head/ replacement in the template above is obviously an overkill as it is a required xhtml element, but I hope

Re: [PHPTAL] Lets boost PHPTAL support in PHPSTORM!

2011-06-28 Thread Anton Andriyevskyy
Marco, I tried Eclipse, NetBeans and few others, and now when I tried PHPStorm I forgot about everything happened to me before, and I'm HAPPY. It's powerful. So much powerful. So try all its features and you will love it. Regards, Anton Andriyevskyy Business Automation Web Development On Tue

[PHPTAL] Lets boost PHPTAL support in PHPSTORM!

2011-06-27 Thread Anton Andriyevskyy
Hello. For everyone who loves PHPTAL, please spend 2 minutes and vote for PHPTAL support in PhpStorm IDE. Here is the link: http://youtrack.jetbrains.net/issue/WI-2593?projectKey=WI P.S. Registration is not needed because there is openid login. Thanks! Anton Andriyevskyy Business Automation

Re: [PHPTAL] Implementing phptal modifiers as static methods in multiple classes

2011-06-12 Thread Anton Andriyevskyy
is a tool to use PHPTAL with F3 PHP framework) Regards, Anton Andriyevskyy Business Automation Web Development 2011/6/5 Kornel Lesiński kor...@geekhood.net On Fri, 03 Jun 2011 08:12:19 +0100, Anton Andriyevskyy x.meg...@gmail.com wrote: Currently in PHPTAL I don't think it's possible

[PHPTAL] Implementing phptal modifiers as static methods in multiple classes

2011-06-03 Thread Anton Andriyevskyy
phptal_tales_modifier U2. Call PHPTAL_TalesRegistry-getInstance()-registerPrefix(array('myClass1', 'myClass2', ...)); U3. Use my modifiers in templates, having php autoload in place. Regards, Anton Andriyevskyy Business Automation Web Development

Re: [PHPTAL] Ztal 1.0.0

2010-12-17 Thread Anton Andriyevskyy
Ouch, this will give good fire to PHPTAL. Good news! Anton Andriyevskyy Expert in Business Automation Web Development On Fri, Dec 17, 2010 at 6:06 PM, Robert Goldsmith rgoldsm...@names.co.ukwrote: Hi everyone :) I'm pleased to announce the 1.0.0 release of Ztal, available here: http

Re: [PHPTAL] Re: Feature request: Allow array as parameter of PHPTAL's set() method

2010-11-22 Thread Anton Andriyevskyy
? Anton Andriyevskyy Expert in Business Automation Web Development On Mon, Nov 22, 2010 at 1:54 PM, Moritz Baumann flamin...@online.de wrote: Kornel Lesiński kor...@... writes: $template = new PHPTAL($this-_viewDir . DS . $fileName); $template-set($this-_viewVars); Another thing

Re: [PHPTAL] Re: Feature request: Allow array as parameter of PHPTAL's set() method

2010-11-22 Thread Anton Andriyevskyy
As for me, methods overloading is good only with explicitly typed languages. Otherwise it's just potential for bugs and problems even in work of experienced problem. Anton Andriyevskyy Expert in Business Automation Web Development On Mon, Nov 22, 2010 at 4:58 PM, Tjerk Meesters tjerk.meest

Re: [PHPTAL] Re: Feature request: Allow array as parameter of PHPTAL's set() method

2010-11-22 Thread Anton Andriyevskyy
Kornel, +1 about error detection. Makes sense in case of PHP language! Anton Andriyevskyy Expert in Business Automation Web Development 2010/11/22 Kornel Lesiński kor...@geekhood.net On 22 Nov 2010, at 14:58, Tjerk Meesters wrote: My bad, I did read from the beginning but I think

[PHPTAL] Custom modifiers - any callback function

2010-11-03 Thread Anton Andriyevskyy
', phpStandardCallback) This will allow to better integrate PHPTAL into pure OOP frameworks like Kohana, CI and others. http://phptal.org/manual/en/split/custom-modifiers.htmlRegards, Anton Andriyevskyy Expert in Business Automation Web Development ___ PHPTAL mailing

Re: [PHPTAL] Custom modifiers - any callback function

2010-11-03 Thread Anton Andriyevskyy
Thanks for your detailed explanations. It all makes sense. 2010/11/3 Kornel Lesiński kor...@aardvarkmedia.co.uk On 03-11-2010 at 12:26:14 Anton Andriyevskyy x.meg...@gmail.com wrote: Thanks for hinting to that method. Actually it can be just right way to follow fully-OOP framework like

Re: [PHPTAL] DocBook killer

2010-10-25 Thread Anton Andriyevskyy
Kornel, I remember that I have not finished translation to Russian, the problem partially is because there are no useful tools for DocBook. Maybe with Markdown we will go faster? Or it's not related to site translation at all? Anton Andriyevskyy Expert in Business Automation Web Development

Re: [PHPTAL] PHPTAL PEAR news

2009-12-01 Thread Anton Andriyevskyy
Congradulations! Anton 2009/12/1 Kornel Lesiński kor...@aardvarkmedia.co.uk PHPTAL has been accepted as official PEAR package! http://pear.php.net/package/HTML_Template_PHPTAL The good things: * It's been reviewed by PEAR team and they'll be keeping eye on package's quality. * It's

[PHPTAL] Hi everyone

2009-11-30 Thread Anton Andriyevskyy
Can I post my vacancy in this list? Thanks, Anton ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] German translation of the phptal documentation

2008-10-10 Thread Anton Andriyevskyy
Very good. Lets make it popular world-wide. But please do not haste. Just translate as pleasure process and make it good! I'm doing Russian translation. I wish to make it the best. Anton On Fri, Oct 10, 2008 at 1:23 AM, Axel Zöllich [EMAIL PROTECTED] wrote: Why use