Re: [PHP] templeting

2012-09-05 Thread Mihamina Rakotomandimby

On 09/04/2012 04:14 AM, David McGlone wrote:

Does anyone use any templeting system for any projects? If so what would
anyone recommend? I looked at Code Ignitor, but it seems the templeting system
is optional and left out by default.


- Jelix / jTpl
- Symfony / Twig

--
RMA.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] templeting

2012-09-04 Thread Louis Huppenbauer
2012/9/4 tamouse mailing lists tamouse.li...@gmail.com

 On Mon, Sep 3, 2012 at 8:49 PM, David McGlone da...@dmcentral.net wrote:
  On Monday, September 03, 2012 09:45:23 PM David OBrien wrote:
  On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote:
   Does anyone use any templeting system for any projects? If so what
 would
   anyone recommend? I looked at Code Ignitor, but it seems the
 templeting
 
  system is optional and left out by default.
 
  I use smarty
 
  I've used smarty in the past and was thinking about that, but PEAR is
 absolete
  anymore and I don't really know of a good replacement. :-/

 I use Smarty as well, but I've never used it from PEAR. I just use the
 version downloadable from http://www.smarty.net

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


I'm mostly working with twig, a symfony2 framework component.
I especially like it's template inheritance and the (in my opinion) very
clear syntax.

http://twig.sensiolabs.org/


Re: [PHP] templeting

2012-09-04 Thread Simon Schick
On Tue, Sep 4, 2012 at 8:16 AM, Louis Huppenbauer
louis.huppenba...@gmail.com wrote:

 I'm mostly working with twig, a symfony2 framework component.
 I especially like it's template inheritance and the (in my opinion) very
 clear syntax.

 http://twig.sensiolabs.org/

Hi, all

I most like to use template-engines that does not allow to write
direct PHP code in the template.
This restricts you to split the logic from the displaying code.

Template-engines I know of:
* Smarty
* Twig
* FLUID
* OPT (Open Power Template)

If you want a bigger list, visit wikipedia:
http://de.wikipedia.org/wiki/Template-Engine#Template-Engines_f.C3.BCr_PHP
http://en.wikipedia.org/wiki/Template_engine_%28web%29#Comparison

What I used most is Twig. For the next project (if it has no
template-engine build in in the system I choose) I'll give OPT a try.
It looks promising ;)

Bye
Simon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] templeting

2012-09-04 Thread Lester Caine

tamouse mailing lists wrote:

I've used smarty in the past and was thinking about that, but PEAR is absolete
anymore and I don't really know of a good replacement. :-/

I use Smarty as well, but I've never used it from PEAR. I just use the
version downloadable fromhttp://www.smarty.net


I'm still on Smarty2 and we 'maintain' our own copy, but starting a new setup, 
Smarty3 just needs a different style of working if you have used 2 in the past.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] templeting

2012-09-04 Thread Adam Richardson
On Mon, Sep 3, 2012 at 9:14 PM, David McGlone da...@dmcentral.net wrote:
 Does anyone use any templeting system for any projects? If so what would
 anyone recommend? I looked at Code Ignitor, but it seems the templeting system
 is optional and left out by default.

 --
 Regards
 David M.

Well, for a different take on templating, my web framework is
basically just a combination of input validation and output mechanisms
(templating.) The library takes a functional programming approach in
terms of architecture.

Here's an example of the markup:
http://nephtaliproject.com/documentation/markup/

Page output regions are broken up into pipes, and if one pipe errors
out, it does not impact the other output regions.

It does other things, too (config settings, debugging output, avoid
prompts on back clicks after posting data, convenient PDO wrappers,
etc.), but at its core, it's really a templating framework with input
validation capabilities.

Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] templeting

2012-09-03 Thread David OBrien
On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote:

 Does anyone use any templeting system for any projects? If so what would
 anyone recommend? I looked at Code Ignitor, but it seems the templeting
system
 is optional and left out by default.

 --
 Regards
 David M.

I use smarty


Re: [PHP] templeting

2012-09-03 Thread David McGlone
On Monday, September 03, 2012 09:45:23 PM David OBrien wrote:
 On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote:
  Does anyone use any templeting system for any projects? If so what would
  anyone recommend? I looked at Code Ignitor, but it seems the templeting
 
 system is optional and left out by default.

 I use smarty

I've used smarty in the past and was thinking about that, but PEAR is absolete 
anymore and I don't really know of a good replacement. :-/

-- 
Regards
David M.

Re: [PHP] templeting

2012-09-03 Thread tamouse mailing lists
On Mon, Sep 3, 2012 at 8:49 PM, David McGlone da...@dmcentral.net wrote:
 On Monday, September 03, 2012 09:45:23 PM David OBrien wrote:
 On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote:
  Does anyone use any templeting system for any projects? If so what would
  anyone recommend? I looked at Code Ignitor, but it seems the templeting

 system is optional and left out by default.

 I use smarty

 I've used smarty in the past and was thinking about that, but PEAR is absolete
 anymore and I don't really know of a good replacement. :-/

I use Smarty as well, but I've never used it from PEAR. I just use the
version downloadable from http://www.smarty.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php