Jump to content

Structure & Naming Conventions


dabas

Recommended Posts

Hello.  I am new to this forum and this is my first post.  I have been a windows application developer for 10+ years.  I've messed around with php a bit in the past but now I am trying to develop my first project.

 

I find myself at a loss when it comes to directory structure & naming conventions.  The app developer inside of me wants to make 3 directories named UI, BI, and DAL.  However, it doesn't seem appropriate for a web site.

 

I'd like to hear from other php devs on how they organize their project. 

 

Thanks in advance.

Link to comment
Share on other sites

well, depends where your headed with php....

 

if you plan on using a framework, they pro'lly have a directory structure in place....

 

but it really is up to you and how you want to handle your directories...all that matters is that you are aware of your stucture and use it appropriatly I believe...:-)

 

Zend Coding Standard: http://framework.zend.com/manual/en/coding-standard.html

PEAR coding Standards: http://pear.php.net/manual/en/standards.php

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.