Search

You searched for the word(s): userid:613807

Matching Posts

  • Re: Factories - Entities

    May I suggest that youtry thinking about the WHY they do so, and whether it would be better if they would do different? This is an architecture forum. It is absolutly ok to actually argument, on a technical level, or WHY something is better or not. Oh yes, this is an architecture forum and argument on a technical level is valid. There is however when views are so contrast and I can hardly agree with the opposite view, I stick to my view.
    Posted to Architecture (Forum) by Thanhq on 7/3/2005
  • Re: Factories - Entities

    The .NET framewor does rarely use static methods at all. It uses them extensively in function libraries - like the Math class. There is one particular difference to a factory method here, though (a difference you tend to ignrore), which is that it is absolutly definable that you will never ever have a need to call something like Math.Round in another appdomain, ever use remoting or ever subclass it. To name a few of the static classes in the .NET framework, System.Activator, System.AppDomain, System
    Posted to Architecture (Forum) by Thanhq on 7/3/2005
  • Re: Factories - Entities

    TMorton, I apologize for my remark and I didn't mean it to be personal. I just lost my cool because certain people in this forum do put people down for obvious reasons.
    Posted to Architecture (Forum) by Thanhq on 7/2/2005
  • Re: Factories - Entities

    .NET framework uses static extensively and especially in seal class. It's also a fact. Many frameworks also use it extensively and that's also a fact.
    Posted to Architecture (Forum) by Thanhq on 7/2/2005
  • Re: Factories - Entities

    My esxperience tells me your experience is limited. Ther eare good reasons to make methods non-static per default, and to fall back to static methods only when it is a necesssity. And no, the overhead of instantiating an object is not relevant. One of the reasons may be that you want to have the factory live in a separate AppDomain and use remoting to call it. This is not possible for static methods (Can not be remoted). Before you cry fould - realize that I did not say "separate computer" and there
    Posted to Architecture (Forum) by Thanhq on 7/2/2005
  • Re: help me about designing a big project

    tleper wrote: ... it contains at least 15 modules..I used to make just one dll but in this stuation it should be seperated like one customer wants some of the modules,another one wants all of them..so my thougt is making class libraries for each of the module and a main dll for presentation of aspx files... I'm not sure what are the business logic inside your module, but 15 class libraries for 15 modules sounds a little overkill. My suggestion is to analyze in details your business logic to see if
    Posted to Architecture (Forum) by Thanhq on 7/1/2005
  • Re: Factories - Entities

    My experience tells me that factory class is sealed and provides static methods for instantiating multiple entities in one step or call many different methods to get what you want. If that's the case, then your entity object should not be available to public access. This design will allow only one entrance to your library, your factory class. Otherwise, you should instantiate the entity object directly without the need for the factory class.
    Posted to Architecture (Forum) by Thanhq on 7/1/2005
  • Re: Web Services question

    Cassini Web Server is fine if you're using it for general testing. I don't recommend you to use it in production environment because it's not designed like IIS for that purpose.
    Posted to XML Web Services (Forum) by Thanhq on 7/1/2005
  • Re: Defending the DataSet: Agreeing to Disagree...

    FransBouma wrote: The sad thing is though that some anti-O/R mapper people play the 'You're biased!!' card when they don't agree with what an O/R mapper person has to say. I'm not anti-O/R mapper or anti-ADO.NET components either. I always try to look at what's the best possible way to solve problems whether it's an O/R mapper or something else. I always keep an open mind and try to be fair to all tools in any way I can as most members of this forum do. I do believe that there are some vendors using
    Posted to Architecture (Forum) by Thanhq on 6/30/2005
  • Re: pass the data from DAL TO BL, use datareader or dataset,Which one is the best ?

    DevSlick, we're all here to learn and to share. Sometimes we just have to ignore those very narrow views. Those who belittle people often end up belittle themselves.
    Posted to Web Forms (Forum) by Thanhq on 6/29/2005
Page 1 of 5 (50 items) 1 2 3 4 5 Next >