No echo or <?= ! |
[eluser]Hamed[/eluser]
Is it possible that we use {$var} instead of Code: <? echo $var ?>
[eluser]boltsabre[/eluser]
You're looking for a template system: http://ellislab.com/codeigniter/user-gui...arser.html Don't forget to check out both the great CI user documentation http://ellislab.com/codeigniter/user-guide And google before posting on here. While we don't mind helping people on this forum, we do expect them to try it for themselves first. A 10 second google hunt (I don't know, how about searching for "codeigniter template system") would have given you many results ready for you to explore!
[eluser]Hamed[/eluser]
Which one is faster parser or echo? Why most CMS user parser?
[eluser]boltsabre[/eluser]
Yawn... no thanks for answering your question - just another "give me the answer" post. Here's 2 ideas: 1. Learn some manners! 2. User your research skills and google it!
[eluser]Hamed[/eluser]
Thanks. Although it look echo is faster, Parser make codes much readable and It is useful too!!!
[eluser]boltsabre[/eluser]
No worries. Yes, you are correct, using a template system will add overhead, but as you mentioned it has it's benefits. It all comes down to your requirements. Good luck.
[eluser]Samus[/eluser]
[quote author="boltsabre" date="1337612420"]Yawn... no thanks for answering your question - just another "give me the answer" post. Here's 2 ideas: 1. Learn some manners! 2. User your research skills and google it![/quote] lol
|
Welcome Guest, Not a member yet? Register Sign In |