Re: helper or html tag ?

2007-10-01 Thread Geoff Ford

You can use ?= instead of ?php echo or ?php e(); ? - I am pretty
sure this is standard behaviour, at least I have not run into any
troubles with it.

My designer generally does the mock ups and then I place the actual
php code in the mocks.  I find that this works best for the way I
work, and most designers get a little consfused when you say just
loop over it and stuff like that that us developers just know.

Geoff
--
http://lemoncake.wordpress.com

On Oct 1, 11:28 am, Adwin  Wijaya [EMAIL PROTECTED] wrote:
 my designer knows very well about css, but we still use table and css
 (mixing) because, sometimes it would be harder to do design with css.
 if i use htmlhelper, it would be easier .. but for my designer, he
 might not understand about php code at all. and if he asking me to
 change the code or order of the code , it would takes my time as
 well ...

 btw, is cakephp 1.2 or later, will use templating like in rails ? (or
 is it already there ? )
 I hate to see echo everywhere on my templates, it looks terrible 
 i would love to see like ?php =$html-link(.) ? or like in the
 smarty {$html-link()}

 thx you
 adwin

 On Sep 29, 12:20 pm, FallenJehova [EMAIL PROTECTED] wrote:

  Hi,

  If your designer knows css, I would recommend using the htmlhelper.
  It's is very simple and fast to use for you, and as all elements are
  styleable, he'll would have no problem working with them.

  I am one of those who thinks that php is already a template language
  and smarty's features does not compensate the loss of simplicity and
  the processing overhead it produces.

  proce
  On 28 sep, 23:38, Adwin  Wijaya [EMAIL PROTECTED] wrote:

   Hi,

   for you, who are playing with cakephp for quite long, are you using
   htmlhelper or just use plain html code or smarty ?

   i  myself, get used with smarty for about 3 years and my web designer
   is get used with it (he just know how to do html and css, no idea
   about scripting).

   can you give me the advantages using cakephp helper object over using
   smarty ?
   especially for the easy of use


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: helper or html tag ?

2007-10-01 Thread Mike Green

interesting.. I didnt think ?= worked if short tags were disabled -
in fact I've come across this before and had to susbstitute every
occurence of ?= for ?php echo in a load of my code where the tags
were disabled.

Unless of course this has changed recently...

Mike


On Oct 1, 11:13 am, Geoff Ford [EMAIL PROTECTED] wrote:
 You can use ?= instead of ?php echo or ?php e(); ? - I am pretty
 sure this is standard behaviour, at least I have not run into any
 troubles with it.

 My designer generally does the mock ups and then I place the actual
 php code in the mocks.  I find that this works best for the way I
 work, and most designers get a little consfused when you say just
 loop over it and stuff like that that us developers just know.

 Geoff
 --http://lemoncake.wordpress.com

 On Oct 1, 11:28 am, Adwin  Wijaya [EMAIL PROTECTED] wrote:

  my designer knows very well about css, but we still use table and css
  (mixing) because, sometimes it would be harder to do design with css.
  if i use htmlhelper, it would be easier .. but for my designer, he
  might not understand about php code at all. and if he asking me to
  change the code or order of the code , it would takes my time as
  well ...

  btw, is cakephp 1.2 or later, will use templating like in rails ? (or
  is it already there ? )
  I hate to see echo everywhere on my templates, it looks terrible 
  i would love to see like ?php =$html-link(.) ? or like in the
  smarty {$html-link()}

  thx you
  adwin

  On Sep 29, 12:20 pm, FallenJehova [EMAIL PROTECTED] wrote:

   Hi,

   If your designer knows css, I would recommend using the htmlhelper.
   It's is very simple and fast to use for you, and as all elements are
   styleable, he'll would have no problem working with them.

   I am one of those who thinks that php is already a template language
   and smarty's features does not compensate the loss of simplicity and
   the processing overhead it produces.

   proce
   On 28 sep, 23:38, Adwin  Wijaya [EMAIL PROTECTED] wrote:

Hi,

for you, who are playing with cakephp for quite long, are you using
htmlhelper or just use plain html code or smarty ?

i  myself, get used with smarty for about 3 years and my web designer
is get used with it (he just know how to do html and css, no idea
about scripting).

can you give me the advantages using cakephp helper object over using
smarty ?
especially for the easy of use


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: helper or html tag ?

2007-09-30 Thread Adwin Wijaya

my designer knows very well about css, but we still use table and css
(mixing) because, sometimes it would be harder to do design with css.
if i use htmlhelper, it would be easier .. but for my designer, he
might not understand about php code at all. and if he asking me to
change the code or order of the code , it would takes my time as
well ...

btw, is cakephp 1.2 or later, will use templating like in rails ? (or
is it already there ? )
I hate to see echo everywhere on my templates, it looks terrible 
i would love to see like ?php =$html-link(.) ? or like in the
smarty {$html-link()}

thx you
adwin

On Sep 29, 12:20 pm, FallenJehova [EMAIL PROTECTED] wrote:
 Hi,

 If your designer knows css, I would recommend using the htmlhelper.
 It's is very simple and fast to use for you, and as all elements are
 styleable, he'll would have no problem working with them.

 I am one of those who thinks that php is already a template language
 and smarty's features does not compensate the loss of simplicity and
 the processing overhead it produces.

 proce
 On 28 sep, 23:38, Adwin  Wijaya [EMAIL PROTECTED] wrote:

  Hi,

  for you, who are playing with cakephp for quite long, are you using
  htmlhelper or just use plain html code or smarty ?

  i  myself, get used with smarty for about 3 years and my web designer
  is get used with it (he just know how to do html and css, no idea
  about scripting).

  can you give me the advantages using cakephp helper object over using
  smarty ?
  especially for the easy of use


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



helper or html tag ?

2007-09-28 Thread Adwin Wijaya

Hi,

for you, who are playing with cakephp for quite long, are you using
htmlhelper or just use plain html code or smarty ?

i  myself, get used with smarty for about 3 years and my web designer
is get used with it (he just know how to do html and css, no idea
about scripting).

can you give me the advantages using cakephp helper object over using
smarty ?
especially for the easy of use


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: helper or html tag ?

2007-09-28 Thread Chris Hartjes

On 9/28/07, Adwin Wijaya [EMAIL PROTECTED] wrote:

 Hi,

 for you, who are playing with cakephp for quite long, are you using
 htmlhelper or just use plain html code or smarty ?

 i  myself, get used with smarty for about 3 years and my web designer
 is get used with it (he just know how to do html and css, no idea
 about scripting).

 can you give me the advantages using cakephp helper object over using
 smarty ?
 especially for the easy of use

I use HTML helper all I can because I like have a programmatic way to
do complicated HTML tags instead of figuring it all out by hand.  Just
the way my brain is wired I guess.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation
http://www.cakedevelopment.com

My motto for 2007:  Just build it, damnit!

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: helper or html tag ?

2007-09-28 Thread FallenJehova


Hi,

If your designer knows css, I would recommend using the htmlhelper.
It's is very simple and fast to use for you, and as all elements are
styleable, he'll would have no problem working with them.

I am one of those who thinks that php is already a template language
and smarty's features does not compensate the loss of simplicity and
the processing overhead it produces.



proce
On 28 sep, 23:38, Adwin  Wijaya [EMAIL PROTECTED] wrote:
 Hi,

 for you, who are playing with cakephp for quite long, are you using
 htmlhelper or just use plain html code or smarty ?

 i  myself, get used with smarty for about 3 years and my web designer
 is get used with it (he just know how to do html and css, no idea
 about scripting).

 can you give me the advantages using cakephp helper object over using
 smarty ?
 especially for the easy of use


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---