Skip to content

Namespace everything in Global #144

@jtickle

Description

@jtickle

We've been back and forth on this, but I'm afraid that we absolutely must put every phpWebSite class into a namespace. Recommend \Phpws or some such.

Because:

  1. This will reduce our chances of conflicting with other, non-phpWS libraries that we may wish to use in the design of custom modules. Not everyone is doing it right, but as long as we keep our stuff namespaced, no toes get stepped on.
  2. A number of our modules have classes named 'View' in several locations thoughout their source code. I believe it will be less work to namespace phpWebSite classes properly than to go through and fix conflicts in existing, production code.

┆Issue is synchronized with this Asana task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions