Welcome Guest, Not a member yet? Register   Sign In
Restructuring/code clean up
#1

OK so you got some code and it works pretty nicely except, it is all sort of over the place and not really organised.

You want to structure it in a way that is organised because it is something everyone has the potential to see and use and possibly amend.

This includes a logical and sensible file structure, organised logical string of methods, and tidy html views and css js files.

Where do you start?

I looked at using html/css beautifiers to dump out better view files. Tried to keep consistent naming of methods and spacing, might use a PHP beautifier on it too. File structure is pretty much own preference at the minute.

What do you do, this question is specifically aimed at github users who have clean readable code.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
Restructuring/code clean up - by ignitedcms - 02-05-2017, 03:19 PM
RE: Restructuring/code clean up - by ignitedcms - 02-07-2017, 12:29 AM
RE: Restructuring/code clean up - by Diederik - 02-07-2017, 06:00 AM
RE: Restructuring/code clean up - by Diederik - 02-07-2017, 03:57 PM
RE: Restructuring/code clean up - by ignitedcms - 02-07-2017, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB