Welcome Guest, Not a member yet? Register   Sign In
Better view files
#2

(This post was last modified: 08-01-2015, 12:22 AM by John_Betong. Edit Reason: Spelling: not my fortay )

(07-31-2015, 03:46 PM)iamthwee Wrote: 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.

Maybe some posters could assist in formatting if you could supply a link to your "really bad indentation" view file.
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



Theme © iAndrew 2016 - Forum software by © MyBB