Simple arquitecture question about layers' scope RRS feed

  • Question

  • Hi


    I have a Windows form application which communicates with XML Files (locally) and also with some WebServices written in PHP.


    I have structured the flow of my app like this:


    UI    --   BLL   ----   DAL   ----    XMLFiles(Data)


            Web Services



    I think I’m ok so far with this arquitecture, no?


    My question:


    Is it ok if the UI talks directly with the DAL layer? Is there a performance issue about the UI raising the BLL layer and this one raising the DAL layer to get data from the files?


    Also Is it ok if the UI invokes directly the Web Services?


    Where can I read about what should be in any layer and what shouldn’t.



    Wednesday, May 16, 2007 4:32 PM