a php project defined....
  • dis be de way i create me personal projects. shall we begon?


    PART I - Folder
    --------------------

    /docs

    /install
    /install/sql
    /install/apache
    /install/php

    /logs

    /includes # Make an includes folder outside webroot
    /includes/class # Add a class folder for the main controllers
    /includes/function # Functions folder
    /includes/interface # Interface folder to operate the modules

    /includes/core # core folder
    /includes/core/config # conf folder
    /includes/core/libs # holds third party apps
    /includes/core/libs/smarty # not so smart in my mind.
    /includes/core/libs/phpmailer
    /includes/core/libs/pear
    /includes/core/class # holds our core classes ( database , uploader, file, text, blah blah blah )
    /includes/core/smarty_plugins #external folder for dropping plugins ( dont mess with thirdparty apps )

    /templates # holds main templates, not modules
    /templates/templates_c # cacahchachachchachchachcahachcahachach

    /modules # mod folder
    /modules/skeleton
    /modules/skeleton/includes
    /modules/skeleton/includes/class
    /modules/skeleton/templates/
    /modules/skeleton/templates_c/

    /webroot/js
    /webroot/js/scriptaculous
    /webroot/js/prototype
    /webroot/js/fckeditor
    /webroot/js/jscalendar

    /webroot/images
    /webroot/img
    /webroot/styles


    part 1 done.


    RECAP

    /
    /includes
    /---------/core
    /---------/-----/class
    /---------/-----/smarty_plugins
    /---------/-----/libs
    /---------/-----/config

    /---------/class
    /---------/function
    /---------/interface

    /templates
    /-----------/ templates_c

    /modules
    /----------/skeleton
    /----------/-----------/includes/
    /----------/-----------/---------/class
    /----------/-----------/templates
    /----------/-----------/templates_c
    /----------/-----------/doc
  • Nice file structure there mate..

    - Sri

  • /includes/function # Functions folder

    I love comments like these, just love them.
  • ha.

    sometime this week i will get to the init file, the config file, and the core classes

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook

Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • stumbleupon
  • Twitter
  • facebook
  • myspace
  • technorati
  • reddit
  • fark
  • email