Difference between n-layer software architecture and MVVM design pattern?

hello everyone,
I am not clear with this concepts of Software architecture pattern and design pattern.
I am developing an wpf application using MVVM. Now, my question is, does MVVM come under n-layered architecture? 
or n-layer architecture and MVVM both are different? 
Regards,
Rakesh.N
Rakesh murthy

"
Now my question is, i want to process the data which i get from database. where should i write that processing logic after getting the data from database? in model classes? or in view model classes?
The model is however the data comes from wherever it comes from.
If there is any processing after you get it then that would be in the viewmodel.
The viewmodel adapts your data to the view.
If it needs any adapting then the viewmodel does that, not the model.
EG here
protected async override void GetData()
ThrobberVisible = Visibility.Visible;
ObservableCollection<CustomerVM> _customers = new ObservableCollection<CustomerVM>();
var customers = await (from c in db.Customers
orderby c.CustomerName
select c).ToListAsync();
foreach (Customer cust in customers)
_customers.Add(new CustomerVM { IsNew = false, TheEntity = cust });
Customers = _customers;
RaisePropertyChanged("Customers");
ThrobberVisible = Visibility.Collapsed;
That logic is in a viewmodel.
in this context , in which layer the viewmodel and model classes are put under in n-tier architecture?
They're in two of the n layers/tiers.
Or they're in one.
Depending on how someone decides to classify a layer or a tier.
There is no absolute definition.
Why would you care?
Hope that helps.
Technet articles: Uneventful MVVM;
All my Technet Articles

Similar Messages

  • Difference between Asset Intelligence 09A report and reports in the Software Metering folder

    Dear all,
    I can not seem to grasp the difference between Asset Intelligence 09x reports and reports in the Software Metering folder. Do they extract conclusions based on the same data and which data are those? I also have come to notice that there are occasional dicrepancies
    between them. Why would this be?

    Hi,
    1. Software metering allows you to create a rule and meter application usage very granular, when it is started, how many times , how long it has been used e.t.c, Asset intellegence doesn't require you to create any rules it will only inventory start/stop
    so you can get reports like "all computers that hasn't started a application in x days".
    2.It depends on the license agreement for that application, but yes you can get how many has started a specific application within a timeframe.
    3.No
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Under LAYER what is the difference between "merge layer" and "flatten Image?"

    Under LAYER what is the difference between "merge layer" and "flatten Image?"

    Merge Layers will combine the current layer with the one below it.
    Flatten image will combine all layers into one composite image..

  • Difference between SAP R/3 , mySap and ASAP

    Hi all
    Please tell what is clear Difference between SAP R/3 , mySap and ASAP
    Thanks in advance

    hi Naresh,
    SAP R/3--
       SAP R/3 is SAP's integrated software solution for client/server and distributed open systems. SAP's R/3 is the world's most-used standard business software for client/server computing.
    R/3 stands for Real Time and 3-tier architecture.
    mySAP --
                In SAP's words "mySAP.com is an open collaborative business environment of personalized solutions on demand"
    In our words, mySAP.com is actually a collection of three things.
    a) The Marketplace is a website where buyers and sellers can register themselves, and then buy and sell from each other.
    b) The Workplace is a piece of software which sits on your desktop, and allows you (after ity is setup correctly) to gain access to all of the systems you use in your company. It is, naturally, tightly integrated with both SAP and the Marketplace.
    c) mySAP.com is also the umbrella name for all of SAP's internet-enabled applications.
    ASAP--
          ASAP (AcceleratedSAP) is a step-by-step methodology for speeding up the implementation of an SAP R/3 system. The components of ASAP, which can be used together or individually, are called accelerators. Accelerators are based on the best practices of SAP customers from around the world and consist of a number of templates, questions, and scenarios that require user input to help the user determine the best way to implement their R/3 system. According to SAP literature, ASAP can reduce the time required to implement an R/3 system by as much as 50%.
    If helpful, reward points...
    Regards,
    ~Srikant.

  • Difference between the TABs  "All Content" and "Discussions" on the new forum?

    Hi,
    Does anyone know the difference between the TABs  "All Content" and "Discussions" on the new forum?  They seem to be the same.  I'm confused.
    Petey

    Petey,
    Though I was part of the forum update beta, there was some that we could not effectively test, plus some aspects (like "Like"), that some liked, but others did not. That sort of thing happens.
    Also, now that we have the full version, and all servers are synced, there will probably be things that the beta testers did not get to experience. We will all be learning, in the process too. Also remember, much of the new forum software was provided by Jive, and though many of us commented (pros and cons), only so much could be addressed. It was not quite like doing a beta on Adobe software, as there was a complete, separate layer in between.
    So far, what I see looks close to what we saw a few weeks (months?) ago. Now, I need to really put the real software through its paces, to see what got changed from then, until now.
    Good luck,
    Hunt

  • What is the difference between SAP NW PI7.1 and PI7.1 EHP1

    We have a customer using SAP PI7.1 EHP1. The application to be deployed
    isdeveloped on SAP Netweaver PI 7.1 SP06.
    We need to know if application developed and transported from PI7.1 is
    compatible with EHP1?
    Below are the Components used by the application .
    1) SSL communication using SOAP adapter
    2) Java mapping , Graphical mapping , XSLT mapping
    3) Customised EJB modules
    4) Adapter framework
    5) ALE layer for IDoc communication from ERP to PI
    6) RFC lookups to PI system and ERP system.
    Questions
    1)Will PI EHP1 be able to communicate with PI7.1 using SOAP adapter ?
    2) What is the difference between SAP NW PI7.1 and PI7.1 EHP1 ?
    Regards,
    Sneha

    Hi,
    EHP Pi7.1 new
    IPv6 Support in SAP Systems (new)
    Async/Sync and Sync/Async Bridge in the JMS Adapter (New)
    High Availability (New)   Locate the document in its SAP Library structure
    Use
    A new concept is available for setting up a high availability environment for SAP NetWeaver Process Integration (PI). To do this, you need SAP Web Dispatcher for load balancing, and you must reconfigure your HTTP, RFC, and RMI connections so that they can be used for load balancing. You must also make various configuration steps in other components of your PI environment.
    [Level 4: Document: XML to Text Conversion Module (New)] XML to Text Conversion Module (New)
    Message Packaging (New)
    Monitoring Milestones (New)   Locate the document in its SAP Library structure
    Use
    You can use the new scenario variant Monitoring Milestones of the Business Process Management scenario to define a monitoring process that can monitor events from different applications. A monitoring process can subscribe to events from SAP or non-SAP systems.
    check  given Link
    http://help.sap.com/saphelp_nwpi711/helpdata/en/61/8c3842bb58f83ae10000000a1550b0/frameset.htm
    Regards,
    Amit

  • What is the difference between j2sdk1.4.1_03/jre and j2re1.4.1_03?

    Hi,all!
    What is the difference between j2sdk1.4.1_03/jre and j2re1.4.1_03?
    Why there have two JRE? Which one we should use?

    JRE - Java Runtime Enviroment, what you stick on the end-user computers - http://www.java.com
    SDK - Software Development Kit (aka JDK - Java Developer Kit) - http://java.sun.com

  • Difference between ALC Forms ES module and ALC Output ES module

    Hi,
    I would like to know if anyone has implemented just the Adobe Output ES module in any of the projects.
    I am into a project where we are integrating ALC with one of the insurance application for document generation and correspondence generation.
    Confused whether to go with Forms ES module, Output ES module or both?
    Can someone please throw light on these modules? I know there is info on the website but would like to know the advantages and disadvnantages of using either one of the module or both?
    If just Output module is used how will the insurance application interact with ALC?

    Jianghuai,
    The link you have gotten from Ivan provides great information sources.
    Note that those are not four different distributions, meaning linux-based operating systems, all are RHEL -- check out the FAQ, items 1 and 2. I would say main differences between family members are licensing and support offerings or subscriptions. AS, ES for "server" and WS, Desktop for the "desktop".
    "ES is licensed for servers with up to 2 CPUs and 16GB of main memory while AS is licensed for servers of any size and any architecture."
    Oracle products are generally not supported on the desktop variants.

  • Difference between SAP-CRM 2007 UI and previous version UI.

    hi,
    anyone knows the differences difference between SAP-CRM 2007 UI and previous version UI.
    anykind of links or files are helpful.
    regards.
    raman.

    Hi,
    actually quite a late response and I think all the rather technically focuses comments have already been given, incl. the link to a really good slide deck, that explains all the technical architecture details on what exactly we did.
    From an end user perspective some other statements on what we did:
    (1) From an information architecture and visualization perspective we acted based on feedback from our customers in the last years, which led to some restructuring of the screen, e.g. moving the navigation bar from the top area of the screen (horizontal) to the left hand side --> sounds simple but users tend to have problem seeing thing at the top of the screen. We also decided to arrange the information for e.g. an account or an opportunity not in a tab oriented format. Again usability tests in CRM had shown that users often find it hard to see and understand that tabs contain additional information. We now show the details in assignment blocks below the header information in a scrollable format. Vertical scrolling is a behavior of a screen that most users know from their internet experience. Those are just two exampels of what we did in this area
    (2) We also have put a large focus on well known web behaviors, like drag & drop and personalization in general, knowing that on the one hand side, no matter what standard UI we deliver, users tend to adapt it exactly based on their needs and wishes. So you will find really easy to understand personalization options everywhere in the new CRM Web Client UI. To achieve this we used lots of web 2.0 techologies that enable especially these easy interactive capabilitites.
    (3) Finally, and this relates directly to the arguments mentioned in (2) we focused as well on really easy UI configuration. Again, in every customer project user interface changes are made, to adapt the SAP default to the customers needs. here we invested a lot to make the 60-80% most common UI changes done in projects as easy as possible, that even non-technical people can generally do it (like Power users).
    Hope this clarifies some arguments what from the users point of view has been done and what the advantages are.
    When you follow the same link as mentioned by Nadine above, you can also find a presentation UI Concept, which explains all the details rather from a users perspective.
    Best regards and enjoy the new UI ..and every feedback is very much welcome, only with your feedback we can improve the solution even more.
    Ingo

  • Need Detailed description of the differences between Adobe Flash Player Plugin and Shockwave Flash

    For many years now I have been in a quandry over Adobe Flash (plugin) and Shockwave flash. The quandry is also somewhat exacerbated by the variety of subsetted versions supplied for each.
    You know, it is sorta like the name and namespace dilemna provided by Adobe's continuing use of "Macromedia" when sometimes referring to, or distributing, their products... eg still creating Macromedia folders during installs. 
    I have been told that Shockwave Flash actually contains the Flash plugins. If that is the case should I be upgrading to a newer Shockwave Flash version if  Adobe announces or (as recently occurred) denounces
    a newer version of Adobe Flash.
    Will you please provide me with details for, and distinctions between, these two products?
    Hoping you can respond in a flash ... er... two flashes.
    Thanks     

    OK Thanks I silly-goofed in describing what I meant in my initial post. I needed to say what's the diff between Adobe Flash (=Shockwave Flash) (plugin) and Adobe Shockwave Player. 
    So will you please detail the differences between Adobe Flash (=Shockwave Flash) and Shockwave Player?
    I have been told that Shockwave Player actually contains the Adobe Flash (=Shockwave Flash) plugins. Is it both
    Flash Player ActiveX control for Internet Explorer
    Flash Player plugin for all other browsers
    that are contained therein?
    If the above is indeed the case, should I be upgrading to a newer Shockwave Player version if  Adobe announces or (as recently occurred) denounces a newer version of Adobe Flash (=Shockwave Flash) .
    Here's where I am headed will all this:
    I have been asked by one of your coworkers Chris Campbell,  to prepare an Adobe Bug report and paste back to the Adobe Forum thread:
    http://forums.adobe.com/message/4428382#4428382
    Since I have Adobe Shockwave Player 11.6.4.634 and Adobe Flash (aka Adobe Shockwave Flash) ver 11,1,102,55 currently installed and since
    Adobe Flash 11.2.202.235 will not install without a "...The  procedure entry point ... kernel32.dll ..." error for my Windows 2000 Professional configuration
    I want to uninstall Adobe Flash (=Shockwave Flash) ver 11,1,102,55 and the then further troubleshoot the MLB.TV media player "abnormal spinning circles" problem.
    Will the MLB NexDef detector actually detect the "Flash version inside Shockwave player"?  Will the MLB.TV NexDef software actually work nicely with Shockwave Player Flash?   

  • HT1604 Is there any difference between Mac OS Extended Format and ExFat?

    Is there any difference between Mac OS Extended Format and ExFat?  I read in a blog that the ExFat was a good way to format an external drive because it avoided many of the pitfalls of the other formats, as long as it is supported by the operating system.  I tried to format my new Seagate drive, and got an invalid option error.  I was able to format it in Mac OS Extended format.  Can you please tell me if this is similar to ExFat.  Thanks.

    The Mac OS format can only be natively read to and written to by a computer running the Mac OS. This creates a problem if the user wishes his external, or other drive to have seamless compatibility between two different OS's, such as Windows and Mac. Yes, there are software solutions that enable a Windows PC to work with a drive formatted as Mac OS, but it gets complicated if you wish that drive to have compatibility "on the fly" with any PC you may encounter.
    It turns out that the format known as ExFAT is able to be natively read by both a Mac and a PC, without running any additional drivers on either machine. ExFAT also doesn't have some of the limitations of FAT32, which both OS's will also read/write.
    ExFAt is not perfect though. Formatting the drive as Mac OS Extended has some advantages on a Mac. First, it is the only format that permits all functionality of the Mac OS, such as using the drive for Time Machine.
    ExFAt is often thought of as the best middleground for an external partition/drive that needs to have easy cross platform compatibility between a Mac and  PC running Vista or Windows 7.

  • Difference between SAP Learning Solution & Training and Event Manag

    Hi All,
    Can anyone tell me the Difference between SAP Learning Solution & Training and Event Manag.
    Which approach would be recommended for the Training and Event Management implementation..
    Pls let me know the pro's and con's of both the approaches.
    Regards
    Vijay

    Hi Vijay,
    Training and Event Management (now called <b>Training Management (TEM)</b>, sometimes referred to as PE in SAP documentation). Employees/Learners were able to book courses and view their training history via Employee Self-Service, and supported the full suite of classroom training administration functions.
    SAP’s current learning software is SAP’s Learning Solution (LSO). Companies still can use TEM to administer classroom-only training or they can choose to leverage LSO functionality to deliver classroom training as well as Web-based training, virtual classrooms, blended learning, and collaboration to their employees.
    Training Management (TEM) serves as the foundation of SAP’s Learning Solution (LSO). However, LSO includes much new functionality such as administering and delivering Web-based training, virtual classrooms, curricula, and online tests. The entire LSO consists of SAP Authoring Environment, Content Management System (CMS), Learning Management System (LMS), Learning Portal, Content Player, Offline Player, Business Intelligence (BI), and the Collaboration functionality.
    Regards,
    Dev

  • I recently received a  WD My Book Studio external Hard drive and am installing it but can't figure out what the difference between wd turbo installer  64 and wd   turbo installer is.  Can someone tell me.  Thanks in advance for all your help.

    I recently received a  WD My Book Studio external Hard drive and am installing it but can't figure out what the difference between wd turbo installer  64 and wd   turbo installer is.  Can someone tell me.  Thanks in advance for all your help.

    Oh ok, well that was what the test said prior to reformatting the hard drive. Now, it doesn't find any trouble no matter how many times I run it. That's what has me so confused, everything seems to check out and yet...I can't do anything, not even install the software!

  • What is the performance difference between an Oct 2011 i5 and a June 2012 i7 in performance if they both have 16GB RAM

    what is the performance difference between an Oct 2011 i5 and a June 2012 i7 in performance if they both have 16GB RAM

    At least. The Core i7 can drive up to 8 concurrent 64-bit threads, more than an i5. Plus the 2011 models used the Sandy Bridge family of Intel chips, whereas the 2012 are the latest Ivy Bridge, that uses a much faster, less latency architecture.

  • What is the difference between merge down, merge visible, and flatten image?

    Hello, what is the difference between merge down, merge visible, and flatten image?

    Hi there,
      Merge Down combines the layer below the currently selected layer and the selected layer together into one singular layer. The layer name will change to the name of the layer below the selected layer. In the screenshot below, I chose to Merge Down from the layer "Circle Top". As you can see, afterward I have a new layer named "Circle Below" that has both layers combined.
      Merge Visible will merge all visible layers into one singular layer. Merge Visible will ignore any layer that has it's visibility toggled to "Off".  In the example below, I have 4 layers, with the layer "Circle Below"'s visibilty set to "Off". After I choose Merge Visible, all of the layers are combined excluding "Circle Below".
      Flatten Image will combine all of the layers into one "flattened" image or layer. You will be prompted to choose whether or not to discard hidden layers before doing so. If you choose "Ok" to discard hidden layers, Photoshop will ignore any layer with it's visibility toggled to "Off". If you choose "Cancel", Photoshop will cancel the flattening process. If you want the hidden layer included in the flattened image, you will have to toggle it's visibility to "On". The following screenshot is what a flattened image's layer pallete looks like:
      I hope this helps! If you need further clarification on this let me know! : )

Maybe you are looking for

  • Export a PDF and convert the vector-graphics to pixel-graphics

    Hey, i want to export a PDF out of indesign CS3 and convert all vector-graphics to pixel-graphics. Is there any solution, maybe a plugin, to do this? Thanks!!!!

  • Quicktime on a Web Page ActiveX

    I cannot get this webpage to play Quicktime on Windows: http://www.lionsgatebethesda.com/virtualtour_quicktime.html Is there something I am missing in the code? Why on earth did Windows do that stupid ActiveX thing? -Kirk

  • Help centering web pages in all browser windows

    I have searched around and tried out a few code suggestions for getting web pages to be centered in all size browser windows, but none of them seem to work. I am starting to wonder if it is because I used tables to make up my pages- the background st

  • Automatically add email contacts to new directory users?

    Mac OS X.6 Server.  Almost all users utilize the webmail interface. Is there a way to automatically add all current user email addresses in Workgroup Mgr to new users when created?

  • Application Error AppleMobileDeviceHelper.exe

    ITunes when I upgraded to 10.5 and found the error. Even doing nothing, as long as the open ITunes will not stop this error pops up. My operating system is Windows XP sp3. I try to uninstall all Apple software, then install the latest version of ITun