Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. EdwardJS024

    GDI: How to skew an image in perspective?

    Hi guys, Maybe someone can help me. Hopefully this post is clear. I know everyone is busy with their own work. Thanks in advance a thousand times. MY OBJECTIVE: I want to skew an image in a quadrilateral perspective. To get an example of what the image shape is supposed to be like after...
  2. EdwardJS024

    How to find Classess

    How about, draw what comes to your mind. Use rectangles as things. Try to represent your thoughts visually by letting the "things" in the problem space talk to each other via cariations on connecting line shapes. This natural way of putting the problem in front of you is the basis of UML. Once...
  3. EdwardJS024

    The correct way to design a class...

    Bob, when yopu say "constraining how ojbects interdepend", what do you mean exactly? EdwardJS
  4. EdwardJS024

    The correct way to design a class...

    Hi SharkTooth, heres my take on it. It seems like your Customer suffers from anemia, lackING any true behavior that defines what customers are. Also, you have added to the uncohesiveness by bundling behavior, such as dataloading routines AND validation into the customer. According to Eric...
  5. EdwardJS024

    What pattern is this???

    yeah, the above is a simple example. Query languages can get pretty complicated: IQuery = new Select( new And( new Constraint("Age",25), new Constraint("Name","Joe") ) )
  6. EdwardJS024

    What pattern is this???

    Here's an alternative idea. Just my 2 cents, maybe thats all it's worth. Mine is more of a fine-grain approach, over which may be wrapped by a coarse-grained api, like strategies/facades.. What you're essentially trying to do is query data based on filters. Why not create a mini query language...
  7. EdwardJS024

    What pattern is this???

    I am not following... "Each of these objects needs to be able to build a collection." lost me
  8. EdwardJS024

    Taxation class design - interface / inheritance / none

    Steve, i did mean new ZealandStrategy(). pun intended [ponder]
  9. EdwardJS024

    Taxation class design - interface / inheritance / none

    Hey, how many countries are u dealing with and how different are the algorithms for calculation? Can any 2 countries share the same algorithm? if so, encapsulate each algorithm into its own class. Use a generic TaxCalculator that makes use of a different strategy for calculating. Example...
  10. EdwardJS024

    Software Design Is it worth it?

    In some parts of the carribbean islands where there are abundance of lakes, streams and rivers. Many local natives devised a way to fish using bamboo, nylon and a hook. Give an experienced engineer a notepad and a compiler, and the output will be of greater quality than a junior developer...
  11. EdwardJS024

    Constraining input data

    Sounds good. thanks.
  12. EdwardJS024

    Constraining input data

    The physical structure of an exception object is specific to the language/runtime used" Why is that? Isn't an exception just another object? Why is it specific to a runtime? Maybe I am missing the point. Also, if you don't throw exceptions across layer boundries, how else do you bubble up an...
  13. EdwardJS024

    .net Control multiple inheritance

    Jon, you're talknig like a technology expert. State your problem. What are you reallying trying to accomplish in english? Edward J. Smith "There are 2 types of people in the world... those who understand binary and those who don't want to.
  14. EdwardJS024

    Constraining input data

    And since I don't like to throw exceptions across layer boundaries (since different layers could be written in different languages), I usually go back to returning a data structure" can you elaborate on your feelings about throwing exceptions across boundries? Aside from languages differences...
  15. EdwardJS024

    Pattern Oriented Software book

    there are 2 editions of this book. The first edition looks more interesting to me.
  16. EdwardJS024

    UI Validation

    Polu, great explanation on the concept of layering. I got that pretty much etched into my principals. As for validation, this is a topic not frequently spoken of when related to a 4-tier architecture. So youre saying that data/input validation should occur at the App level. I agree. That means...
  17. EdwardJS024

    UI Validation

    How do you guys handle UI Validation from a broader sense? I have posted about this in "Constraining input data" but needed to post on a more conceptual level. IMHO, there are 2 kinds of validation that occur in a system, 1. Syntax Validation 2. Business Rules Validation Syntax rules occur...
  18. EdwardJS024

    Pattern Oriented Software book

    Has anyone read "Pattern-Oriented Software Architecture: Patterns for Concurrent and Networked Objects" http://www.cs.wustl.edu/~schmidt/POSA/ ?? If so how is that book? Would you recommend it? EJS
  19. EdwardJS024

    How to get streamed in XML into DAL to parse

    Repository == a collection of something example, Cars.FindCarByColor(Color.Black); Cars is the collection, it is the repository. Repository shields the Domain from the ugly database. Your domain model starts to strengthen naturally because storing items in collections is how the OO world...

Part and Inventory Search

Back
Top