Recommend design pattern books

Hi
I work at a university and I am looking for some books on design patterns in LabVIEW, preferably for 2009.
I am interested in state machine and master/slave design and perhaps also producer/consumer design pattern.
Can you recommend some books on these techniques.
Simon
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010

The LabVIEW Style Book by Peter Blume has a chapter devoted to discussing patterns in LV.  If you want to go generic and not pin yourself to one language, the classic of the subject is Design Patterns by Gamma, Helm, Johnson & Vlissides - that book has been on my shelf ever since I used it as a textbook over a decade ago.
Greg
Certifed LabVIEW Developer

Similar Messages

  • EJB Design Patterns Book Question

    I have been recently reading the EJB Design Patterns book by Floyd Marinesu.
    In one of the earlier chapters he says that 'entity beans are transactional creatures, each method call on an entity will require a separate transaction ..'.
    Surely this is wrong, if you are using CMT and mark your method transaction attribute as Required then if the calling bean has a transaction the called bean will use that transaction, rather then requiring a separate transaction.
    Someone please explain.

    Quoted out of context, the statement seems to be incorrect in some cases. IMO, the fact stressed is the "synchronization of the remote entity", which might have been loosely associated with a separate transaction.
    Here's the original quote.
    Furthermore, since entity beans are transactional creatures, each method call on an entity will require a separate transaction on the server side, requiring synchronization of the remote entity with its underlying data store and maintenance on behalf of the application server.
    Maybe Marinescu would answer that better :-)

  • Suggest good book for J2EE Design Pattern.

    Is there any good book for J2EE Design pattern? I know Head First Design Pattern book, but is focuses oncore java. I want to learn in detail with examples J2EE design pattern.
    Please suggest good books.
    Thanks in advance.
    Rahul.

    most j2ee patterns are discredited now. they were mostly workarounds for deficiencies in ejb 1 & 2 specs.
    "core j2ee patterns" is your best bet, but take it with a grain of salt.
    better to learn spring, IMO:
    springframework.org
    %

  • What is command design pattern? what is the problem that it solves?

    Hi i have been reading few articles on command design pattern but was unable to understand what it is and what problem does it solve. As far as my understanding goes if there is a pre specified method in an object that could execute and perform the necessary activities then it is called as command design pattern. Why is it named as command design pattern, it is because in a shell we use commands to retrieve output. For example when we type "dir" in dos command prompt it returns the list of files. so here we have to remember a preexisting exe file named "dir" which does something when used. So here like we call it command because when "dir" is passed to the computers it returns something that is expected. may be the computer obeys the command issued and return something back. So like wise if there is a method that is defined as as the command, for example in struts framework the action class must have a method "execute()" which is called by the framework to execute the necessary action mapped to it. So if there is a predefined method like "execute" in struts then the object is said to be followed command design pattern. So what actually does it solve?
    What ever i have written is my understanding from the articles i have read about the design pattern. So kindly correct me if i am wrong. Help me understanding what actual problem does this pattern solves. Thanking you in advance.

    This is really off-topic for these forums. You might do better on StackOverflow.com. I'll just say that although the first Design Patterns book came as a revelation to me, it was more for (a) the nomenclature (decorator, factory, facade, etc) which is still with us and (b) about five of the original patterns, which told me things I didn't already know. I've never used any of the others, including Command, and the whole design patterns thing quickly degenerated into farce with what seemed like a sustained attempt to reduce the whole of computer science to design patterns, which really isn't the point. As an example, there is one in another book called Type Object, which is nothing but 3rd normal form, which can be defined roughly in a couple of sentences. This pattern went on for dozens of pages with a very artificial example. I wrote to the mailing list about it: 'Type Object considered hilarious'. I got a rude reply from the original author, which I guess I expected, but also an incredible response from the list owner, saying I should recast my objections in the form of a design pattern. That lost it for me. True story. Moral: don't take this religion, or any IT religion, too seriously. They come around every 18 months or so with the regularity of the next bit of Moore's Law. I've seen dozens of them come and go since 1971, all with something to say, all 90% nonsense.
    See here for a longer version of this incident.

  • A good book on design patterns?

    Hi there. Just wondering if anyone could recommend a good book on design patterns, for someone who's relatively experienced at the nuts and bolts of programming in a few languages, but hasn't really considered design patterns before? Someone recommended Gamma et al's, 'Design patterns: elements of reusable object-oriented software' to me, but it is perhaps a little dated now. Any thoughts?

    Surprisingly, no one posted the link to the Sun J2EE Pattern blueprints:
    http://java.sun.com/blueprints/corej2eepatterns/index.html
    I also liked the O'Reilly publication "J2EE Design Patterns"
    They are specific to J2EE architecture, but there's a lot of reuse available even if that's not the architecture you're working with.
    Brian

  • Graphic Design Style book recommendations

    Are there any Graphics Design Style books for non-graphics designers you can recommend. I'm converting from MS Publisher to Pages 08 the concert programs I produce for our local classical guitar society concerts and I would like to make the program more appealing. All recommendations will be welcomed.
    Ed S.

    Ellen Lupton's Design it Yourself is a great overview of things to get started,
    http://www.amazon.com/D-I-Y-Design-Yourself-Handbooks/dp/1568985525
    Thinking with Type is an excellent way to get a better understanding of how things work. It's great for a someone who's just getting their feet wet, but is quite thorough.
    http://www.amazon.com/Thinking-Type-Critical-Designers-Students/dp/1568984480/re f=pdbxgy_b_imgb
    good luck!
    clare

  • [BOOK] What's the best book about DESIGN PATTERN

    Hi Guys,
    by experience, what's the best book for you concerning the Design Pattern in Abap. I mean :
    Quality,
    Comprehensiveness,
    Clearness,
    Amount of chapter,
    etc.
    Thank for advices.
    Rachid.

    Dear Rachid,
    This is rank 1 book, but u have learn online also. So many websites are there. example search: OO Design patterns ZEVOLVING.
    Regards,
    Abbas.

  • Book Review: A Serious Guide to OOP Design Patterns

    I've just finished reviewing a new book: AdvancED ActionSpript 3.0: Design Patterns by Ben Smith, published by Apress as part of the Adobe Learning Library
    I liked the book very much and I wanted to share my discovery with those of you who (like me) would like to bring the advantages of Object-Oriented Programming and Design Patterns to your Flash/AS3 application development efforts.
    I posted my review (“A Serious Guide to OOP Design Patterns”) on Amazon just the other day. Take a look at my review and browse through Mr. Smith's book—if you're interested.

    Nikimathew wrote:
    Every now and then I ask people if they are familiar with the book, Design Patterns: Elements of Reusable Object-Oriented Software. On such occassions, I'm often surprised to hear someone respond, "Yes, I've read it." Having spent close to three years running a study group devoted to understanding the subtleties, combinations and variations of the patterns in this book and others, I am often compelled to ask these individuals if they actually believe that the book can be "read" rather than "studied"? trolling for new members?
    three years? c'mon. i love the GoF book, but it's not holy writ. and it hasn't saved object-oriented software development.
    sounds like you need to move on to a new topic. go buy another book.
    %

  • What is recommended / preferred design pattern for Swing?

    I have been confused by the apparent variety of design patterns used when putting together a Swing GUI application. For example, one pattern does this:
    public class myclass extends JFrame {
    myclass() {
    // do all the stuff here
    public static void main(String args[]) {
    // instantiate class here
    while another pattern goes like this:
    public class myclass extends JFrame {
    myclass() {
    super("title");
    public static void main(String args[]) {
    // do all the stuff here
    Is there a preferred way to do this stuff, or is it a matter of personal preference?

    Hi
    I txnk there are no choice : the only valid aproach is (1)
    because :
    main is a "know" entry point just for instantiate some classes
    the event thread is alive after main is completed, so your app have a GUI elements who responds to some events via some classes (the listeners for these events).
    Of course you can add listeners at main level but, what hapen if
    you need these GUI in other app (the main func is only called when you invoke the JVM to an start class)
    Normally the JFrame have some member funct or some internals classes to respond some events (at this point there are some alternatives)
    Hope this help
    Bye

  • Can anyone take me in step by step to understand MVC design pattern

    Hi Everybody,
    I just killed myself trying to understand what is MVC and how to apply it to flash (AS3) the easy way but I could not, there is a lot of information on MVC on google but it is very hard I can not understand it and apply it to anykind of application or game, I had created a lot of games but using flash timeline (puzzle, multipel choice, simple physics interaction) and I understand that we must separte the design interface and the data of the application and the code into diffrent blocks, but what I understand is:
    1- making a SWC for the design. (View)
    2- use XML or TEXT file for the data.(Model)
    3- classes for the code.(Controller)
    this is MVC that I understand, but all the tutorials on the net is about creating 3 classes and calling each other in a very diffuclt code to understand, I realy need to work the proffessional way but it is very hard and far away from my understanding.
    if any body have a way to let me understand it like making a template for every MVC application or game and explain to me his/her code it will be great, some of my questions are:
    1- how we say about a class that it is the view part of the pattern while we have a SWC that hold the intreface graphics?
    2- dose making a sepreate class to load and fetch external data sources like xml and text means I had created the model part of the pattern, and why the tutorials on the net do not say that if it is true?
    3- making the logic of the application or game sepreated into class for each logic block, makes the controller part of the pattern?
    I realy do not know what to ask more because I do not understand the MVC design pattern
    Please note: if someone can chat with me on skype it will be great, but if you want to explain here also good but I need to understand it is making me crazy!
    thanks in advance

    I'm not a pro in this either, but a few things about it make sense to me.
    First you don't need to have only three parts, but all the parts you have should be one of the three things (maybe). And they don't need to be a swc, XML/text, or a class.
    I recommend the Clock tutorial from Colin Moock's book, Essential Actionscript.And here is someone walking you through it. http://flylib.com/books/en/4.14.1.137/1/
    In that example there is a model which keeps track of time like the hours, minutes, seconds, if the clock is running.
    There is a controller that lets you set the time, reset the clock, stop the clock, that kind of stuff. This isn't the buttons and stuff that allow you to do that, this is the code that takes the input from the buttons and communicates with the model.
    So there would be a view of the buttons that the user would want to push to set the clock or what have you.
    And there is a view presenting the time. Now there might be two (or more views). For example you might have an analog clock and a digital clock.
    Work through that tutorial. It helped me.

  • Which Design Pattern?

    Hi all,
    First of all, im pretty new to design patterns so apologies for any errors. I am creating a program that maintains a large index of string values (maybe a vector or hash table) but for the sake of performance, i would like more than one instance of the application to run at once, so that they can each add to the index.
    As i said, i am new to patterns, but this seems like an ideal scenario for the Singleton. Would i be right in this assumption and could you give me any advice or example code as to how i might implement it?
    Thanks very much
    Wraith

    georgemc wrote:
    Imagist wrote:
    final public class Singleton
    private Singleton() { }
    final private static class SingletonHolder
    final private static Singleton instance = new Singleton();
    final private static Singleton getInstance()
    return SingletonHolder.instance;
    }This is the paradigmatic way to implement a singleton in Java these days. There are other ways more commonly used, but this has the advantage of allowing lazy loading AND thread safety without incurring the performance penalty of synchronization.
    Edited by: Imagist on Nov 19, 2008 9:53 AM
    public class Singleton
    private Singleton() { }
    final public static Singleton instance = new Singleton();
    }Oh look. Lazy loading, thread safety and simplicity, all in one lump. Why did you bother making the class final, anyway? The singleton pattern as prescribed by the GoF book explicitly talks about inheritanceAs far as I can tell, that's not lazy-loading. If you call Singleton.someStaticMethod(), the classloader will initialize the instance variable, causing the constructor to call. Admittedly, that doesn't happen often. I haven't looked at Bloch's book in a while, but if I remember correctly this is the method he recommended.
    I made the class final because that allows more optimizations to occur at compile time. The JIT compiler usually figures stuff like that out, but in some older versions of Java it might not happen until it has been running for a while. I use older versions of Java often, so that's a good habit to be in (and it doesn't hurt anything).

  • Recommended design videos?

    Can anyone recommend some good DVD or online instructional videos covering the concepts of designing within Photoshop? So rather than a step-by-step tutorial on how to just use the tools, some instruction on integrating elements of good design using PS.
    Thanks.

    Yes you should get the GoF book, no matter what language you are going to use. It's not limited to any implementation language. It's code examples are not in java, but that should not be a big hindrance.
    As a supplement to the GoF book consider POSA1 http://www.wiley.com/legacy/compbooks/catalog/95869-7.htm It's a slightly newer book of the same type as the GoF, but with better explanations of practical implementation. Only one pattern is in both the POSA1 and the GoF, so there's no waste in buying both.
    In the Design Patterns Study Group in Copenhagen http://www.plop.dk we have studied both of these books. People found the POSA1 to be the most approachable of the two, so consider starting with this one.
    Feel free to ask for more patterns related material, I have been running that study group and am now in the process of organicing a Patterns conference, so I will most likely be able to help you pick the reading material that fits your needs.

  • Anyone recommends a good book for object oriented programming

    I am a college student in computer engineering (Software) and have been programming using Java for over a year. I have become really interested in the design of softwares and the "beauty" of object oriented programming, and thus would like to advance my knowledge about the topic (my university offers an advanced oop class but I would have to wait another 6 months to take it). So my question is, could you recommend me any book that covers the subject of object oriented programming extensively? (I have learned most of the oop I know from "An Introduction to Programming and Object Oriented Design Using Java" by Nino and Hosch.
    Thanks in advance

    Some years ago I remember cutting my teeth on OOP using an excellent book by Grady Booch. If it's still in print and has been updated, it may be worth a look. Again it was decent. Also consider picking up a book on design patterns. Good luck.
    Edit: I found it, it's called "Object-Oriented Analysis and Design with Applications", and it's in its third edition. You can find it here on Amazon.
    Edited by: Encephalopathic on Apr 22, 2008 2:48 PM

  • Anyone recommends a good book for object oriented programming (advanced)

    I am a college student in computer engineering (Software) and have been programming using Java for over a year. I have become really interested in the design of softwares and the "beauty" of object oriented programming, and thus would like to advance my knowledge about the topic (my university offers an advanced oop class but I would have to wait another 6 months to take it). So my question is, could you recommend me any book that covers the subject of object oriented programming extensively? (I have learned most of the oop I know from "An Introduction to Programming and Object Oriented Design Using Java" by Nino and Hosch.
    Thanks in advance

    jwenting wrote:
    I never tire of pushing ["Agile Software Development, Principles, Patterns, and Practices "|http://www.amazon.com/Software-Development-Principles-Patterns-Practices/dp/0135974445] by Robert Martin.
    You probably meant [Agile Software Development, Principles, Patterns, and Practices|http://www.amazon.com/Software-Development-Principles-Patterns-Practices/dp/0135974445] ;-)
    Remember, quotes in link names break the forum ...

  • How can I develop a web application using EJB design pattern?

    I have searched over the web and found quite a lot of tutorials on how to use the EJB design pattern.
    I know that there will be a home interface, EJB object interface and a SessionBean.
    But the tutorials often only cover a single class, this made me unable to get a complete picture of how EJB design pattern can be implemented into a whole system.
    I am now required to devleop an online shopping web application using EJB and JSP page.
    I think I will need to create a lot of classes: Member, ShoppingCart, Product...etc.
    What I want to ask is that, do I need to create a home interface, EJB object interface and a SessionBean for each of these classes?
    I really need some ideas on how to develop this system using EJB + JSP pages.
    Many thanks to you all.

    For every EJB that you want to create, you will need to code a home and remote interface and a bean class.
    You could start getting your ideas here
    http://www.theserverside.com/books/wiley/masteringEJB/
    http://www.coreservlets.com

Maybe you are looking for

  • Illustrator CC Crashes on startup Win 8.1 with plugins

    Happens every time I try to start and then crashes. Have Dell XPS with Win 8.1/

  • Web site hosted video won't play in Safari on MAC.

    I have a web application that runs in a web browser. One of its features is the ability to embed a video clip in a web page hosted on this application. If I create a web page using the HTML5 <video> tag and an H.264 encoded MP4 file video clip, I can

  • How to create a .flv with only audio?

    So what I'm looking to do is have sound play on my landing page...the problem is, I used .fla file and it won't play until the entire thing is loaded. I know how to get progressive play with a flash video file, but I don't know the best way the conve

  • How to change width columns in web layout?

    hello, I have problem with change width columns in web. I can change width column in paper layout and is ok but If I run web layout I get one column very wide and second thin. I cant find where I may this change I find that is no easy. If you want ch

  • [svn:fx-trunk] 9329: Fixing openDuration on Tree.

    Revision: 9329 Author:   [email protected] Date:     2009-08-14 17:07:31 -0700 (Fri, 14 Aug 2009) Log Message: Fixing openDuration on Tree.  The issue was that a call to UIComponent.suspendBackgroundProcessing() wasn?\226?\128?\153t being respected b