SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2005
    0 Post(s)
    0 Thread(s)

    Updating my library

    hi guys
    after i refactored my site from php4 into php5, i structured the site into 3 layers
    1- userview
    2- control
    3- physical
    after i finished this plan i found that there is a little mess between the control & physical layer.
    it was supposed that the control layer hold all the html renderring methods and the physical should hold the query methods.
    now am optimizing these 2 layers, so my work is focused in the library folder.
    i was suggesting that since the physical layer are objects with query methods only.
    then why i dont make these objects static ones, since after all the control layer will use all these methods separately without the need the instantiation of many objects.
    Last edited by haidoura; Jul 18, 2007 at 05:12. Reason: wrong title
    lebanon real estate beirut apartment for sale


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts