Log message #2300918

# At Username Text
# Sep 22nd 2011, 20:55 scoutmstershke blah
# Sep 22nd 2011, 20:50 scoutmstershke short tags aren't good practice
# Sep 22nd 2011, 20:49 TehTreag EtRiGaN: http://schlueters.de/blog/archives/156-Improvements-for-PHP-application-portability-in-PHP.next.html
# Sep 22nd 2011, 20:47 TehTreag <?= ?> will work without short tags being enabled.
# Sep 22nd 2011, 20:47 NoReGreT how can I disable the "invalid login" flash message in login() ? the thing is taht i'm checking in login() if a user is already logged in, if he's logged in then flash a message, without any invalid login. I'm checking that logic in login()...any ideas ?
# Sep 22nd 2011, 20:46 oronoa ok thx's for the tips guys
# Sep 22nd 2011, 20:46 EtRiGaN O
# Sep 22nd 2011, 20:46 TehTreag It's coming back... check the latest version of PHP.
# Sep 22nd 2011, 20:46 EtRiGaN $
# Sep 22nd 2011, 20:46 EtRiGaN thats why i said "it was"
# Sep 22nd 2011, 20:45 TehTreag EtRiGaN: I never use short tags... no errors/warnings when shorttags are disabled.
# Sep 22nd 2011, 20:45 TehTreag ~shorttags
# Sep 22nd 2011, 20:45 TehTreag ~tell EtRiGaN about shorttaggs
# Sep 22nd 2011, 20:45 EtRiGaN its was nice to write <?=$value;?> xD
# Sep 22nd 2011, 20:44 EtRiGaN its was nice to write <
# Sep 22nd 2011, 20:44 EtRiGaN mmm
# Sep 22nd 2011, 20:44 TehTreag oronoa: I know PHP... so the PHP is easier for me.
# Sep 22nd 2011, 20:44 oronoa but it's nice to be able to write {{ $something }} and not <?php echo $something ?> don't you agree ?
# Sep 22nd 2011, 20:43 TehTreag oronoa: You got that from - "In short, the point of template engines should be to separate your business logic from your presentation logic, not separate your PHP code from your HTML code."
# Sep 22nd 2011, 20:43 oronoa I see your point, you are sayig template engines are just makeup :-) in essence they don't change a lot
# Sep 22nd 2011, 20:41 TehTreag oronoa: I like the way he sums it up in the last paragraph.
# Sep 22nd 2011, 20:41 TehTreag ~tell oronoa about template-engines
# Sep 22nd 2011, 20:41 TehTreag oronoa: Sure. Why not?
# Sep 22nd 2011, 20:41 EtRiGaN using php directly as the framework recomends
# Sep 22nd 2011, 20:41 oronoa ?
# Sep 22nd 2011, 20:40 oronoa so you guys recommand sticking with php that's what I gather
# Sep 22nd 2011, 20:40 TehTreag oronoa: Good luck.
# Sep 22nd 2011, 20:40 EtRiGaN anyway
# Sep 22nd 2011, 20:40 oronoa thx
# Sep 22nd 2011, 20:40 EtRiGaN yeap
# Sep 22nd 2011, 20:40 EtRiGaN its kind of like the django template engine
# Sep 22nd 2011, 20:40 oronoa nice ! coming from Django :-)
# Sep 22nd 2011, 20:39 EtRiGaN the last engine i tried was h2o
# Sep 22nd 2011, 20:39 TehTreag ~tell oronoa about google cakephp smarty view
# Sep 22nd 2011, 20:39 TehTreag oronoa: As they should be... what would you prefer some 'smarty' code? Jheez... You can use smarty with CakePHP.
# Sep 22nd 2011, 20:38 oronoa smarty is one ...
# Sep 22nd 2011, 20:38 oronoa yes but ctp templates are full with <?php code
# Sep 22nd 2011, 20:38 NoReGreT template
# Sep 22nd 2011, 20:38 NoReGreT what's a tempate engine ?
# Sep 22nd 2011, 20:38 TehTreag ~tell oronoa about blog
# Sep 22nd 2011, 20:38 TehTreag oronoa: Have you tried the blog tutorial in the book?