Jump to content

Hockey

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Hockey's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. There are entire books devoted to this topic. 1) Familiarize yourself with design patterns 2) Start by sketching your GUI on paper - try and discover any caveats 3) Using your visual GUI sketches, start designing your DB schema - normalize it. 4) Begin coding your HTML templates based on your visual sketches 5) Begin developing the model code 6) Begin tying your interface to your model. 7) When step 6 becomes to complex refactor into proper MVC separations. Reapt until finished and voila - a complete product
  2. 1) Look into MVC + 1 2) Avoid heredoc syntax 3) Start using a template engine It's one thing to mass applicaiton logic with business/domain/model logic but it's the WORST when people mingle HTML with PHP...that gets horribly messy super fast. Change that pronto.
  3. The other questions are hard to answer without better/deeper understanding of your system and it's architecture. #2: Use a registry - especially if it's initialize in the application entry point. I Use the registry for strictly that purpose giving global access to centralized objects. Authentication Database etc, etc...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.