|  | Posted by robert on 05/18/06 21:11 
"Drakazz" <vykintas.narmontas@googlemail.com> wrote in message news:1147974947.036370.11690@j55g2000cwa.googlegroups.com...
 | Martin Jay: if you had read my post, then you wouldn't have written
 | this one.
 | Your coding is not nice. Use templates and no HTMl in your coding. Make
 | it flexible, eh?
 
 drak,
 
 as much as i think m.j. is a waste of time in the world of php, i don't
 think the use of smarty is a predicate qualification. most people hired for
 a job don't know what smarty even is. i too believe in the seperation of
 church and state...errrr...html and php, however, one should architect
 pragmatically. some isp's don't have smarty installed nor will they. if your
 company chooses to use it, it may have a problem hiring someone who can
 program for it - this is especially difficult when consultants are brought
 into the mix. that raises the price tag in most cases.
 
 one can acheive that separation simply by employing oop design. that
 minimizes intermingling and keeps your core business logic as completely
 php...one layer up is the presentation layer where they do come together. i
 just personally don't see the need for smarty in most cases. there are only
 so many things one can do with web pages...and none of them are overly
 difficult. repetative presentation tasks can be handled with out of the box
 php...and a little forethought of design.
 
 but that's just me. i have used smarty and do like what it allows. do i use
 it on the job? no...and probably never will. either way, m.j. really
 shouldn't write *anything*. ;^)
 
 cheers,
 
 me
  Navigation: [Reply to this message] |