Lost Page on when you should use MVC vs when you should use web forms

I read a page last week.  I think it was on MSDN.  It was talking about the relative merits of MVC and web forms.  However, unlike the page http://msdn.microsoft.com/en-us/library/dd381412.aspx,
which merely states the advantages and disadvantages of each format, this page went on to state something like:
You should use MVC:
when building web apps that do this
when you web app needs that
when you are doing the other
You should use web forms:
when building these other kinds of web app
when your web app does this other thing
when your web app does this.
Does anyone know the page to which I am referring?
(Oh and since when did it become impossible to paste anything into a question or reply block in MSDN forums.  This makes it very difficult to paste in page links.)
Also I am not seeing an appropiate forum in my forums dropdown list.  So if a moderator wants to move it to the right forum I would appreciate it.
Edward R. Joell MCSD MCDBA

@Darnie Graceline Selvamary Thangalazar
The first link is not what I was looking for as it tells the difference between MVC and Web Forms but not which is better for what.
The second link does get more into which is better in certain situations but doesn't really analyze each type of project and specify that this is good for web forms and this is good for MVC.  However, it does provide some ways to analyze if your
"situation" would be best served by using web forms and which would be best served by using MVC. 
It specified that if reaction time is an issue then MVC is the answer.  This is good because with our excruciatingly slow network we need apps that take inherantly as little time as possible to load.
I took another look at the link provided by gaurav.  Turns out that link has a link to an article by Dino Espisito which actually has the statement that I referred to above i.e. if your app has a lot of busines data.  After two years, that
is as much as I remember of that page.  So in fact indirectly gaurav found the page I was looking for.
Too bad I did not re-read this link when I started the current project, though.  One thing each of them says is that if your team (in this case me) has not had much experience in handling html elements directly then MVC is not a good fix for them. 
For the last 6 months theis has been a major learning process in using JQuery, AJAX, and MVC to accomplish tasks which I've could have done using server controls and web forms with my eyes closed.  Too bad they don't make MVC so that you can use server
controls with it.
However since this thread is so old and unlike "Whose Line is it Anyway?" the points
do matter. I am going to award the answer to gaurav.  Thanks everyone for providing some very interesting links on MVC.
Edward R. Joell MCSD MCDBA

