Welcome Guest, Not a member yet? Register   Sign In
Concept of inserting data into Views
#3

[eluser]CroNiX[/eluser]
[quote author="TheFuzzy0ne" date="1235845626"]I use the first method as it's compatible with servers that don't support short tags. It's also possible to use a template parser if you wish to keep your HTML that little bit cleaner, but it comes at the expense of extra resource consumption. I'm fairly sure that using sprintf may also be resource intensive if over-used.

Generally, I don't comment view variables as I find them self-explanatory, although I'm sure there may come a time when they might not be so obvious.[/quote]

You can still use short tags even if short tags are disabled on the server if you enable it in the ci config. It will use slightly more resources as well as it is using a preg_replace to rewrite the short tags at execution I believe.


Messages In This Thread
Concept of inserting data into Views - by El Forum - 02-28-2009, 05:19 AM
Concept of inserting data into Views - by El Forum - 02-28-2009, 06:27 AM
Concept of inserting data into Views - by El Forum - 02-28-2009, 11:12 AM
Concept of inserting data into Views - by El Forum - 02-28-2009, 06:24 PM
Concept of inserting data into Views - by El Forum - 03-01-2009, 01:03 AM
Concept of inserting data into Views - by El Forum - 03-01-2009, 06:30 AM
Concept of inserting data into Views - by El Forum - 03-01-2009, 12:26 PM
Concept of inserting data into Views - by El Forum - 03-01-2009, 12:39 PM
Concept of inserting data into Views - by El Forum - 03-01-2009, 12:42 PM
Concept of inserting data into Views - by El Forum - 03-01-2009, 01:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB