Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:613807
More Search Options
RSS Available
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 >
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online