What is better/easier  GUI Interface and Code

I'm trying to write a GUI interface that will constantly update a bunch of variables with whatever the user inputs. Is it better to make a GUI and then try to pass the updates back to other underlying code which is in seperate Classes and methods or is it better to combine the two with the updates right in the GUI code itself.
Right now I have made the basics of the GUI but I haven't really implemented any underlying code (I've made the robot but I don't have the servos to make it move -- as an analogy). Comments?

Ideal system design has separation between the view and the underlying data model. Preferrably there is a 3rd intermediary, a controller. That's the MVC design pattern. However, how far you implement that pattern depends on the purpose of the program and the complexity of the data model. A simple program you can probably just implement it all right there in the GUI. It won't follow proper software development principles, but we have those so we can deal with large, complex systems. Another thing to consider is what the user input is used for. If it is not required beyond the GUI then I'd say put it in the GUI (since iot really is part of the GUI). But if it's to be used somewhere else, pass the data to the model.

Similar Messages

  • Whats the difference between an INTERFACE and a CLASS?

    Whats the difference between an INTERFACE and a CLASS?
    Please help.
    Thanx.

    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A31&qt=Difference+between+interface+and+class

  • What is the difference between Interface and Conversion?

    Hi friends,
       Can any one teel me What is the difference between Interface and Conversion in detail.
    Rewarded with points
    Thanks & Regards,
    Naren.

    Hi,
       interface can be outbound i.e writing data to
       application server using open dataset,transfer
      or downloading data (gui_download)
       inbound -> reading data from application server using
                  open dataset,read dataset,uploading data
                  using gui_upload.
       conversion:BAtch data communication method
                  where legavy data is uploaded in SAp.
    Regards
    Amole

  • What is the table for catalogs and codes complete list???

    Dear Experts,
    How to retrieve the total list of catalogs and codes by using table??
    can any one give me the table name to retrieve the complete list of catalogs and codes ??
    Please do the needful.
    Thanks ,
    Sunil Boya

    Sunil,
    See this document. Catalog Profile and Catalogs & Codes
    If you see this join picture you'd understand that the answer to your question is tables: T352C, QPGR, QPCD.
    If you are looking for individual tables then
    VIQMFE - for Object part and Damage
    VIQMUR - for Causes
    VIQMSM - for Tasks
    VIQMMA - for Activites
    QPGT - for Code Group texts
    QPCT - for Code texts
    If you want to know more you may ask.
    Best of Luck
    Jogeswara Rao K

  • What's exact meaning for interface ,and where we use this interface

    hi experts,
    i have been asked what is interface

    Hi
    Interfacing is connecting two or more different entities. In our case, it is connecting one or more systems with SAP. Now extending our previous example, you are replacing some legacy applications but there are some applications that you don't want to replace yet. You need to somehow pass data back and forth between SAP and these remaining systems. Data may be going one way or the other way or both ways. You will still need to do some data transformations/translations etc to make the data understandable to the receiving system. This will continue as long as you want to keep the systems running alongside SAP.
    In short, conversions are written to load data into SAP onetime. These are typically file based.
    Interfaces are written to exchange/update/send/receive data between SAP and other systems on an ongoing basis. These can be in many forms, file based, idoc based, real time(business connector, XI etc are useful in this), xml, and the list goes on.
    Reward me if its helpful
    Ravi

  • ODI:What is the difference between Interface and Interface IN

    when we use Interface IN and Interface OUT

    Hi,
    Trying to help you.
    I wasnt used this extensively. Did u had a look at Page 23 (Generate Interface IN/OUT)of the below document?
    http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/documentation/oracledi_users.pdf
    As long as i know, this will automatically create interface for the Data store you want to.
    Thanks,
    Guru

  • Help in report UI and code

    HI Experts  ,
    I need to create report and i need to help for GUI aspects (i want it to be looking nice ).
    in the report i have 3 options (i don't know if radio button is the best way ) .
    1. Read user attributes
    2. create user attributes
    3. create user values
    if user choose to read attributes (which is defult ) the other option are should be deactivated ,
    but when user choose to create he can choose one of the option or either both option ( 2,3 ) 
    i need for that i guess 3 buttons .
    what is the best why to do that from GUI aspects ,and code will help
    I read lot of post on the forum but i get confused
    Regards
    Chris

    HI ,
    I am working to do that but i am facing some issue.
    when i create TM i want to add new fields to the screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: read RADIOBUTTON GROUP g1 USER-COMMAND u1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 3(15) text-001.
    PARAMETERS  cre_zm  RADIOBUTTON GROUP g1  .
    SELECTION-SCREEN COMMENT 21(30) text-002.
    PARAMETERS  cre_tm  RADIOBUTTON GROUP g1.
    SELECTION-SCREEN COMMENT 54(30) text-003.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1 .
    This is the code that i add
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-group1 = 'M1'.
          screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF cre_TM = abap_true.
          IF screen-group1 = 'M1'.
            screen-active = '1'.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    START-OF-SELECTION.
    the problem is that when i choose also create ZM it the field appear ,
    what i miss here?
    Thnaks
    Chris

  • ABAPer responsibility in Interface and Incoming Idocs

    Hello All,
    Could any body please explain me what is ABAPers responsibilitis in Interfaces and Incoming Idocs.
    Case: We are getting an idoc(inbound) in our system to create sales order so please let me know in this case what would be my roles and responsibilities as an abaper in detail..
    Thanks to reply at the earliest..
    If you would like to share some documents then here is my email id: [email protected]
    Thanks,
    Devasing.

    Hi,
    An ABAPers role in this case could be incase any enhancements are needed, this is if all the settings for the ALE are going to be handled by an ALE consultant.
    In this case if some consumization needs to be done like enhancing the existing IDOC for creating a sales order, then an ABAPer would come into picture.
    Thanks & Regards,
    Vanita M.

  • ITunes DEMANDS a new gui interface... what's with the Excel spreadsheet?!

    So does anyone else agree?
    I'm sick of this LIST thing for my songs. Sure, I can search around for album names and catagory stuff, but I want to custom browse my library VISUALLY, INTERACTIVELY. Perhaps by cover art, or custom art... ALMOST ANYTHING other than SOME DUMB, BORING, SUPER-LONG (now) LIST.
    Other than my vinyl collection, I intend to live in the digital music world. How can the same people who SPEARHEADED the whole gui thing, and visual thing, and icon thing, not come up with anything better than a LONG LIST OF SONG NAMES?
    Does anyone know if Apple (or anyone else writing shareware) is developing or EVEN THINKING of developing / spearheading a GUI for the future of music listening?
    If they are not... I'll tell you, something has gone wrong over there.

    Nodger:
    The other posters are correct - this is not a complaint forum. However, I would still like to offer some constructive advice.
    Stop using the Library as your primary sort and find too. Instead, create and use playlists.
    Making album or artist based playlists is laughably easy - iTunes is even smart enough to title them for you. Select all of the songs (or even some of them) from the same album, and from the file menu, select New Playlist from Selection. iTunes will automatically generate a playlist with the title of the album. Select a bunch of songs from the same artist (the ID3 tag for artist has to be identical in all of the tracks - same with album), and do the same thing, Voila! You've got a playlist with the name of the artist.
    If this doesn't float your boat, then I don't know what else will. You can create infinite number of playlists, smart or dumb - so why use the library - that big long list of song names, to locate anything.
    Lita

  • What is diff b/w abstarct and interface

    what is diff b/w abstarct and interface in real time where we come across, give a best real time example

    I think there have been lots of threads in this forum discussing interfaces and abstract classes.
    http://forum.java.sun.com/thread.jspa?forumID=256&threadID=389830
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=5120074
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=499077
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=546668
    Interfaces define a contract for what an implementing class should provide. Abstract classes do the same but they can also provide some common part of the implementation.

  • What is the diffrence between My Runnable Interface and Java Runnable

    Hi folks
    all we know that interfaces in java just a decleration for methods and variables.
    so my Question is why when i create an interface its name is "Runnable" and i declared a method called "run" inside it.then when i implements this interface with any class don't do the thread operation but when i implement the java.lang.Runnable the thread is going fine.
    so what is the diffrence between My Runnable Interface and Java Runnable?
    thnx

    Hi folks
    all we know that interfaces in java just a decleration
    for methods and variables.
    so my Question is why when i create an interface its
    name is "Runnable" and i declared a method called
    "run" inside it.then when i implements this interface
    with any class don't do the thread operation but when
    i implement the java.lang.Runnable the thread is going
    fine.
    so what is the diffrence between My Runnable Interface
    and Java Runnable?
    thnxClasses and interfaces are not identified by just their "name", like Runnable. The actual "name" the compiler uses is java.lang.Runnable. So even if you duplicate the Runnable interface in your own package, it's not the same as far as the compiler is concerned, because it's in a different package.
    Try importing both java.util.* and java.awt.* (which both have a class or interface named List), and then try to compile List myList = new ArrayList();

  • Better privecy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers?

    Question
    better privacy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers? edit
    Details

    As a temporary workaround, I believe this Adobe management page allows you to clear your "Flash cookies": [http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html Adobe - Flash Player : Settings Manager - Website Storage Settings panel] (hosted on macromedia.com -- Macromedia was the original developer of Flash).
    Regarding the script error, if I'm reading the script correctly, it is related to accessing your Flash cookies directory. It seems the publisher's support forum is not currently available for searching, but that might be a good next step.
    In the meantime, could you check whether the script has the correct location for your Flash cookies directory? If you can't access Tool > BetterPrivacy, you could check here:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''bpr''' and pause while the list is filtered
    (3) There should be a bolded setting named '''extensions.bprivacy.DataDir''' which looks approximately like the following:
    C:\Users\''yourWindowsUsername''\AppData\Roaming\Macromedia
    Do you have a similar value? If you paste the path used by BetterPrivacy into a Windows Explorer window, does it open? Also, click a couple levels in the folder, can you see:
    Flash Player \ #SharedObjects
    If the value is wrong, right-click the wrong value and choose Reset. BetterPrivacy should update the value the next time you try to access it.
    If the value is blank, you could try inserting a sensible value and see whether that helps.
    Any luck?

  • What's the difference between Aurora and Beta?

    what's the difference between Aurora and Beta?

    The difference between Beta and Aurora is '''1'''. If you have to ask what Aurora is, you shouldn't use it.
    The current release version is Firefox 6.0, the Beta is 7.0, Aurora is 8.0, and Nightly is 9.0.
    When Firefox 7.0 is released in 4 weeks, 8.0 will be the Beta version, Aurora will be 9.0, and the cutting edge Nightly development version will be 10.0.

  • What is better Mac Mini or Mac Pro and 4K 40" screen or iMac 5K for work with Exel

    I am working on Macbook pro retina for around 16 hours a day,  it is ok but the screen is to small. I am opening about 25 - 30 EXCEL windows, 20 - 25 safari windows at the same time. Excel windows are small, they only show 40 rows and S column   Now I am considering buying  iMac 5k ( but the screen is only 27", however a very high resolution but I think that fonts and digits displayed may be too small ). I am also considering Mac Mini or Pro with 40" 4K TV ( 4k computer monitors are 27 - 31" , so better idea would be purchasing iMac 5k ) . The problem is that 40 - 42" TV don't have Display Port ( I can't find  it anywhere )
    Please help me to choose what would suit my needs better. I need large screen to work comfortably with an Excel sheets.  What is better? Mac Mini or Mac Pro and 4K 40" screen or iMac 5K for work with Excel ?. The other problem I have is that when I spend  16 hours at work with retina macbook , my eyes are ok. Using the  30'' Dell screen 2560/1440 my eyes are tired after 2 hours.
    Thanks for your help on advance
    Best regards
    David

    Currently you can only get 4 K at 30 Hz via HDMI. Some users have reported jerky curser movement because of the 30 Hz.
    I would go for the 5K iMac. You can add a second screen at 4K.
    FaceTime HD camera
    Simultaneously supports full native resolution on the built-in display and up to 3840 by 2160 pixels on an external display
    Support for extended desktop and video mirroring modes
    The Mac Mini supports:
    Support for up to two displays at 2560 by 1600 pixels, both at millions of colors
    Thunderbolt digital video output
    Native Mini DisplayPort output
    DVI output using Mini DisplayPort to DVI Adapter (sold separately)
    VGA output using Mini DisplayPort to VGA Adapter (sold separately)
    Dual-link DVI output using Mini DisplayPort to Dual-Link DVI Adapter (sold separately)
    HDMI video output
    Support for 1080p resolution at up to 60Hz
    Support for 3840-by-2160 resolution at 30Hz
    Support for 4096-by-2160 resolution at 24Hz
    The 2013 Mac Pro can use three and more displays:
    Mac Pro (Late 2013): Using multiple displays - Apple Support
    I would go for multiple screens

  • Hi. im ipad and ipohe user. now i want to buy my first macbook. i need to know what is better for me: macbook pro 13´´ or macbook air 13´´?? or another??

    hi. im ipad and ipohe user. now i want to buy my first macbook. i need to know what is better for me: macbook pro 13´´ or macbook air 13´´?? or another??
    i will not move it frecuently from home because i always have with me the iphone and sometimes the ipad.
    im looking apple store online because im trying to buy it refubrished (im from argentina and travel to NYC next month)...
    please i hear you...!

    Light weight basic needs, power miser - MacBook Air (glossy screens)
    Semi-light weight basic needs, more storage, DVD drive, hot machine (no 3D gaming) - 13" MacBook Pro (glossy screens)
    Bit heavier, pro needs, 3D gaming, cool machine, power hungry, - 15" MacBook Pro  (anti-glare screen option, recommended)
    Same as above, larger screen for HD video, cool machine,  power hungry, 17" MacBook Pro (anti-glare screen option, recommended)

Maybe you are looking for