Similar Messages

  • You cannot drop components on plain HTML documents, only web form

    Hi,
    I have created new page, from page navigation->new page. Added output text components, buttons,text fields, dropdowns, etc. Next day, all the components just disappeared from the JSP page but the JSP source file still has the all the outputText, selectOneMenu,inputText,etc.
    I tried to add new components again but it wouldn't let me to add, instead displays a message "You cannot drop components on plain HTML documents, only web form".
    So I deleted the page, recreated whole page from scratch, after few hours the very same problem.
    I deleted the page again and created the new page from scratch, wrote java code which was working absolutely fine. Next day its the same problem again.
    I am fed up with creating the same page again and again, wasting lots of time. Can some one please tell me whats going on?
    I did search the forum, few people reported the same problem but couldn't the find solution.
    Can some pleaseeeee tell me whats going on.
    Any help will be greatly appreciated.
    cheers
    kush

    Hi runaK,
    thanks for getting back to me.
    Unfortunately, the link dint solve my problem.
    I have already read this link and the cpu time is not my problem( I mean not highest priority for now, I will have look in to it once I solve the drag and drop problem).
    I haven't used getContext() so its not the source of the problem. I din't quite understand the workarround suggested by Eric. Could you please explain in detail about the workarround? and how to do it?
    thanks
    kush

  • Web Form Validation Message Language Setting at Runtime when work in multi lingual environment

    Business Catalyst use the default culture language to display web form validation message.
    When we are in multi lingual environment and not using subdoamin to handle multilingual sites, we found that the validation message did appear in the default culture setting. To make this work, we need to add the below script in our template.
    <script type="text/javascript">
    $(document).ready(function(){               
    var head= document.getElementsByTagName('head')[0];
    var script= document.createElement('script');
    script.src= '/BcJsLang/ValidationFunctions.aspx?lang=FR';
    script.charset = 'utf-8';
    script.type= 'text/javascript';
    head.appendChild(script);
    </script>
    Assuming the template is in french. You can change the lang parameter in the script according to your language.

    After user 1 submits the page, it might not even be committed, so there is no way to have the pending data from user1 seen by user2.
    However, we do have a new feature in ADF 11g TP4 that I plan to blog more about called Auto-Refresh view objects. This feature allows a view object instance in a shared application module to refresh its data when it receives the Oracle 11g database change notification that a row that would affect the results of the query has been changed.
    The minimum requirements in 11g TP4 to experiment with this feature which I just tested are the following:
    1. Must use Database 11g
    2. Database must have its COMPATIBLE parameter set to '11.0.0.0.0' at least
    3. Set the "AutoRefresh" property of the VO to true (on the Tuning panel)
    4. Add an instance of that VO to an application module (e.g. LOVModule)
    5. Configure that LOVModule as an application-level shared AM in the project properties
    6. Define an LOV based on a view accessor that references the shared AM's VO instance
    7. DBA must have performed a 'GRANT CHANGE NOTIFICATION TO YOURUSER'
    8. Build an ADF Form for the VO that defined the LOV above and run the web page
    9. In SQLPlus, go modify a row of the table on which the shared AM VO is based and commit
    When the Database delivers the change notification, the shared AM VO instance will requery itself.
    However that notification does not arrive all the way out to the web page, so you won't see the change until the next time you repaint the list.
    Perhaps there is some way to take it even farther with the active data feature PaKo mentions, but I'm not familiar enough with that myself to say whether it would work for you hear.

  • Web Page Composer - FAQ Web form

    Hello Everyone,
    Hello SDN community,
    This forum thread is intentionally created to collect your feedback and ideas regarding the FAQ Web form.
    With this new Web form you can easily create and manipulate FAQ documents in a structured manner.
    For more information regarding this new Web form and its features adn to download it visit this address: [https://wiki.sdn.sap.com/wiki/display/KMC/CustomizingtheWebPageComposer]
    Your constructive suggestions will help to evolve the Web form further and facilitate the community to create more sophisticated and enhanced versions of this basic reference implementation. Feel free to contribute also your version and discuss in public.
    Here are some basic questions that can guide you:
    1. Does this new Web form help in your particular scenario? How?
    2. How would you rate from 0 to 5 your satisfaction with this particular Web form?
    3. What can be improved in the Web form?
    4. Do you miss something from documentation point of view?
    Explore the new WPC wiki pages - find all the information regarding WPC at one place, download new Web forms, and feel free to contribute.
    [Web Page Composer Wiki|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer]
    Best Regards,
    WPC team @ SAP

    Hi Georgi,
    I was trying to create a FAQ Custom Editor using your How To Guides.
    I am facing a problem as already stated in the thread:
    https://www.sdn.sap.com/irj/scn/thread?threadID=1244125&tstart=0
    To be more specific, initializeFromPageContext function of FAQComponent.java file, @ the line
    question =(TextEdit) context.getComponentForId(Question_ + editorObject.getId());,
    +context.getComponentForId(Question_ + editorObject.getId())+ is returning Null
    Regards,
    JK

  • Web Page Composer - Web Form for exposing iViews and External Web Pages

    Hello SDN Community,
    This forum thread is intentionally created to collect your feedback and ideas regarding the Web form for exposing iViews and external Web pages.
    With this new Web form you are able to specify height and width of the iFrame, in which the corresponding iView/external Web page will be displayed on the particular WPC Web page.
    For more information regarding this new Web form and its features and to download it visit this address:  https://wiki.sdn.sap.com/wiki/display/KMC/CustomizingtheWebPageComposer
    Your oppinon and constructive suggestions will help to evolve the Web form further and facilitate the community to create more sophisticated and enhanced versions of this basic reference implementation. Feel free to contribute also your version and discuss in public.
    Here are some basic questions that can guide you:
    1. Does this new Web form help in your particular scenario? How?
    2. How would you rate from 0 to 5 your satisfaction with this particular Web form?
    3. What can be improved in the Web form?
    4. Do you miss something from documentation point of view?
    Explore the new WPC wiki pages - find valuable the information regarding WPC at one place, download new Web forms, and feel free to contribute.
    [Web Page Composer Wiki|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer]
    Best Regards,
    WPC team @ SAP

    Hello!
    I have installed your component. When I try to create a new component in WPC with this form, portal throws an exception
    Full Message Text
    05:54_30/07/09_0005_21710350
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.nw.wpc.editor.EditorBean.updateDocumentFromContext(EditorBean.java:336)
    at com.sap.nw.wpc.editor.EditorBean.getPreview(EditorBean.java:600)
    at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1802)
    at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
    at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:55)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Do you have any ideas? I am running EP7 SPS 15
    Thanks in advance

  • When I login to my bank, I get the message: 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. Have new MacBook Air with Yosemite. How to solve this problem?

    When I try to login to the website of my bank, I get the following error message:
    403 - Forbidden: Access is denied.
    You do not have permission to view this directory or page using the credentials that you supplied.
    I have a new MacBook Air with OS Yosemite installed.
    What is the problem and how can I solve it?

    Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
    Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
    The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
    Back up all data.
    Double-click anywhere in the line below on this page to select it:
    com.apple.idms.appleid.prd
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
    Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
    The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
    Credit for this idea to Christian Braukmueller of SAP.

  • I lost my ipod and i remotely locked my ipod on the computer using icloud, but when click on find my ipod it says  NO DEVICES, how can i get back to the find my ipod page??? pliz help :(

    i lost my ipod and i remotely locked my ipod on the computer using icloud, but when click on find my ipod it says  NO DEVICES, how can i get back to the find my ipod page??? pliz help

    The only way you will be able to track that iPod is if it is turned on and connected to a wifi network by the person that has it.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • When I use Explored, ussually I diplay my pages in english, but Explore has a feature that you can point any word and it is translated from english to spanish (one one word at the time, not the complete page), does it is available in firefox?

    When I use Explored, usually I display my pages in English, but Explore has a feature that you can point any word and it is translated from English to Spanish (one one word at the time, not the complete page), does it is available in Firefox?

    I do not know the answer but if you look through the Add-ons under [https://addons.mozilla.org/en-US/firefox/search/?q=translation translate] you may find something suitable. There is of course also the well known Google translate [http://translate.google.com/#es|en|choose%20the%20language%20combinations%2C%20and%20can%20handle%20single%20words%0Awith%20some%20odd%20results service]

  • HT1222 I like the new iOS 7 for iphone... But i think it's not a good idea to allow switch the iphone on flight mode when it is locked.. What happens if your iphone is stolen or lost? You couldn't be able to locate it using find my iphone... Can i remove

    I like the new iOS 7 for iphone... But i think it's not a good idea to allow switch the iphone on flight mode when it is locked.. What happens if your iphone is stolen or lost? You couldn't be able to locate it using find my iphone... Can i remove this from the bottom menu?

    And have your phone set to require a passcode before it can be accessed.

  • When trying to open Pages 4.0.1 I get a message stating "Pages cannot be opened because of a problem, check with the developer to make sure Pages works with this version of Mac OS X. You may need to reinstall the application." Using OS X 10.6.8

    When trying to open Pages 4.0.1 I get a message stating "Pages cannot be opened because of a problem, check with the developer to make sure Pages works with this version of Mac OS X. You may need to reinstall the application. Be sure to install any available updates for the application and Mac OS X."
    I've run the software update several times. Pages is located in my iWork '09 folder in Applications. Using OS X 10.6.8

    Delete and reinstall it.
    (104030)

  • Hello, i need help i'm doing experiment on ilab i have managed to put my experiment on the platform but when i try to launch it fails with an error 404 that the page not found. any one with idea of what i should do to solve this problem. thank you

    hello, i need help i'm doing experiment on ilab i have managed to put my experiment on the platform but when i try to launch it fails with an error 404 that the page not found. any one with idea of what i should do to solve this problem. thank you

    hey Sally,
    Can you elaborate on the ilab and what you are trying to do? I have found this page to explain error 404, but I am not sure if it directly applies to  you
    http://digital.ni.com/public.nsf/allkb/D0998D3734926FA08625782300016E40?OpenDocument
    Regards,
    A. Zaatari
    National Instruments
    Applications Engineer

  • When I add pictures into MUSE , do the pictures resize for web quality (And so the page loads fast enough) or do I have to do this using an external software like photoshop, etc. ? Thank You

    When I add pictures into MUSE , do the pictures resize for web quality (And so the page loads fast enough) or do I have to do this using an external software like photoshop, etc. ?
    Also is there any way I can change the contact form email for all of my contact forms at once.
    I have over 100 contact forms and i want to make them reach the same email anyway I can do that without going one by one?

    If you have placed the image in Muse using File > Place and then scaled the image down in Muse while editing, then Muse publishes/exports the scaled down/optimized image in final output. When using as a Fill, the output size depends on the Fitting option you setup in the Fill options.
    As for the contact form email, you would need to specify the email address for each form individually. There is no workflow to edit the same for multiple forms at a time.
    Cheers,
    Vikas

  • HT3231 why do all these pages not tell you where migration assistant is on a mac pro. they all say what to do when you have it however this is of no use if you are unable to find.

    why do all these pages not tell you where migration assistant is on a mac pro.  They all say what to do when it is on however this is of no use if you are unable to find it in the first place.

    In the Utilities folder, which is in Applications. You could also use Spotlight to search for it.
    Matt

  • Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter.  What am I doing wrong?

    Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter.  What am I doing wrong?

    Photoshoponline has a link you can try which web browser are you using?  If may be your browser or that they do not support your camera's raw format.  I received an error tht states try layer.  You should ask them your question Adobe Photoshop is not the problem its their Web application use their  link Pixlr.com Contact Us

  • Hello Apple community... I am trying to combine multiple pdf's into one, using preview, but when I drag the additional pages they show up as separate documents.

    I am trying to combine multiple pdf's into one, using preview, but when I drag the additional pages they show up as separate documents.  When I drag the doc in a line would show up in the past, and if I went above th eline all was good.  It doesn't have a line, and no matter what I try I am having no success.
    Please help!

    According to an Apple Support article, unless there are unforeseen issues
    in file ownership or permissions, the combining of .PDFs should be simple.
    •OS X: Combining PDF documents using Preview - Apple Support
    There are a few variable and similar methods, some change with version
    of OS X in use; some vintage OS X may vary a little in the process...
    A variety of similar topics appear in search results, with terms:
    " mac os x combine pdf into one " such as this page shows...
    https://www.google.com/?gws_rd=ssl#q=mac%20os%20x%20combine%20pdf%20into%20one
    If the system is older than Mavericks there may be other methods to try.
    Suggestions are among linked results in the search. I see a few fair ones.
    •Here's another that offers generally similar suggestions...*  this info looks OK, extra links, do not:
    http://osxdaily.com/2014/06/27/how-to-join-multiple-pdf-files-into-a-single-pdf- document-in-mac-os-x/
    { note: avoid clicking on links to products in * this ^ page, since they likely will not help & may be adware prone }
    If you have a problem after trying other methods, based on an OS X
    your computer is running, post back with more exact information...
    Good luck & happy computing!
    edited

Maybe you are looking for