• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Better view files

#1
Hi guys,

I'm just currently deciding on whether I want to go the whole template thing, which would allow me to use a tool like html tidy on my views.

But at the moment there's a lot of php in the views and my view files are ugly/messy and terrible to read ( I must admit with really bad indentation )

What do you do to create tidy, well indented view files with php embedded? Do you use a template engine which allows you to use html tidy (this doesn't work when php is embedded).

I would love to know. I'm reasonably happy with the indentation in my controllers but not so much with my view files.
Practical guide to IgnitedCMS - Book coming soon
Reply


Messages In This Thread
Better view files - by ignitedcms - 07-31-2015, 03:46 PM
RE: Better view files - by John_Betong - 08-01-2015, 12:20 AM
RE: Better view files - by ignitedcms - 08-02-2015, 03:28 AM
RE: Better view files - by John_Betong - 08-02-2015, 05:58 AM
RE: Better view files - by Diederik - 08-02-2015, 04:15 AM
RE: Better view files - by ignitedcms - 08-02-2015, 04:54 AM
RE: Better view files - by ignitedcms - 08-02-2015, 06:36 AM
RE: Better view files - by John_Betong - 08-02-2015, 08:18 AM
RE: Better view files - by mwhitney - 08-04-2015, 07:19 AM
RE: Better view files - by ignitedcms - 08-04-2015, 08:32 AM
RE: Better view files - by John_Betong - 08-04-2015, 09:22 AM
RE: Better view files - by ignitedcms - 08-04-2015, 10:36 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.