# |
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? |
# |
Sep 22nd 2011, 20:37 |
oronoa |
ha ? |
# |
Sep 22nd 2011, 20:37 |
TehTreag |
oronoa: PHP |
# |
Sep 22nd 2011, 20:37 |
oronoa |
php |
# |
Sep 22nd 2011, 20:35 |
NoReGreT |
TooMuchCaffeine: 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:34 |
oronoa |
new to cakephp, what's the best template enigne to use with it ? not clear from Google, dwoo ? smarty ? |
# |
Sep 22nd 2011, 20:33 |
NoReGreT |
TooMuchCaffeine: debug set to o won't disable flash messages... |
# |
Sep 22nd 2011, 20:32 |
TooMuchCaffeine |
NoReGreT: with debug set to 0. session flash is disabled so you won't see it |
# |
Sep 22nd 2011, 20:31 |
TooMuchCaffeine |
enter valid login |
# |
Sep 22nd 2011, 20:30 |
NoReGreT |
how can I disable the "invalid login" message in login() ? |
# |
Sep 22nd 2011, 20:29 |
TooMuchCaffeine |
ssh to a sandbox |
# |
Sep 22nd 2011, 20:29 |
TooMuchCaffeine |
not cool dude. not cool |
# |
Sep 22nd 2011, 20:29 |
scoutmstershke |
what you have running on port 2222 |
# |
Sep 22nd 2011, 20:27 |
scoutmstershke |
what the password or the old lady gets it cough phpnut cough |
# |
Sep 22nd 2011, 20:27 |
scoutmstershke |
lol |
# |
Sep 22nd 2011, 20:27 |
TooMuchCaffeine |
that's it. i'm disabling all port forwarding! |
# |
Sep 22nd 2011, 20:26 |
TooMuchCaffeine |
scoutmstershke: smb was faster then you and changed it |